Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.