Fixed image format manipulation to use JPEG even in Chrome
Fixed image format manipulation to use JPEG even in Chrome

Chrome implementation always tries to convert data to jpeg.
This is same behavior as in firefox.

peterkacinec/engine,peterkacinec/engine,peterkacinec/engine