Open mitchellknight opened 3 years ago
Thank you for the kind words :)
URL Based Configuration
that's a very good suggestion. I was thinking of something like ?quality=80
since that is the only available option at the moment. The quality parameter is subjective and depends on the image, but it seems useful to have a nice default that can be shared among users
Image Resizing
that seems very useful as well, I just have to think about how to design it in a way that's intuitive and not too heavy. The information is already dense on the website, and resizing needs some kind of a "widget" on its own
Support for Other File Formats
I understand how useful that would be. The thing is: for every new format you want to support, there is an entirely new tool that (potentially) needs to be ported to the browser. Also, the website is named jpeg.rocks, since my plan was to have a tool with a single responsibility and that was good for one job. But I really do get the value of having a PNG optimizer, I will do some exploration in this space
For now, I've opened issues https://github.com/neslinesli93/jpeg.rocks/issues/5 and https://github.com/neslinesli93/jpeg.rocks/issues/6
I understand how useful that would be. The thing is: for every new format you want to support, there is an entirely new tool that (potentially) needs to be ported to the browser. Also, the website is named jpeg.rocks, since my plan was to have a tool with a single responsibility and that was good for one job. But I really do get the value of having a PNG optimizer, I will do some exploration in this space
Ideas for exploration https://tinypng.com/
You might checkout https://compress-or-die.com/
Or even https://squoosh.app
This is the closest I've ever found to a simple tool I can point non-technical people towards. I have a few feature requests I would love for you to consider.
URL Based Configuration
The ability to point people at a specific URL that's already configured (e.g. https://jpeg.rocks/?options=80%,1200px) would be very helpful.
Image Resizing
The option to resize images, while maintaining aspect ratio, would be huge.
Support for Other File Formats
PNG and SVG support would be useful. That would make this tool a portable, cross-platform replacement for long established projects like ImageOptim.