2 ms·
Recent versions of Imagemagick support entropy measurement, which is typically lower in diagram/line art type images. You can check it with 'identify -format "%
by mrob 11y ago
Recent versions of Imagemagick support entropy measurement, which is typically lower in diagram/line art type images. You can check it with 'identify -format "%[entropy]" filename.png'. Some quick testing suggests photographic images usually measure greater than about 0.8.