JPEG Decoding

Hi,

Can someone please explain to me the image_copy codec engine example
(besides the obvious copying images!).
The example reads frames from the supplied in.dat file, encodes them
then decodes them again to reproduce the input file. Am I correct in
saying in.dat is an image in byte array/binary format, it then encodes
it to a JPEG, then decodes it to its original format?

My aim for this is to decode JPEG images into a byte array to apply
image processing algorithms.

Also do you think using the codec engine the best way to approach this
problem?

Any help is much appreciated.

Thanks,
Stuart

Stu wrote:

Hi,

Can someone please explain to me the image_copy codec engine example
(besides the obvious copying images!).

besides copying images, there is little else it does

The example reads frames from the supplied in.dat file, encodes them
then decodes them again to reproduce the input file. Am I correct in
saying in.dat is an image in byte array/binary format, it then encodes
it to a JPEG, then decodes it to its original format?

no, it *copies* it only.