• 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: Test image properties?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Test image properties?


  • Subject: RE: Test image properties?
  • From: "CS Carl Stawicki (4211)" <email@hidden>
  • Date: Tue, 12 Oct 2004 14:43:21 -0400
  • Thread-topic: Test image properties?

Title: RE: Test image properties?

I'm using tiffutil on layered PSCS tiffs, and it seems to work fine.

After some testing, I settled on this:

set myTiff to quoted form of posix path of alias "Path:to:mytiff.tif"
(do shell script "tiffutil -info " & myTiff) contains "Lempel-Ziv & Welch"

result: true or false


Carl.


    ----------
    From:   applescript-users-bounces+carl.stawicki=email@hidden on behalf of Aaron Rosenblum
    Sent:   Tuesday, October 12, 2004 2:16 PM
    To:     email@hidden
    Subject:        Test image properties?

    Hey all,

    Does anyone know of a way to test a tiff image to see its properties
    using AS?  I have a script that compresses TIFF images (LZW) using
    photoshop, but I'd like to be able to test the image for this property
    first and then skip it if it is already compressed.  I found the
    tiffutil command, but it doesn't like the layered tiffs that photoshop
    creates.

    thanks!

    Aaron

     _______________________________________________
    Do not post admin requests to the list. They will be ignored.
    Applescript-users mailing list      (email@hidden)
    Help/Unsubscribe/Update your Subscription:

    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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Test image properties?
      • From: Aaron Rosenblum <email@hidden>
  • Prev by Date: Test image properties?
  • Next by Date: Re: Test image properties?
  • Previous by thread: Re: Test image properties?
  • Next by thread: Re: Test image properties?
  • Index(es):
    • Date
    • Thread