• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ImageMagick Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImageMagick Problem


  • Subject: ImageMagick Problem
  • From: "Fleisher, Ken" <email@hidden>
  • Date: Wed, 26 Sep 2007 16:12:02 -0400
  • Thread-topic: ImageMagick Problem

Title: ImageMagick Problem
Hello. I’m trying to use ImageMagick from AppleScript for the first time and I’m not terribly UNIX savvy. I’m hoping someone can tell me what is wrong with this script and what the error means.

-- Set up properties likely to be used in multiple commands
property pathToImageMagickLibraries : "export DYLD_LIBRARY_PATH=/usr/ImageMagick-6.3.5/lib;"
property pathToImageMagickCommands : "/usr/ImageMagick-6.3.5/bin/"

-- Build the shell command
set cmd to pathToImageMagickLibraries & pathToImageMagickCommands
set cmd to cmd & "identify -verbose "
set cmd to cmd & "Users/k-fleisher/Desktop/test/*.tif"
--display dialog cmd
-- Execute the command
do shell script cmd

-- Result
tell current application
   do shell script "export DYLD_LIBRARY_PATH=/usr/ImageMagick-6.3.5/lib;/usr/ImageMagick-6.3.5/bin/identify -verbose Users/k-fleisher/Desktop/test/*.tif"
       "identify: no decode delegate for this image format `Users/k-fleisher/Desktop/test/242-142.tif'."


When I run the script from terminal, I get the following:

FleisherK:~ k-fleisher$ identify Desktop/test/*.tif
identify: Not a TIFF file, bad version number 10752 (0x2a00). `Desktop/test/242-142.tif'.

Any help will be very much appreciated. Thanks!

--
Ken Fleisher

Photographer
Imaging & Visual Services
National Gallery of Art
Washington, D.C.

Phone: (202) 712-7471
email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: ImageMagick Problem
      • From: "Steven D. Majewski" <email@hidden>
    • Re: ImageMagick Problem
      • From: "Steven D. Majewski" <email@hidden>
  • Prev by Date: Quicktime can't get focus while Applescript has dialog box open
  • Next by Date: Re: ImageMagick Problem
  • Previous by thread: Quicktime can't get focus while Applescript has dialog box open
  • Next by thread: Re: ImageMagick Problem
  • Index(es):
    • Date
    • Thread