diff --git a/src/render/canvas/canvas-renderer.ts b/src/render/canvas/canvas-renderer.ts index 6efb648..d0080ba 100644 --- a/src/render/canvas/canvas-renderer.ts +++ b/src/render/canvas/canvas-renderer.ts @@ -569,9 +569,10 @@ export class CanvasRenderer extends Renderer { } resizeImage(image: HTMLImageElement, width: number, height: number): HTMLCanvasElement | HTMLImageElement { - if (image.width === width && image.height === height) { - return image; - } + + // if (image.width === width && image.height === height) { + // return image; + // } const ownerDocument = this.canvas.ownerDocument ?? document; const canvas = ownerDocument.createElement('canvas');