POV-Ray : Newsgroups : povray.binaries.programming : ppm.cpp patch : Re: ppm.cpp patch Server Time
28 Mar 2024 05:03:30 EDT (-0400)
  Re: ppm.cpp patch  
From: Christoph Hormann
Date: 25 Jan 2003 07:30:59
Message: <3E328383.AF4EAC00@gmx.de>
PoD wrote:
> 
> As reported in p.g, POV-Ray 3.5 does not read PPM files properly.
> The proper format is
> P6
> width height
> max_value
> data
> 

Just for the record, the only rule for spacing in the header of a ppm is
that between the values there is one or more whitespace (before the data
in binary ppm's only one whitespace is allowed).

Concerning your patch - i have not tested it but i never had problems
reading ppm's with POV-Ray.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 31 Dec. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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