Home > Software engineering >  CImage loading a depth of 32-bit JPG images, show is not complete
CImage loading a depth of 32-bit JPG images, show is not complete

Time:09-28

Development environment for Visual Studio 2010, CImage load 32 bit depth of the JPG pictures showed is not complete, according to some image magnification,
After the Load directly Save to file can see a problem,


The original

CodePudding user response:

JPEG storage will be compressed, try setting high quality

https://msdn.microsoft.com/zh-cn/library/ytz20d80 (v=versus 110). Aspx? Cs - save - lang=1 & amp; Cs - lang=cpp# code snippet - 2

CodePudding user response:

Can look at the width of the image after loading is correct, or use other tools to open the image to load it again after another try

CodePudding user response:

Display, call
CImage: : GetWidth
CImage: : GetHeight
  • Related