Re: Test image properties?
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