How to identify black and white images in folder of images

2

1

I would like to identify the black and white images in a folder containing 300,000 images which are a variety of colours. An alternative method would be to identify the colour images and treat the residual items as b/w.

There was an answer on SuperUser back in 2012 (How to recognize black and white images?) recommending a clunky, and apparently not wholly effective, workaround using ImageMagick but I am hoping in the period since then a more user-friendly option has emerged.

Visipics is capable of finding duplicate black and white images (but only ones that look like each other).

Thanks.

ThomasDoe

Posted 2015-02-24T17:03:51.947

Reputation: 123

Are you OK with using a Linux distro to accomplish your task, or are you tied to some specific operating system? – Ƭᴇcʜιᴇ007 – 2015-02-24T17:06:33.733

@Ƭᴇcʜιᴇ007 Thanks for your reply. I'm on Win7. I'd be very happy to use Linux but I'd have to learn how to. Not a big problem. – ThomasDoe – 2015-02-25T12:24:52.457

possible duplicate of How to recognize black and white images?

– Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-09-25T20:20:30.417

@CiroSantilli: that's the same question the OP mentions. – fixer1234 – 2015-09-26T01:07:45.330

@fixer1234 I know. But I don't think that his explanation justifies a new question: he simply says the other question is old / does not have good enough answers. To me that just confirms it's a dupe :-) – Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-09-26T07:02:31.867

@CiroSantilli: A recent meta question: http://meta.superuser.com/questions/9643/closed-question-information-blurb-seems-wrong-confusing. I'm guessing you agree with Ƭᴇcʜιᴇ007. :-)

– fixer1234 – 2015-09-26T16:27:02.073

@fixer1234 thanks for the meta link! Yeah, no big deal. We could close either way as well. What matters it to have one point of absolute truth. – Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-09-26T18:41:03.323

Answers

3

If are ok with a paid program you could try Batch Images http://www.binarymark.com/products/batchimages/default.aspx

In fact, AFAIK if you only need to select black and white images (as opposed to actually working with and processing them), you will be able to do it even with the trial version only.

You could use Search for and Add Images function: Add images that match criteria

Then specify the folder to look in and image file types to include: files to look for

And then under Image Properties, you have 2 options:

Select black and white images by palette (not sure if ti applies to you, but it may depending on image file type and how images have been saved): Palette

OR

Select black and white images by actually examining the pixels (this is quite time consuming as each image will be opened and examined, but it will always work): Look for images with 0 saturation

Not sure if you can do all 300 000 in one batch, but you can always split it into several folders and do it one folder at a time.

Disclaimer: I am the user of a paid version.

George

Posted 2015-02-24T17:03:51.947

Reputation: 282

Glad I could help out! – George – 2015-04-25T17:47:52.907