We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a31e83 commit 4c10b9bCopy full SHA for 4c10b9b
load-image.js
@@ -248,7 +248,8 @@
248
options = options || {};
249
var canvas = document.createElement('canvas'),
250
useCanvas = img.getContext ||
251
- ((options.canvas || options.crop) && canvas.getContext),
+ ((options.canvas || options.crop || options.orientation) &&
252
+ canvas.getContext),
253
width = img.width,
254
height = img.height,
255
sourceWidth = width,
0 commit comments