Trying to "remake" a BASH script...

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
RageMagretht
Posts: 1
Joined: 2016-11-03T10:21:33-07:00
Authentication code: 1151

Trying to "remake" a BASH script...

Post by RageMagretht »

...but I was offline from July to just last month, and all my backups were lost in a fire.

What I'm looking to do is evaluate a directory of JPEG files for any that have no, or invalid, color profiles/color spaces. Then I'M thinking of using IM or Exiv2 to put in sRGB or Adobe RGB as provided by each utility. I don't want to use Exiftool, as it requires the "reading in" of ICC profiles, and so far as I'm aware, vanilla sRGB without modifications (i.e. Dark Palette or whatever it is) aren't available on the Net anymore.

You may remember me by a screen name I used a lot in 2015 and before: Silversleeves.

Any help would be appreciated. It annoys me to Exiv2 whole folders of JPEGs to A-RGB unnecessarily.

Magreth
Magreth
ImageMagick 6.8.9-9 Q16 i686 2016-06-01
LinuxMint Sarah (18); KDM
-----
"See how gooey it is ?"
-Wally, from "Dilbert" (ca. 1996)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Trying to "remake" a BASH script...

Post by fmw42 »

Please always provide your IM version and platform!

See string formats for profiles and profile:icc and profile:icm at http://www.imagemagick.org/script/escape.php. That will help you test for existing profiles. Also see the string format for colorspace.
Post Reply