• 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
Re: Imagemagick
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Imagemagick


  • Subject: Re: Imagemagick
  • From: Brian Johnson <email@hidden>
  • Date: Tue, 27 Nov 2007 21:29:37 -0800 (PST)


On Tue, 27 Nov 2007, Fleisher, Ken wrote:

On 11/16/07 4:44 PM, "Axel Luttgens" <email@hidden> wrote:

In terminal, the correct data was returned in the terminal window.
In AppleScript, I got the following error using the following syntax:

set bar to do shell script "/usr/ImageMagick-6.3.5/bin/identify -verbose
/Mac HD" & foo & " 2>&1"

Ken, I'm very new to Imagemagick, but did pick it up recently in hopes of relacing clip2gif in one application of my own... OMM, the following script works (notice the first line, which invokes the shell, and note that the second line probably wrapped):


set ss to "#!/bin/sh
/opt/local/var/macports/software/ImageMagick/6.3.6-2_0+darwin_8/opt/local/bin/identify -verbose /draw_point.gif
"
set x to do shell script ss
x


The resultant text is quite long. It starts with

"Image: /draw_point.gif
  Format: GIF (CompuServe graphics interchange format)
  Class: PseudoClass
  Geometry: 100x60+0+0
  Type: Palette
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:

and ends with

  Orientation: Undefined
  Signature: 44d3f2bbd37b26ca1129e46af21ab122b39bbccebc3913e846f7d75c8f2805dc
  Tainted: False
  Version: ImageMagick 6.3.6 10/26/07 Q16 http://www.imagemagick.org";

So, it seems it can work.

  -Brian Johnson, Dept of Architecture, University of Washington, Seattle
_______________________________________________
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
References: 
 >Re: Imagemagick (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Re: How to get info about pdfs?
  • Next by Date: Re: Intel, Read/Write, and dates
  • Previous by thread: Re: Imagemagick
  • Next by thread: Re: Imagemagick
  • Index(es):
    • Date
    • Thread