You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"blueimp-load-image": "5.16.0",
When orientation is number I get proper result: const { image } = await loadImage(file, { orientation: 6, canvas: true, });
When orientation is string I get distorted image. The width ant height dimensions are correct, but the actual image is not rotated and get somehow cropped: const { image } = await loadImage(file, { orientation: "6", canvas: true, });
A fix would be maybe to throw error when non number or non boolean value is used for orientation option, or enable non integer values?
The text was updated successfully, but these errors were encountered:
Original image:
"blueimp-load-image": "5.16.0",
When orientation is number I get proper result:
const { image } = await loadImage(file, { orientation: 6, canvas: true, });
When orientation is string I get distorted image. The width ant height dimensions are correct, but the actual image is not rotated and get somehow cropped:
const { image } = await loadImage(file, { orientation: "6", canvas: true, });
A fix would be maybe to throw error when non number or non boolean value is used for orientation option, or enable non integer values?
The text was updated successfully, but these errors were encountered: