Incorrect image height in output file (with +SR/+ER options) (Message 1 to 3 of 3)
From: David Bucciarelli
Subject: Incorrect image height in output file (with +SR/+ER options)
Date: 10 May 2004 05:40:00
Message: <409f4df0$1@news.povray.org>
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.
Thanks,
David Bucciarelli
From: Christoph Hormann
Subject: Re: Incorrect image height in output file (with +SR/+ER options)
Date: 10 May 2004 05:55:02
Message: <c7njdv$42a$1@chho.imagico.de>
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.
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 01 May. 2004 _____./\/^>_*_<^\/\.______
From: David Bucciarelli
Subject: Re: Incorrect image height in output file (with +SR/+ER options)
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