Check color space pdf
Add a comment. Active Oldest Votes. Improve this answer. Mark Whitaker Mark Whitaker 8, 3 3 gold badges 37 37 silver badges 77 77 bronze badges. Good news! I got Exiftool. Bad news! I don't understand the help. Are there examples for getting the color space and profile out? I haven't used it myself. Zak - Just drop photos into the executable, and it will show you the color space as one of the output rows if the image has one defined.
If none is defined, I believe it won't output any row for color space. I have an image with Adobe RGB profile embedded, but exiv2 -pa grep -i adobe shows nothing.
And it's conveniently hosted on the web here: regex. Show 2 more comments. You can use imagemagick's identify program for this.
The full command is: magick identify rose. For me it just says "Profile-icc: bytes" and the next line is unrelated. The grep is probably superfluous, unless you are writing a script. Good suggestion! I have Lightroom and I'll check. When I provide it, it doesn't output anything. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related Hot Network Questions.
Question feed. Images aren't the only thing that can be in a PDF file, you can also have text, linework and shadings. Also transparency blending can be specified in specific colour spaces.
You could also write a small piece of PostScript which could tell you when a colour space was used, and what kind of colour it is. It doesn't tell you anything about the original PDF file. If GhostScript doesn't include options to do so, you may have to write a script to use a PDF library for parsing the image and reporting details on the elements it contains. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 9 years, 2 months ago. Active 9 years, 2 months ago.
0コメント