Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Black and White and Sepia

$
0
0
Hope someone can help. I am trying to create a two functions for an application so we no longer have to do this in Photoshop.

One of the functions will convert images to black and white while the other will convert images to a sepia tone.

While I can easily convert any image to Grayscale using something like

image.ColorSpace = ColorSpace.GRAY;

the images seem to loose a lot of depth in various grays which we would need to preserve. Preferably I want to simply desaturate the colors of the image in a similar fashion like Photoshop which is what we do but I am trying to eliminate this.

As for converting an image to sepia, I am just plain lost how to best accomplish this. I did look at the the examples here and they make perfect sense
http://www.imagemagick.org/Usage/color_mods/#sepia-tone

I am just now sure how I would implement this within my Magick.Net code. Any quick examples would be appreciated.

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>