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

Re: ImageMagick Problem


  • Subject: Re: ImageMagick Problem
  • From: "Steven D. Majewski" <email@hidden>
  • Date: Wed, 26 Sep 2007 16:55:47 -0400


On Sep 26, 2007, at 4:49 PM, Fleisher, Ken wrote:

Good ideas. First, the file was saved from Photoshop as a TIFF, no layers,
8-bit, RGB, no compression, with an embedded ICC profile. It's as basic of a
file as I can imagine. However, I tried the tests you suggested from
Terminal and I get the following:


FleisherK:~ k-fleisher$ file /Desktop/test/242-142.tif
/Desktop/test/242-142.tif: cannot open (/Desktop/test/242-142.tif)

FleisherK:~ k-fleisher$ tiffutil -info /Desktop/test/242-142.tif
Error: Could not open file /Desktop/test/242-142.tif

FleisherK:~ k-fleisher$ sips -g format /Desktop/test/242-142.tif
Warning: /Desktop/test/242-142.tif not a valid file - skipping
Error 4: no file was specified
Try 'sips --help' for help using this tool


I'm not sure what to try next. Thanks again for any help...

Ken


Oops. You wrote: 'Desktop/test/...' I wrote: '/Desktop/test/...'

You probably want 'Desktop/test...' or '~/Desktop/test/...'
so that it's looking for the file in a subfolder of your Desktop folder.

The leading '/' makes it look for a Desktop folder in the root directory.

That's why it doesn't see ANY file.


-- Steve.





On 9/26/07 4:34 PM, "Steven D. Majewski" <email@hidden> wrote:


On Sep 26, 2007, at 4:12 PM, Fleisher, Ken wrote:


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!

It seems to be saying that it's not a tiff file. What do you get if you try:

file /Desktop/test/242-142.tif

and/or:

tiffutil -info /Desktop/test/242-142.tif

or:

sips -g format /Desktop/test/242-142.tif


[ Just to verify that it's not some problem with your build and
configuration
of ImageMagick. I haven't played with I-M lately, but I recall it was
a bear to get built properly with all of the libraries I required.
If one or more of those programs also say it's not a TIFF, then I
would
tend to believe it. ]



-- Steve Majewski / UVA Alderman Library



--
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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40virginia.edu
Archives: http://lists.apple.com/archives/applescript-users


This email sent to 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: "Fleisher, Ken" <email@hidden>
    • Re: ImageMagick Problem
      • From: "Steven D. Majewski" <email@hidden>
References: 
 >Re: ImageMagick Problem (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Re: ImageMagick Problem
  • Next by Date: Re: ImageMagick Problem
  • Previous by thread: Re: ImageMagick Problem
  • Next by thread: Re: ImageMagick Problem
  • Index(es):
    • Date
    • Thread