Fix a jpegs header only if it's not decoded anyway
Fix bitmap rendering
Export bitmaps as raw image data