|
![](/i/fill.gif) |
Le_Forgeron <lef### [at] free fr> wrote:
> and keep in mind that when writing the final file,
> you need yet another chunk because most libraries use a memory approach
> too (but it is usually only 3 or 4 bytes per pixel), even if they
> compress later the output before reaching the disk.
Most image format read/write libraries support reading/writing the image
in small portions at a time, for this precise reason. For example, pnglib
only requires a few kilobytes of RAM to write even huge PNGs, and you can
feed it pixel data in small groups.
So converting the image to 8-bit-per-component RGBA and writing to PNG
shouldn't be the problem (because the conversion can be done a few pixels
at a time).
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |