Home > database >  Pb into BMP format pictures, images appear dislocation
Pb into BMP format pictures, images appear dislocation

Time:10-24

Recently in the database with PB of blob data into BMP format picture, and then converted to JPG format, found that the converted images appear dislocation, also found that BMP images in Windows open is normal in the little painter, opened by other applications also changed, don't know is what reason, consult a great god help!!!!!!

CodePudding user response:


CodePudding user response:

The first figure is above normal figure
The second figure is changed

CodePudding user response:

refer to the original poster lpznet response:
recently in the database with PB of blob data into BMP format picture, and then converted to JPG format, found that the converted images appear dislocation, also found that BMP images in the Windows open is normal in the little painter, opened by other applications also changed, don't know is what reason, consult a great god help!!!!!!


Doubt is save the pictures of you have any question, you need to read into the blob and image data first and then use updateblob saved into the database, pay attention to the use for reading files

Filereadex and filewriteex to processing, otherwise can only be a one-time processing 32767 bytes
  • Related