Hi
I recently stared to use MagickImage and it's great
My use is simple: convert jp2 files to tiff with compression of JPEG
The problem is that the jp2 are big and can be up to1.5 GB
When I create object from 250 MB image the RAm can reach to 5.5gb
I use 64but version cause I don't want to get overflow exception but afraid that bigger images will cause it
So I wanted to know if you can use the MagickImage to convert image without create the object and than convert but instead to "tell" the program to convert the image in the path and than it will access it and convert it using streaming or whatever but in a way that don't overflow the ram.. In that way I Believe there will be no size limit for the file.
Thank you!
Comments: ** Comment from web user: dlemstra **
I recently stared to use MagickImage and it's great
My use is simple: convert jp2 files to tiff with compression of JPEG
The problem is that the jp2 are big and can be up to1.5 GB
When I create object from 250 MB image the RAm can reach to 5.5gb
I use 64but version cause I don't want to get overflow exception but afraid that bigger images will cause it
So I wanted to know if you can use the MagickImage to convert image without create the object and than convert but instead to "tell" the program to convert the image in the path and than it will access it and convert it using streaming or whatever but in a way that don't overflow the ram.. In that way I Believe there will be no size limit for the file.
Thank you!
Comments: ** Comment from web user: dlemstra **
The SetCacheTreshold method will be replaced by the ResourceLimits class in the next release. This will provide you with better settings. You don't have to worry about using too much memory. When you use too much memory ImageMagick will switch to the disk cache and read/write your pixels from there. The only problem could be the size of your disk. Next time please ask your question here: https://magick.codeplex.com/discussions instead of creating an issue.