Discussion:
Magick-users Digest, Vol 89, Issue 5
Alex Graul
2010-06-16 20:22:57 UTC
Permalink
Ah fantastic, that second one did it perfectly. Much obliged.
Send Magick-users mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://studio.imagemagick.org/mailman/listinfo/magick-users
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Magick-users digest..."
1. Re: Converting to a single-color image (duotone sans black
channel) (Anthony Thyssen)
----------------------------------------------------------------------
Message: 1
Date: Wed, 16 Jun 2010 10:22:44 +1000
Subject: Re: [magick-users] Converting to a single-color image
(duotone sans black channel)
Content-Type: text/plain; charset=US-ASCII
On Mon, 14 Jun 2010 21:17:11 -0700
| >Hello,
| >
| >Apologies if I'm missing something obvious, I'm trying to work out
| >how to convert an image to a single colour - much like grayscale but
| >colorised. Effectively what I'm trying to do is replicate the effect
| >of Photoshop's Screen blending mode when the top layer is a solid
| >color. I've put up an example to compensate for my inability to
| >articulate this properly here: Loading Image...
| >
| >I can do a duotone easily enough but this has me stumped. It would
| >also make my life notably easier if it was a single invocation of
| >convert.
| >
| >Any guidance would be greatly appreciated.
|
|
| see -tint and related techniques at
| http://www.imagemagick.org/Usage/color/#tinting
|
| also if you are on unix, see my script tintilize at
| http://www.fmwconcepts.com/imagemagick/index.php
|
|
| Fred
|
|
| P.S. On second thought after re-reviewing your example, a better
| method would appear to be
|
| +level-colors blue,white
|
| see http://www.imagemagick.org/Usage/color/#level-colors
Note you should greyscale the image first then apply +level-colors
Remember +level-colors is still a -level operator, just getting its
values (+level -> map black and white to given levels) from the colors
you have specified. each channel will still be modified individually.
So use...
-colorspace Gray +level-colors blue,white
You can also use -gamma afetr the -colorspace operator to adjust the
mid-tone brightness, if you want to.
--------------------------------------------------------------------------
Base 8 is just like base 10 really...
...if you're missing two fingers. - Tom Lehrer
--------------------------------------------------------------------------
Anthony's Castle http://www.cit.griffith.edu.au/~anthony/
------------------------------
_______________________________________________
Magick-users mailing list
http://studio.imagemagick.org/mailman/listinfo/magick-users
End of Magick-users Digest, Vol 89, Issue 5
*******************************************
Jeff Harmon
2010-06-18 00:27:14 UTC
Permalink
Hi folks,

If you build IM with LCMS variant, I presume you can convert an image
using one ICC profile to another, yes? Also, I see that sRGB is listed as
a choice with the colorspace switch, which I guess is not technically
correct, albeit a convenience. If you convert to the sRGB colorspace, does
it honor an embedded profile of the source image, or ignore it?

Thanks so much! I continue to be grateful and appreciative of this
amazing tool and the work of the developers.

Best,
Jeff
d***@imagemagick.org
2010-06-18 00:47:09 UTC
Permalink
you can convert an image using one ICC profile to another
Right. If your image already includes a source profile, just add a
destination profile with -profile:

convert image.jpg -profile sRGB.icc image.png
Jeff Harmon
2010-07-11 01:47:18 UTC
Permalink
Sorry everyone, i figured this out. Of course a layered PSD needs to be
flattened first before being converted to JPEG. IM is working great. The
corruption problem we're seeing that we thought was reletaed looks like it
was another problem. Sorry to have waster anyone's time!

- J

Loading...