开发者

Writing JPEG image from BLOB field

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜