refactoring
support of jpeg
Merge pull request #399 from lat-lon/jpegTransparency-198

Jpeg transparency