asp.net - Converting JPEG colorspace (Adobe RGB to sRGB) on Windows (.Net) -


I need to create thumbnails and mid-sized images with big photos. I display these small pictures in an online gallery Many photographers are submitting JPEG pictures using Adobe RGB. I would like to use sRGB for all thumbnails and medium sized images

I am using dotnet (asp.net) and need to convert from Adobe RGB to SRGB without losing any quality is.

To change a JPG file from one ICC profile (in place of colors) to another, you can use CreateColorTransform to create a transformation between color spaces. You will need to provide an ICC profile for the source (ADB RGB) and destination (SRGB) color spaces.

After you have transformed, use bitmapbits to translate the pixels, it can be easy to work with the image as a diabetes.

It may be a bit complicated to write in .asp, so it can be easy to use such a graphics library.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -