如何将图像(.jpg)文件更改为可用于自适应算术编码的中间形式? [英] How to change an image(.jpg) file into an intermediate form which can be used in adaptive arithmetic encoding?

查看:89
本文介绍了如何将图像(.jpg)文件更改为可用于自适应算术编码的中间形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法找到转换图像文件的任何方法,以便可以使用自适应算术编码对其进行加密。请帮帮我......谢谢...

Unable to find any way to convert an image file so that it can be be encrypted by using adaptive arithmetic encoding. Please help me out..Thanks in advance...

推荐答案

假设您有代码来读取JPG文件,那么您就拥有了每种像素的颜色,通常您的阅读就是坐着在内存块或内存上下文....你还想要什么:-)



在内存块或上下文中运行编码。



如果您还没有读卡器代码,那么您已经在C中专门发布了独立JPEG组(IJG)在C中提供了一个库,您可以在其中找到jpegsr9a.zip。 />


http://www.ijg.org/ [ ^ ]



在Win32 API下它阅读JPG文件更加轻松。
Assuming you have code to read the JPG file then you have each pixel color and usually your read is sitting in a memory block or memory context .... what more do you want :-)

Run the encoding on the memory block or context.

As you have posted in specifically in C if you don't already have reader code the Independent JPEG Group (IJG) provides a library in C where you will find jpegsr9a.zip.

http://www.ijg.org/[^]

Under Win32 API it is even more trivial to read a JPG file.


这篇关于如何将图像(.jpg)文件更改为可用于自适应算术编码的中间形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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