Browse Source

Force to no color space conversion in ImageBitmapLoader

Takahiro 4 years ago
parent
commit
3708694c4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/loaders/ImageBitmapLoader.js

+ 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 ) {