简体   繁体   中英

I am trying to save images in wpf application, but after saving some pink color is coming on that images. Is there any solution for that?

I am developing a WPF application. In which I am trying to save images. After saving the image, the color balance of the image turns to light reddish. How can we retain the original color of image after saving also. Is there any solution for that.

I suspect you are saving images with transparency into a BITMAP format. Bitmaps do not support transparency as such, but usually use a colour replacement technology to give the illusion of transparency. The default colour for this is magenta I believe.

You might try saving the images either as PNG's, or perhaps there is a way to specify the transparency colour (I'm not sure).

It sounds like this could be because your source image is in CMYK colour mode and your output is in RGB colour mode.

Could you please provide us with some more information about the source image and output image? (colour mode, image format, etc...)

Also, what sort of image processing are you doing? (resizing, saving a bitmap as a jpeg, etc...)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM