Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to pick only black-white and grayscale images for photoshop (or another graphical program) batch-processing, even if they are have colored mode (24 or 32 bit). Thus, all pixels bypass is required.

I need in it for conversion of every image to same image with adjust alpha channel. See my another question for detail.

share|improve this question
up vote 1 down vote accepted

Simple answer to that is, no. Photoshop doesn't offer this functionality/criteria in batch mode.

You will need to do it programmatic. Though, be aware that gray-scale images saved in color format may have tint dependent on which color profile was used (if any) so the components may not have the exact same value.

You can overcome this problem by calculating the luminance value from the RGB values and compare it individually with a tolerance range.

Hope that helps.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.