JPEG压缩(y,cb,cr)阵列 [英] JPEG compression (y, cb, cr) arrays

查看:165
本文介绍了JPEG压缩(y,cb,cr)阵列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

* i我想从位图图像的(R,G,B)值中获取(y,Cb,Cr)值.
我该怎么做,是否有任何算法可以通过VB代码来做到这一点?
我想在此之后对(y,Cb,Cr)进行加密.
请帮忙.

*i want to get the (y, Cb, Cr) values from an (R, G, B) values of a bitmap image.
how can i do that, is there any algorithm to do that by a vb code?
i want to work on the (y, Cb, Cr) after that for encryption.
please help.

推荐答案

JPEG仅支持sRGB和Adobe RGB: http://en.wikipedia.org/wiki/JPEG#Color_profile [ ^ ].另外,这个问题与压缩无关.

您可以将JPEG转换为位图,获取位图数据并转换像素.我不认为VBScript是一个严肃的工具.

—SA
JPEG supports only sRGB and Adobe RGB: http://en.wikipedia.org/wiki/JPEG#Color_profile[^]. Also, the question has nothing to do with compression.

You can convert JPEG into bitmap, get bitmap data and convert pixels. I don''t thing VBScript is a serious tool though.

—SA


这篇关于JPEG压缩(y,cb,cr)阵列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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