22 comments

[ 1.3 ms ] story [ 144 ms ] thread
I'm not sure who this is build for. Wouldn't most OS have these functions builtin? macOS and iOS do.
Cool. On Windows, some Linux distros and Android, there isn't a builtin way to directly compress an image though.
Why do we have to upload our images into their servers?
It literally says

> No uploading. Files never leave your machine.

How do we know for sure, though? You can't firewall off this application and through the magic of service workers the app can even upload your pictures if you disconnect from the internet first and go back online later.
I mean, you can look for network traffic between giving it a file and closing the tab…
That won't catch a serviceworker that decides to run 30 minutes later.

The problem is that a browser is inherently internet connected and these applications simply cannot be firewalled off effectively, you'll just have to trust them not to do anything with the data you feed them.

Curious what this does different than ImageMagick. I can't view the website as for the antivirus thinks its a high risk site.
Squoosh with basic drawing and cropping tools, what exactly is the use case for this?
Squoosh with cropping sounds useful to me.
Cool. I was looking at ffmpeg.wasm[1] the other day and it had me wondering what the performance might look like for a similarly browser-based and offline service for common tasks.

I wonder about the use of remote file operation terminology (e.g., upload, download) versus local (e.g., open, save) when using offline/local and privacy as an attraction.

[1] https://github.com/ffmpegwasm/ffmpeg.wasm

Huh, I've been able to do that locally for 25 years.
Cool.

This is someone's project that works locally as well, on every operating system, without installing anything except 1 web browser.

If the author wanted, they could even ship it in a redbean ;)

https://redbean.dev

Here is a nice starting point, if they're reading this and interested https://github.com/ProducerMatt/redbean-template

If only Windows Defender did not immediately mark redbean as malware :(
For sure :( We are at least v aware about it and basically need a person at Microsoft to be really chill

https://twitter.com/JustineTunney/status/1541801499210092544

A very narrow slice of what Justine said in Discord: "But yes, at least one employee at Microsoft has to vouch for the project, or else Windows support won't be able to continue."

Which version is being flagged? Whenever I create a redbean binary, I always ask Microsoft to whitelist it using this form https://www.microsoft.com/en-us/wdsi/filesubmission They told me the false positives on the 2.0.16 release had been removed. The thing that sucks though is if you change the binary, for example adding an .html file to it using PKZIP (rather than using -D DIR to serve a local directory) then you have to upload and report your modified redbean to Microsoft 'security intelligence' yet again because Microsoft's security tools aren't very smart, and they're biased against open source developers.
I wish there was something like this that would easily support resizing an image to fit a fixed aspect ratio.

Eg, say "Make this image 640x480" and it would shrink it until it fit inside that box, then add transparent/blank as necessary to get to the size.

It is nearly impossible to explain to people why aspect ratio is important, and the ovals continue.

This is cool. I've been using tinypng.com (a service that uses "their" servers!!) for years, even with PS, IM and the rest installed locally .. basically due to - until very recently - superior compression, especially of png. It's entirely useful. Will take this newfangled local effort for a test run at my next rodeo :)
So nice. Browser as an application platform, in a truly serverless fashion.

The browser can expose many everyday small utilities like this, to scratch very particular itches.

I remember that the original idea of bookmarklets [1] was similar to this.

[1]: https://en.wikipedia.org/wiki/Bookmarklet

I've tried compressing an icon and it ended up being larger than the original:

    FILENAME.      ORIGINAL SIZE  UPDATED SIZE  SIZE IMPROVEMENT  FILE TYPE
    128-light.png  920 Bytes      1.83 KB       -104.02%          PNG
It would be nice to at least say that the compression didn't go well :)
Small bug report to the OP (hopefully you own the website): The light/dark toggle starts off on dark setting but visually the website is on the light setting. So if you toggle it, the toggle goes light, but visually nothing changes, toggling it back to dark, visually it changes to dark. This only works once as settings as persisted correctly. But opening up an incognito browser you can repro.

Edit: Cool website :)

Maybe a dumb question, but I'd love to try to build something similar for a journal.

Any idea what tech, if anything fancy, it's using?