X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 31 Jan 2019 11:17 AM by  Dave Bouwer
read_gif.pro
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Dave Bouwer



New Member


Posts:1
New Member


--
31 Jan 2019 11:17 AM
    I've inherited some old code that uses the ImageMagick "convert" image1.ps to image2.gif using (within IDL):

    spawn, 'export DYLD_LIBRARY_PATH="$MAGICK_HOME/lib"; convert '+ filename + ' ' + gifile

    I am able to easily display the converted GIF image, but read_gif.pro continuously issues the error message
    "% READ_GIF: Unknown GIF keyword "0x63" in filename.gif"


    the query_image.pro produces:

    ** Structure <af066e8>, 7 tags, length=48, data length=40, refs=1:

    CHANNELS LONG 1

    DIMENSIONS LONG Array[2]

    HAS_PALETTE INT 1

    NUM_IMAGES LONG 1

    IMAGE_INDEX LONG 0

    PIXEL_TYPE INT 1

    TYPE STRING 'GIF'


    I am using version of ImageMagick (v7).

    I've tried an earlier version of ImageMagick (v6.38) with the same results.

    The runtime environment is Mac OS x (Mojave 10.14.2), running IDL v8.7.1. I have tried it on OS X 10.9.5 and IDL v8.1 as well.


    I have seen 2 days trying to address this problem. Any suggestions?

    You are not authorized to post a reply.