Image Capture Scripting - what is it doing to my images?
Image Capture Scripting - what is it doing to my images?
- Subject: Image Capture Scripting - what is it doing to my images?
- From: Nicholas Macias <email@hidden>
- Date: Sun, 7 Oct 2001 11:30:42 -0700
First of all, hello. I'm relatively new to AS but very excited about its
potential.
PROBLEM: Image Capture Scripting under OS X 10.1 is apparently modifying
my images more than I ask. I'll give some background first.
I am writing a toolbar script that will create 128x128 thumbnail preview
icons for images in the current Finder window. I figured out that Image
Capture does this to anything it touches, so my strategy was to use it
instead of a full-blown GUI application like Graphic Converter (which
also makes distribution simpler, as it is built-in).
What I've come up against is that simply opening and then saving an
image with ICS in a script whites-out the image. If you do not apply any
transformations, you lose your image. So I resorted to "scale by a
factor of 1" or "rotate by 0" -- harmless operations that don't take
significant time. It worked, and the thumbnails get created (yay!). The
Finder wasn't showing the new icons until it was force-quit, but I
figured out quickly to send the working folder an "update" command.
Anyway, I was pretty happy with myself, but then noticed that my image
was now 220kb, down from 500kb. The quality appears the same but it is
obviously not wholly intact (half the size!). Am I losing image quality
or just bloat? I don't want to distribute this script (freely) if it is
going to "damage" someone's photos.
Is there a program I can use to compare the images?
and
Can anyone "in the know" tell me what ICS does to images it processes?
Will it only handle RGB images, or will it work for CYMK TIFFs? Will it
strip out profile information? Does it mangle the image in any other way?
Thank you!
Nicholas Macias
Director of Technology, Interactive
http://www.akaeurorscg.com/