You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@saschazar21 I have been testing and see many useful use cases to modify the image like cropping. Since this comes as a separate utility to do this (jpegtran), it would complement well what you have already. Probably porting this follows the same pattern as the others you have on this repo.
For more info, the usage document talks about how to use jpegtran:
Hi @pbreah - interesting topic indeed. I'm not sure yet how to include those features though.
Maybe a separate .wasm binary or a totally separate package within this monorepo might do the trick. However, I need to think how and to what extent I may include those features. I'll leave this issue open for now and come back to it once I've come up with a solution.
I believe a separate .wasm file is the way to go. All these utilities are standalone, so it is something that would work well having a separate package on your monorepo. I have been testing several utilities from other wasm repos and all of these are just many "attempts" to deliver usable tools, but they lack the flexibility to be implemented on a real world project for the web. I already tried 5 repos, and none worked well for the project I am working on. Some of these repos have even huge .wasm files - which is not good.
You have a great structure already with these other tools, and the flexibility needed to continue to grow this repo. Adding extra tools to manipulate the image would make this monorepo a one stop place to get all you need to break free from using canvas on the browser. Plus nobody has ported jpegtran to wasm, you'll be the first one. I wouldn't hesitate to help with this, but don't know how much I could help without c++ experience to write glue code.
@saschazar21 I have been testing and see many useful use cases to modify the image like cropping. Since this comes as a separate utility to do this (jpegtran), it would complement well what you have already. Probably porting this follows the same pattern as the others you have on this repo.
For more info, the usage document talks about how to use jpegtran:
https://github.com/mozilla/mozjpeg/blob/master/usage.txt
Thanks for the great work so far!
The text was updated successfully, but these errors were encountered: