• 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: Similarity between integers in a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Similarity between integers in a list
      • From: Martin Orpen <email@hidden>
  • Prev by Date: modification date
  • Next by Date: Re: Shutdown script
  • Previous by thread: Re: Similarity between integers in a list
  • Next by thread: Re: Similarity between integers in a list
  • Index(es):
    • Date
    • Thread