开发者

Writing JPEG image from BLOB field

开发者 https://www.devze.com 2023-01-04 04:03 出处:网络
I\'ve got a BLOB field in a MySQL database that I need to fetch and write into a .jpg file. I already know how to query the database and开发者_运维百科 get the result, but I can\'t write it into a val

I've got a BLOB field in a MySQL database that I need to fetch and write into a .jpg file. I already know how to query the database and开发者_运维百科 get the result, but I can't write it into a valid .jpg file. Anyone got any help?

Thanks


If you're using SDL_image, look into IMG_Load_RW() in particular and SDL_RWops in general.

0

精彩评论

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