cotton123236 / zoomist

Zoomist is a library built with TypeScript that allows you to create zoom elements on website quickly and easily.
https://zoomist.vercel.app/
MIT License
112 stars 23 forks source link

Trying to get the Image base64 encoded that is the result of the zoom and transform #43

Open luigipam opened 7 months ago

luigipam commented 7 months ago

Hi, thanks for building Zoomist... is far the best zoom library. I have used without issues and works brilliantly but now I need to get back the image that has been transformed as base64 to be uploaded in the server.

I have tried several things but the image is just stays as the original image and I can see only the styles properties changing so I don't have a way to get the new image fully transformed.

If you can please help.

cotton123236 commented 7 months ago

Hey @luigipam , Thanks for your like. It's there any example code to let me know your situation more? It will be helpful to solve your problem!

luigipam commented 7 months ago

I'm just trying to get the base64 image that is zoomed and translated, I tried to call several methods but they do not return the image. I'm looking for some method like getImage (not getImageData) or export (other zoom libraries have an export function) that returns a base64 string with the actual image.

tnt-freskim-veliu commented 2 months ago

Has anyone found out how to retrieve a base64-encoded image after zooming it?