I am trying to save images in wpf application but after saving in images it is pink. Is there a solution for this?

I am developing a WPF application. In which I am trying to save images. After the image is saved, the color balance of the image becomes light red. How can we keep the original color of the image after saving. Is there a solution for this.

+1


a source to share


2 answers


I suspect that you are saving images with transparency in BITMAP format. Bitmaps do not support transparency per se, but typically use color swap technology to create the illusion of transparency. The default color for this is magenta, I believe.



You can try saving the images either as PNG, or maybe there is a way to specify the transparency color (I'm not sure).

0


a source


It sounds like this because the original image is in CMYK color mode and your output is in RGB color mode.

Could you please provide us with more information about the original image and the output image? (color mode, aspect ratio, etc.)



Also, what kind of image processing do you do? (resizing, saving bitmap as jpeg, etc.)

0


a source







All Articles