POV-Ray : Newsgroups : povray.general : Povray writes wrong PNG image size info to partially rendered images : Re: Povray writes wrong PNG image size info to partially rendered images Server Time
5 Nov 2024 13:23:53 EST (-0500)
  Re: Povray writes wrong PNG image size info to partially rendered images  
From: Warp
Date: 1 Apr 2003 13:14:06
Message: <3e89d6ed@news.povray.org>
Thorsten Froehlich <tho### [at] trfde> wrote:
> In short: Nowhere is ever said a partial image is good for anything but a
> continued trace.  And the image size is required prior to read the image.
> This is how all image formats work, and how all image formats are output in
> POV-Ray.

  Many image formats (I don't know if PNG does, but I would be surprised
if it didn't) support specifying that the actual image data is smaller
than the specified image size. In this case the dimensions of the actual
image data and its location on the image are given (besides the regular
image dimensions).
  I wonder if this could be a nicer solution.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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