I was testing the downsampling of EXR images to 8-bit PNG, and got this:

        $ convert grey-gradient.exr -depth 8 out.png
        Floating point exception

This is with a custom build of the SVN sources:

        $ convert -version
        Version: ImageMagick 6.3.5 07/01/07 Q64 HDRI http://www.imagemagick.org
        Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

Here is what GDB has to say about it:

----(cut here)----
$ gdb /path/to/convert
GNU gdb 6.4.90-debian
[...]

(gdb) r grey-gradient.exr -depth 8 out.png
Starting program: /path/to/convert grey-gradient.exr -depth 8 out.png
[Thread debugging using libthread_db enabled]
[New Thread 47470829605856 (LWP 17006)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 47470829605856 (LWP 17006)]
0x00002b2ca82b519b in GetImageChannelDepth (image=0x511930,
    channel=AllChannels, exception=0x514bf0) at magick/statistic.c:306
306                 status|=(quantum != (scale*(quantum/scale)));
(gdb) p scale
$1 = 0
(gdb)
----(cut here)----

I've attached the offending EXR file to this message.


--Daniel


-- 
NAME   = Daniel Richard G.       ##  Remember, skunks       _\|/_  meef?
EMAIL1 = [EMAIL PROTECTED]        ##  don't smell bad---    (/o|o\) /
EMAIL2 = [EMAIL PROTECTED]      ##  it's the people who   < (^),>
WWW    = http://www.******.org/  ##  annoy them that do!    /   \
--
(****** = site not yet online)
_______________________________________________
Magick-developers mailing list
Magick-developers@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-developers

Reply via email to