POV-Ray : Newsgroups : povray.bugreports : Problem reading incomplete png images Server Time
13 May 2024 21:05:46 EDT (-0400)
  Problem reading incomplete png images (Message 1 to 1 of 1)  
From: Christoph Hormann
Subject: Problem reading incomplete png images
Date: 22 Jan 2003 01:40:50
Message: <3e2e3cf2$1@news.povray.org>
POV-Ray has problems using incomplete png images (like generated with
partial/interrupted renders) in image maps, heightfields, etc.

It reports:

Parse Error: Cannot read PNG image.

Observed with WinPOV 3.5, K6/500, WinNT 4

The reason is that it uses the 'png_read_image()' function from libpng. 
Reading the image line by line with 'png_read_row()' like it is done for
continuing an interrupted trace (renderio.cpp, function
'Read_Rendered_Part()') should solve the problem.

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.