|
|
Hi,
first off, since I'm new to POVray, I want to thank all who
did this great job.
Now my 1st cent. There's a bug when reading the header of a
binary PPM. If the first pixels have color values of 32, the
fscanf() for the pixels maxval eats up those color values and
POVray later reports an error reading PPM data.
In the PPM binary format (magic P6), only one whitespace
after the maxval should be read. The next following byte is
the RED value of the upper left pixel.
This happend under Linux gcc-2.8.1 glibc-2.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwi### [at] debiscom (Jan Wieck) #
Post a reply to this message
|
|