Click here to Skip to main content
15,747,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
*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.

1 solution

JPEG supports only sRGB and Adobe RGB:[^]. 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.

Share this answer
Brainy Girl 26-Sep-11 3:20am    
my question is: how to do this algorithm mentioned in your URL by code???

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900