Bug 949779 - Parsing jpeg header information for downsampling the image for thumbnail

- Utilizing existing API in shared lid to parse the jpeg header for image downsampling.