Open gevhambarzumyan93 opened 8 months ago
@gevhambarzumyan93 Did you see the section in the README that mentions I only got it working with JPEG for now?
To get it working with png you'll need to make your own JIMP root package. See: https://github.com/danielholmes/jimp-vite/blob/main/src/custom-jimp.ts . And for how jimp does it, see:
https://github.com/jimp-dev/jimp/blob/main/packages/jimp/src/index.js https://github.com/jimp-dev/jimp/blob/main/packages/plugins/src/index.js
If you're done that can you please share a repo with me to show what you've done?
I think I did try getting png working at one point, but PNG.js had too many node/commonjs dependencies and I eventually stopped trying to get them all working.
maybe you have some solution?