开发者

Load true color image into CImage

开发者 https://www.devze.com 2023-04-01 00:46 出处:网络
How can开发者_开发问答 I load jpeg file into CImage in true color? When I load it and then save to disk it\'s written correctly saving old palette, but if i draw it on form it\'s drawn in poor 256-lik

How can开发者_开发问答 I load jpeg file into CImage in true color? When I load it and then save to disk it's written correctly saving old palette, but if i draw it on form it's drawn in poor 256-like color.


I don't think the problem is with the image you load, but with the CDC that you are drawing into. Make sure the CDC supports true color.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号