POV-Ray : Newsgroups : povray.bugreports : Subimage rendering bug : Re: Subimage rendering bug Server Time
3 May 2024 22:59:16 EDT (-0400)
  Re: Subimage rendering bug  
From: Marvin
Date: 7 Jun 2011 05:00:01
Message: <web.4dede8041b52f2c673cc178a0@news.povray.org>
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:

> > Am 04.06.2011 23:39, schrieb Jaime Vives Piqueres:

> >
> >>>> $ povray +FN +W400 +H300 +SC300 +EC399 +Omodel-000001.png
> >>>> radiosity3a.pov
> >>>> $ model-000001.png PNG 400x300 400x300+299+0 8-bit DirectClass 21.9kb
> >>>> $ povray +FN +W400 +H300 +SR0 +ER99 +SC300 +EC399 +Omodel-000001.png
> >>>> radiosity3a.pov
> >
> >>> This behaviour, while indeed incompatible with the PNG file format, is
> >>> (or rather was) intentional. Old versions of POV-Ray (including 3.6x)
> >>> used to do some pretty whacky things with some image formats.
> >>
> >> But it works fine for me, at least with my self-compiled version of
> >> 3.6.1:
> >> ...
> >> No corruption was found by identify, file or gimp, using the same exact
> >> command-line with the original radiosity3.pov.
> >
> > Which command line - the first or the second?
>
>   The second one, of course:
>
> $ povray361 +FN +W400 +H300 +SR0 +ER99 +SC300 +EC399 +Omodel-000001.png
> radiosity3.pov
> $ identify model-000001.png
> model-000001.png PNG 400x300 400x300+299+0 8-bit DirectClass 4.08KB
> 0.000u 0:00.000
>
>    I even tried different variants and all of them worked... this is on
> a Linux Fedora 14.
>
>
> --
> Jaime Vives Piqueres
>
> La Persistencia de la Ignorancia
> http://www.ignorancia.org

I haven't been able to reproduce your step:

mtodorov@magrf:~/grc-devel/grc-0.02.07$ /usr/local/bin/povray +FN +W400 +H300
+SR0 +ER99 +SC300 +EC399 +Omodel-000001.png radiosity3a.pov
mtodorov@magrf:~/grc-devel/grc-0.02.07$ identify model000001.png
identify: Corrupt image `model-000001.png'.

Greetz, Marvin Barley Stargazer


Post a reply to this message

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