Skip to content

Feat/image optimizer#234

Closed
erfandass-pixel wants to merge 21 commits into
drodil:mainfrom
erfandass-pixel:feat/imageOptimizer
Closed

Feat/image optimizer#234
erfandass-pixel wants to merge 21 commits into
drodil:mainfrom
erfandass-pixel:feat/imageOptimizer

Conversation

@erfandass-pixel

@erfandass-pixel erfandass-pixel commented Mar 26, 2026

Copy link
Copy Markdown

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:

  • I think a better PNG Endcoder could help here, but did not find one which works good with WASM
  • another Tab for polarization filters (there are good rust crates for it)
  • I have tried to make it look like an tool of the toolbox (so in the frontend), but I think there is more room for better design

If you want to changed something, do an issue. I'll do it.

Here some Screenshots. Hope you like it:
image

image

@drodil

drodil commented Mar 27, 2026

Copy link
Copy Markdown
Owner

I will check this next week!

Comment thread .github/workflows/ci.yaml Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
Comment thread package.json Outdated
"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",

@drodil drodil Apr 7, 2026

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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?

Comment thread .prettierignore Outdated
Comment thread .github/workflows/release.yaml
Comment thread .github/workflows/release.yaml Outdated
@github-actions

Copy link
Copy Markdown

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!

@github-actions github-actions Bot added the stale label Apr 21, 2026
@drodil

drodil commented Apr 21, 2026

Copy link
Copy Markdown
Owner

Not stale

@github-actions github-actions Bot removed the stale label Apr 21, 2026
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

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!

@github-actions github-actions Bot added the stale label May 5, 2026
@drodil drodil removed the stale label May 5, 2026
Erfan Teymoori added 3 commits May 5, 2026 13:44
… building all wasm projects in the entire toolbox repo
…not need to modify the .pretierignore) and adjusted paths through the repo
@github-actions

Copy link
Copy Markdown

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!

@github-actions github-actions Bot added the stale label May 20, 2026
@github-actions github-actions Bot closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants