I'm wondering whether it's possible to create very large image files with FreeImage without requiring large amounts of memory. For example, when I use LibTiff.net, I am able to create large TIFF files (like a 2GB file with a resolution of 25000x25000) by saving one scanline at a time. For that, I feed the encoder with RGB source data for one scanline at a time. Even though the file is large, total RAM usage doesn't exceed 20MB or so.
Can I do the same thing with FreeImage? Or does it always load all pixel data into memory (and in my case, that would require several gigabytes and exceed the limitations of many systems.)
Individual images (or pages) must fit into RAM. Multi-page tiffs are cached to disk, however.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.