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.
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.