2
0
Эх сурвалжийг харах

Force to no color space conversion in ImageBitmapLoader

Takahiro 4 жил өмнө
parent
commit
3708694c4b

+ 1 - 1
src/loaders/ImageBitmapLoader.js

@@ -73,7 +73,7 @@ ImageBitmapLoader.prototype = Object.assign( Object.create( Loader.prototype ),
 
 		} ).then( function ( blob ) {
 
-			return createImageBitmap( blob, scope.options );
+			return createImageBitmap( blob, Object.assign( scope.options, { colorSpaceConversion: 'none' } ) );
 
 		} ).then( function ( imageBitmap ) {