Page 1 of 1

Trying convert on any FlashPix file results in "Aborted"

Posted: 2014-02-11T13:59:00-07:00
by Isildur
On a shared host I don't manage, the already-installed /usr/bin/convert wasn't configured and built with the FPX delegate, which I need for converting some old FlashPix files.

So I built the FPX delegate from source, and configured and built a local copy of imagemagick using it ( ./src/ImageMagick-6.8.8-2/configure --with-fpx=yes LDFLAGS='-L/home/myusername/local/lib' CPPFLAGS='-I/home/myusername/local/include/' )

Ok,

Code: Select all

~/imagemagick/utilities$ ./convert -list format
now shows

Code: Select all

   Format  Mode  Description
-------------------------------------------------------------------------------
[various other formats...]
      FPX  rw-   FlashPix Format
[various other formats...]
. Looks good, I think.
(By the way, what does "native blob support" mean in the context of the format list?)

But when I try to convert any FlashPix image (e.g. the sample http://trac.imagemagick.org/export/1/Im ... t_jpeg.fpx ), it fails without any explanation:

Code: Select all

~/imagemagick/utilities$ ./convert -verbose ~/input_jpeg.fpx ~/input_jpeg.png
Aborted
~/imagemagick/utilities$
Same thing happens with using the "identify" command on any FPX file -- again, I just get the word "Aborted".

What am I doing wrong?
(I notice in convert's manual file there's a command line option "-view" with the description "FlashPix viewing transforms", but I don't know if that's pertinent, as I haven't yet found where this option's usage is documented.)

Re: Trying convert on any FlashPix file results in "Aborted"

Posted: 2014-02-11T18:33:02-07:00
by magick
It looks like a bug in the FlashPix library. We'll investigate and issue a point release with a patch within a few days. Thanks.

Re: Trying convert on any FlashPix file results in "Aborted"

Posted: 2014-02-12T10:24:56-07:00
by Isildur
magick wrote:It looks like a bug in the FlashPix library. We'll investigate and issue a point release with a patch within a few days. Thanks.
Thanks, much appreciated! :)

Re: Trying convert on any FlashPix file results in "Aborted"

Posted: 2014-02-12T11:16:03-07:00
by magick
Download / install libfpx-1.3.1-4. That should resolve the problem. We applied a user contributed patch to libfpx-1.3.1-2 to fix a compiler warning. The patch caused the abort and we reverted the patch in libfpx-1.3.1-4.

Re: Trying convert on any FlashPix file results in "Aborted"

Posted: 2014-02-14T12:13:18-07:00
by Isildur
Perfect, it's working fine now. Thanks for the prompt fix! :D