• 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: Martin Orpen <email@hidden>
  • Date: Tue, 12 Oct 2004 20:53:23 +0100

Title: Re: Test image properties?
on 12/10/04 7:16 pm, Aaron Rosenblum at email@hidden wrote:

> 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.

You'll find a couple of droplets here:

<http://prometheus.idea-digital.com/phpbb2/viewtopic.php?t=81>

That will detect if a TIFF is compressed and compress it if it isn't.

If you want a droplet that gives information about any image (including PDF) and/or ICC profiles you can use something simple like this:

on open
theItem
   set foo to POSIX path of theItem
   set bar to do shell script "sips -g all " & quoted form of foo
   display dialog "  Path: " & bar
end open


Regards

--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
 _______________________________________________
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: Martin Orpen <email@hidden>
References: 
 >Test image properties? (From: Aaron Rosenblum <email@hidden>)

  • Prev by Date: Re: Get Item Number of List Item Choice?
  • Next by Date: Re: String to sum
  • Previous by thread: Test image properties?
  • Next by thread: Re: Test image properties?
  • Index(es):
    • Date
    • Thread