Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for large images exceeding the maximum canvas size? #115

Open
nsitu opened this issue Apr 29, 2022 · 2 comments
Open

Workaround for large images exceeding the maximum canvas size? #115

nsitu opened this issue Apr 29, 2022 · 2 comments

Comments

@nsitu
Copy link

nsitu commented Apr 29, 2022

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

@fengmap
Copy link

fengmap commented May 25, 2023

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

@nsitu
Copy link
Author

nsitu commented May 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants