Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jun 2004 01:20:24 GMT
From:      Jed Clear <clear@alum.mit.edu>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/67815: ImageMagick no longer recognizes FlashPix
Message-ID:  <200406120120.i5C1KOpH083827@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/67815; it has been noted by GNATS.

From: Jed Clear <clear@alum.mit.edu>
To: freebsd-gnats-submit@FreeBSD.org, clear@netaxs.com
Cc:  
Subject: Re: ports/67815: ImageMagick no longer recognizes FlashPix
Date: Fri, 11 Jun 2004 21:10:50 -0400

 I noticed that the fpx files in question had fresh modifications dates, 
 and there are diffs with archive on CD-R.  I restored them from CD-R and 
 set the permission to 444.  Now identify now just cores.
 
 Besides the core, there is a debug.tmp file generated, which contains:
 File /home/ports/graphics/libfpx/work/libfpx-1.2.0.9/fpx/pres_fpx.cpp; 
 line 481 # Assertion fausse
 File /home/ports/graphics/libfpx/work/libfpx-1.2.0.9/fpx/pres_fpx.cpp; 
 line 484 # Assertion fausse
 File /home/ports/graphics/libfpx/work/libfpx-1.2.0.9/fpx/pres_fpx.cpp; 
 line 245 # Assertion fausse
 File /home/ports/graphics/libfpx/work/libfpx-1.2.0.9/fpx/buffdesc.cpp; 
 line 838 # Assertion fausse
 File /home/ports/graphics/libfpx/work/libfpx-1.2.0.9/fpx/pres_fpx.cpp; 
 line 508 # Assertion fausse
 File /home/ports/graphics/libfpx/work/libfpx-1.2.0.9/fpx/buffdesc.cpp; 
 line 634 # Assertion fausse
 
 FPX is not entirely dead in ImageMagick as I could do the following:
 % convert logo: logo.fpx
 % identify logo.fpx
 logo.fpx FPX 640x480+0+0 DirectClass 8-bit 1.3mb 0.070u 0:01
 % display logo.fpx
 
 Also the Win32 version of ImageMagick 6.0.2-Q16-dll displays the files 
 correctly, but it is also modifying the file!   If I mark the file 
 read-only it still displays it, but doesn't modify it.  The FreeBSD 
 created logo.fpx file was not viewable on the Windows box with either 
 the ImageMagick or Kodak software.
 
 Back on the FreeBSD box:
 Just for grins I changed permissions back to 644 on the fpx file.  Now 
 we are back to:
 % identify foo.fpx
 identify: ImageTypeNotSupported.
 identify: missing an image filename `foo.fpx'.
 And the file gets modified!
 
 So I guess now there are two bugs:
 1) Why does the FlashPix file need to be opened r/w by identify and a 
 read only file cause it to core?  And if r/w, why is it modified?
 
 2) And the original bug, why doesn't ImageMagick on FreeBSD recognize a 
 FlashPix generated by a Kodak DC265 camera. But the same file displays 
 in the Win32 version.
 
 Here is one of the (restored) files I've been testing with: 
 http://66.92.238.5/Photos/2002/200207%20Boston/p0002214.fpx
 MD5 (p0002214.fpx) = b86a68294ed11ecd91feafa72d3f0f59
 The MD5 is in case I test some more....
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406120120.i5C1KOpH083827>