merge-images icon indicating copy to clipboard operation
merge-images copied to clipboard

Workaround for large images exceeding the maximum canvas size?

Open nsitu opened this issue 2 years ago • 2 comments

I am considering the limitations of canvas and how they apply to merge-images. Does any workaround exist in order to merge two very long images, in cases where the result would exceed the maximum length of a canvas (typically 32,767 pixels)? image
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas#maximum_canvas_size

nsitu avatar Apr 29 '22 18:04 nsitu

Excuse me, have you achieved it? I also have this need。

fengmap avatar May 25 '23 04:05 fengmap

I found a solution for my particular use case but it does not involve canvas. (I decided to use a server-side approach). If I was returning to this as a client side problem, I might explore using web assembly versions of various graphics libraries (Eg GraphicsMagick, FFMpeg, OpenCV, etc) and see if there are any similar limits

nsitu avatar May 25 '23 11:05 nsitu