|
|
This infamous 64-byte PNG doesn't open in POV-Ray using your code, giving
the output "Error reading PNG image". A regular PNG behaves correctly. What
can I deduce from this?
--
Regards,
Sander
Mark Wagner <mar### [at] gtenet> schreef in berichtnieuws
388e82a2@news.povray.org...
>
> Bob Hughes wrote in message <388e49c2@news.povray.org>...
> Try opening the corrupt image file in POV-Ray using the following code,
> replacing "garden.png" with the name of your image file to see if LibPNG
can
> handle the image. It may be that ACDSee's implimentation of the PNG
> standard is at fault, in which case POV-Ray should be able to open the
image
> correctly, or it may be that ACDSee, like many other programs including
> POV-Ray, is having trouble with an image with a width or height of zero.
>
> Mark
>
> global_settings{assumed_gamma 1}
>
> plane{z, 0 pigment{image_map{ png "garden2.png" once interpolate 2 }}
> finish{ambient 1.0 diffuse 0}}
>
> camera{
> location <.5,.5,1>
> look_at <.5,.5,0>
> orthographic
> up y
> right x
> }
>
>
Post a reply to this message
|
|