Search found 9 matches

by BenjaminKim
2019-06-11T22:09:11-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 84234

Re: How to check image color or back and white

Update: I was finally able to work out exactly what I needed. Many thanks to those who helped and helped guide me to the solution I needed. In running tests across many, many thousands of PDFs, I kept getting inconsistent results for what I was trying to accomplish. This was no fault of ImageMagick ...
by BenjaminKim
2019-05-09T01:16:05-07:00
Forum: Users
Topic: PDF to PNG - Depth vs Channel depth and Colorspace vs Type
Replies: 9
Views: 2580

Re: PDF to PNG - Depth vs Channel depth and Colorspace vs Type

This is a common task in image processing: find some visual characteristic that isolates the feature we want. Yes, indeed. It is really fascinating. I never fully understood just how much could be done with imagemagick - it's incredible - opened a whole new world. Once I'm done with this latest adv...
by BenjaminKim
2019-05-08T03:09:29-07:00
Forum: Users
Topic: PDF to PNG - Depth vs Channel depth and Colorspace vs Type
Replies: 9
Views: 2580

Re: PDF to PNG - Depth vs Channel depth and Colorspace vs Type

This works absolutely brilliantly. Thank you! I'm going to kick the tires on it some more. I've also been trying to figure out something fmw42 mentioned in another thread, when I first realized I need to account for color. https://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=19580&start=...
by BenjaminKim
2019-05-08T01:41:37-07:00
Forum: Users
Topic: PDF to PNG - Depth vs Channel depth and Colorspace vs Type
Replies: 9
Views: 2580

Re: PDF to PNG - Depth vs Channel depth and Colorspace vs Type

Thank you so much - this is extremely helpful. I'm still working with your feedback, and ensuring I fully understand before asking any further questions. Re the Top Secret vs Sample - I had initially been focusing on this from a "gray" angle (the "Top Secret", even though I realize it is technically...
by BenjaminKim
2019-05-07T02:59:19-07:00
Forum: Users
Topic: PDF to PNG - Depth vs Channel depth and Colorspace vs Type
Replies: 9
Views: 2580

Re: PDF to PNG - Depth vs Channel depth and Colorspace vs Type

if I do an RGB sampling of the "Top Secret" gray text on the image, it is "203,203,203" in this one image (testpdf_grays64.png), Your image has 16 bits/channel/pixel, so values are from 0 to 65535. Your sampling software rounds this to 8 bits, ie out of 0 to 255. Rounding could account from a diffe...
by BenjaminKim
2019-05-06T00:05:41-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 84234

Re: How to check image color or back and white

One additional question: How do I factor in the fact that most of the "source" files also have an alpha layer? I've uploaded an example: samplepdf0001.pdf (plus the identity verbose output). If I run: magick identify -verbose samplepdf0001.pdf > samplepdf0001.txt And then look at the histogram info,...
by BenjaminKim
2019-05-05T23:14:29-07:00
Forum: Users
Topic: PDF to PNG - Depth vs Channel depth and Colorspace vs Type
Replies: 9
Views: 2580

PDF to PNG - Depth vs Channel depth and Colorspace vs Type

Please note - for all below examples, I'm using Version: ImageMagick 7.0.8-40 Q16 x64 2019-04-13 When I convert testpdf_grays.pdf to png: i.) If I use the following command, the resulting PNG is saved as "Grayscale". magick convert -density 72 "testpdf_grays.pdf" -background white -flatten testpdf_g...
by BenjaminKim
2019-05-04T20:17:57-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 84234

Re: How to check image color or back and white

Thank you a million times over! This definitely helps point me in the right direction. It may also be exactly the solution - however, I'm still chewing on the color aspect of it (the source images may be color, or may be not). I'm confident re gray "colors" in a RGB colorspace - for instance, rgb(17...
by BenjaminKim
2019-05-03T12:30:01-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 84234

Re: How to check image color or back and white

Hello - I came across this topic in researching how to accomplish something I would like to try and accomplish. I've been working through the various posts, and ideas, but can't seem to figure out the best way to do what I need to do. If it would be better to create a new topic, then I will. Ultimat...