Dear all,
I am looking for some kind of solution which will allow to read the image file
partially - let's say to several FIBITMAPs. I need to copy image data to the
secondary object so currently I need to handle double size of image in RAM so
for big images arroung 1GB size app uses to much resources and crashes.
Basically I search for idea to provide a better memory handling for large
images.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FreeImage was never targeted to handle very large images. All images handled
by FreeImage are loaded entirely, so that you must have enough memory
available in order to process your images.
Another solution is to use the VIPS library : it is especially targeted to
handle very large images. See http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS
Hervé
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I am looking for some kind of solution which will allow to read the image file
partially - let's say to several FIBITMAPs. I need to copy image data to the
secondary object so currently I need to handle double size of image in RAM so
for big images arroung 1GB size app uses to much resources and crashes.
Basically I search for idea to provide a better memory handling for large
images.
Hi,
FreeImage was never targeted to handle very large images. All images handled
by FreeImage are loaded entirely, so that you must have enough memory
available in order to process your images.
Another solution is to use the VIPS library : it is especially targeted to
handle very large images. See
http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS
Hervé