At minimum, you'd have to decompress one cell (16x16) and extract the
decompressed value. I suppose you could just do the calculations for the
one pixel within the cell. I know with regular Java2D you can't do this,
but doesn't ImageIO allow for region extraction?
So, for your #1, the value of 1 pixel can only be found by retrieving a
sequence of value that represent the cell that contains the desired pixel.

David

Johnny Man wrote:

>hi!I'm new to java 2d.
>I want to know are there any classes or functions in java 2d that can extract the
>(1)jpeg image pixel value
>(2)the decompressed jpeg image pixel value
>There should be a difference in pixel value between (1) and (2)
>
>Thanks a lot!
>
>
>Johnny
>
>===========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff JAVA2D-INTEREST".  For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to