partial image from stream

  • Thread starter Thread starter =?iso-8859-1?q?Alper_Din=E7er?=
  • Start date Start date
?

=?iso-8859-1?q?Alper_Din=E7er?=

Hi,

I have been working on my thesis about simple image processing. I have
to process 10 mb JPEG image. It has approximately 4000 * 3000 pixels. I
have to take the needed parts of image. For example user wants a
rectange between (400,400) and (1000,1000).

The code will read image as a stream, find the rectange, get as a new
image, if its size is bigger than screen resolution, then resize it to
the screen's size.

At this point I read full image with stream but I didn't find the
specific part of image and show. How can I solve this problem?

Thanks for your help

Alper
 
You need a JPEG library and the understanding of the JPEG format. The
built-in JPEG decompressor on Windows mobile devices lacks this kind of
functionality. I know that JPEG2000 format has provisions for decompressing
a specific area of the image. I'm not entirely sure about JEPG
 
Back
Top