Feat/image optimizer#234
Conversation
c18db24 to
dc6e0c8
Compare
|
I will check this next week! |
| "start:app": "yarn workspace @drodil/backstage-plugin-toolbox start --config ../../app-config.yaml", | ||
| "start": "yarn workspace @drodil/backstage-plugin-toolbox-backend start --config ../../app-config.yaml", | ||
| "build": "backstage-cli repo build --all", | ||
| "build:wasm": "cd plugins/toolbox/src/components/Misc/ImageOptimizer/rustCode && wasm-pack build --target web", |
There was a problem hiding this comment.
Can we somehow make this so that it works for other rust builds as well in the future without need to add a lot of folders and commands here?
There was a problem hiding this comment.
I added a script for that where i would think, that it's the best way for doing that. It's under root in scripts. could you please trigger the pipeline so we could see if the CI is happy with it?
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
|
Not stale |
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
… building all wasm projects in the entire toolbox repo
…not need to modify the .pretierignore) and adjusted paths through the repo
340555f to
256437a
Compare
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
The new Image Optimizer is now ready. I added it in Misc under components.
I used pixo as Encoder, Image as Decoder and compiled it to WASM. You can find the all rust things under the dir "rustCode"
The frontend is separated in (
CompressTab,ResizeTab,PreviewCard).You can Decode PNG, JPEG, AVIF and WebP but only Encode to JPEG or PNG.
This is also for resizing.
Future Wishes:
If you want to changed something, do an issue. I'll do it.
Here some Screenshots. Hope you like it:
