diff options
Diffstat (limited to 'ext/canvas/01_image.js')
-rw-r--r-- | ext/canvas/01_image.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/canvas/01_image.js b/ext/canvas/01_image.js index 6fb1ee62f..3ea72db6a 100644 --- a/ext/canvas/01_image.js +++ b/ext/canvas/01_image.js @@ -307,7 +307,9 @@ function processImage(input, width, height, sx, sy, sw, sh, options) { } if (options.colorSpaceConversion === "none") { - throw new TypeError("options.colorSpaceConversion 'none' is not supported"); + throw new TypeError( + "Cannot create image: invalid colorSpaceConversion option, 'none' is not supported", + ); } /* |