briandonahue / FluxJpeg.Core

Clone of fjcore library that seems to be stagant on google code
http://code.google.com/p/fjcore/
20 stars 10 forks source link

Added support for Header only extraction #6

Closed matt-redgum closed 9 years ago

matt-redgum commented 9 years ago

Have added a new public method that allows just the JPEG headers to to be extracted from the file - it's a cut down version of the existing decode method. This is useful when the image is large and is going to be cropped or otherwise manipulated using a BitmapImage or WriteableBitmap, and the user doesn't want the full decode overhead and time. Makes it easy to re-inject the headers when encoding post image processing

Also, there is a single char fix in the demo that I managed to put in this request that should have been a separate request. Sorry

anders9ustafsson commented 9 years ago

Thanks for contributing, Matt! I'll try to look into as soon as possible and pull if I don't run into any unforeseen issues.

Best regards, Anders @ Cureos