图像转换成用C可用的字节数组? [英] Convert image into useable byte array in C?

查看:185
本文介绍了图像转换成用C可用的字节数组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何打开图像,特别是一个JPG,在C或C ++中的字节数组?任何形式的帮助是AP preciated。

Does anyone know how to open an image, specifically a jpg, to a byte array in C or C++? Any form of help is appreciated.

谢谢!

推荐答案

借助 ImageMagick的库也可以这样做,但往往提供了足够的图像处理功能,你可以做很多事情,而不需要将图像转换为字节数组,自己处理。

The ImageMagick library can do this too, although often it provides enough image manipulation functions that you can do many things without needing to convert the image to a byte array and handle it yourself.

这篇关于图像转换成用C可用的字节数组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆