Link to home
Start Free TrialLog in
Avatar of erik_nodland
erik_nodlandFlag for United Kingdom of Great Britain and Northern Ireland

asked on

How to decode a portion of a JPEG file in C#

Hi All

I was wondering if this is possible. I am dealing with very large images and I often run into out of memory exceptions etc. etc. Most of the time I have to read it into photoshop to reduce the size to something manageable for .net.

I am only every interested in a portion of the image, so I was wondering is it possible to only read in to a byte array for example only the portion of the image that I am interested in rather than the whole thing?

Thanks
Avatar of greatsubash
greatsubash
Flag of India image

Please Refer the following link,
http://www.codeproject.com/KB/GDI/2D-DCT.aspx
Hi,
You could use a freeware application like irfanview to crop/resize your images, it offers batch processing as well.
ASKER CERTIFIED SOLUTION
Avatar of erik_nodland
erik_nodland
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial