文件中的数据格式
问题描述:
大家早上好.
我正在尝试使用C指针读取图像文件.
我应使用哪种数据格式?
Good morning to everyone.
I''m trying to read image file using c pointer''s.
What data format shall i use for it?
答
此工具 [ ^ ]可以为您提供帮助,
将图像转换为文本文件.
然后-在缓冲区中读取它
并通过char指针(char*
)导航其内容:)
This tool[^] can help you,
to convert an image to a text file.
Then - read it in a buffer
and navigate its content by a char pointer (char*
) :)
如果要加载Windows位图文件(困难的方式),请查看本文[ ^ ].
:)
If you want to load a Windows Bitmap file (the hard way) have a look at this article [^].
:)