POV-Ray : Newsgroups : povray.beta-test.binaries : Incorrect image height in output file (with +SR/+ER options) : Re: Incorrect image height in output file (with +SR/+ER options) Server Time
6 May 2024 02:15:00 EDT (-0400)
  Re: Incorrect image height in output file (with +SR/+ER options)  
From: David Bucciarelli
Date: 10 May 2004 08:03:57
Message: <409f6fad@news.povray.org>
Christoph Hormann wrote:
> David Bucciarelli wrote:
> 
>> The result of the following command "povray +W100 +H100 +SR0 +ER50 +FP 
>> +Otest.ppm test.ini" is an incorrect image.
>>
>> The header of the PPM file is:
>>
>> P6
>> 100 100
>> 255
>> [...]
>>
>> but it includes only 50 rows. The height of the image file should be 
>> 50 instead of 100.
> 
> 
> This is as intended, otherwise you could not append to the image file in 
> a continued trace.  Also it has been this way in all previous versions 
> of POV-Ray and not just 3.6.

Mmmm, I understand your point however it is strange behavior because 
opening the "test.ppm" file with xv, gimp or Java ImageIO API fails or 
reports errors. Anyway I understand that this behavior is required by 
the "+C" option.

Thanks anyway,
David Bucciarelli


Post a reply to this message

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