Re: Similarity between integers in a list
Re: Similarity between integers in a list
- Subject: Re: Similarity between integers in a list
- From: Roger Howard <email@hidden>
- Date: Wed, 19 May 2004 09:54:41 -0700
Yes, bad explanation after a long day :-(
The main part of the script is separating images from RGB to CMYK.
Images
that are neutral (or very close to it) need to be separated using a
different ICC profile to than regular colour images (wider and longer
black
values if you're interested).
So I need to detect RGB values that are equal or very close to equal
in all
of the random samples.
How about converting the image to grayscale, then layering over the
original using mix mode "Difference"? Then you could even further
simplify by scaling the image down, using bicubic, to a small size, and
sampling the resulting pixels for neutrality (or simply checking if
they are black, if all you want to know is if the image is EXACTLY
neutral to begin with).
I'd look for ways to have Photoshop do most of the legwork, rather than
querying lots of pixels using AppleScript...
-R
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.