POV-Ray : Newsgroups : povray.general : Maximum Resolution of Renders? : Re: Maximum Resolution of Renders? Server Time
30 Jul 2024 00:18:07 EDT (-0400)
  Re: Maximum Resolution of Renders?  
From: Warp
Date: 5 Oct 2010 13:08:34
Message: <4cab5b92@news.povray.org>
Le_Forgeron <lef### [at] freefr> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.