squoosh
oxipng
squoosh | oxipng | |
---|---|---|
276 | 14 | |
21,669 | 2,826 | |
1.1% | - | |
4.9 | 8.5 | |
23 days ago | 6 days ago | |
TypeScript | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
squoosh
- Image Optimization in Any Web Apps / Mobile Apps
-
Frontend Resources V2 π
Image optimizer: Squoosh your images for better performance
-
Programming with ChatGPT
I'm increasingly building entire functional prototypes from start to finish using Claude 3.5 Sonnet. It's an amazing productivity boost. Here are a few recent examples:
https://tools.simonwillison.net/image-resize-quality is a tool for dropping in an image and instantly seeing resized versions of that image at different JPEG qualities, each of which can be downloaded. I used to use the (much better) https://squoosh.app/ for this, but my cut-down version is optimized for my workflow (pick the smallest JPEG version that remains legible). Notes and prompts on how I built that here: https://simonwillison.net/2024/Jul/26/image-resize-and-quali...
django-http-debug - https://github.com/simonw/django-http-debug - is an actual open source Python package I released that was mostly written for me by Claude. It's a webhooks debugger - you can set up a URL and it will log all incoming requests to a database table for you. Notes on how I built that here: https://simonwillison.net/2024/Aug/8/django-http-debug/
datasette-checkbox is a Datasette plugin adding toggle checkboxes to any table with is_ or has_ columns. Animated demo and prompts showing how I built the initial prototype here: https://simonwillison.net/2024/Aug/16/datasette-checkbox/
https://tools.simonwillison.net/gemini-bbox is a tool for trying out Gemini 1.5 Pro's ability to return bounding boxes for items it identifies. You'll need a Gemini API key for this one, or take a look at the demo and notes here: https://simonwillison.net/2024/Aug/26/gemini-bounding-box-vi...
https://tools.simonwillison.net/gemini-chat is a similar tool for trying out different Gemini models (Google released three more yesterday) with a streaming chat interface. Notes on how I built that here: https://tools.simonwillison.net/gemini-chat
I still see some people arguing that LLM-assisted development like this is a waste of time, and they spend more effort correcting mistakes in the code than if they had written it from scratch themselves.
I couldn't disagree more. My development process has always started with prototypes, and the speed at which I can get a proof-of-concept prototype up and running with these tools is quite frankly absurd.
-
Enhancing Your Website: Best Practices for Optimization
Online Converters: Websites like Squoosh or Convertio allow you to easily convert images to WebP.
-
Fixing WordPress Website Core Web Vitals Issues: Complete Guide
Use an image conversion tool or software like Photoshop, GIMP, or an online converter (e.g., Squoosh) to convert your PNG or JPEG images to WebP format.
-
Rendering Images The Good Way In Your React Application
Squoosh
- Squoosh: Make images smaller using best-in-class codecs, right in the browser
-
Let's learn WebP before introduce it
This ensures security for sensitive content. (https://squoosh.app/)
-
Frontend resources! π
Image optimizer: Squoosh your images for better performance
-
SVG Viewer β View, edit, and optimize SVGs
Here's another handy tool that I use: https://squoosh.app/
oxipng
- OxiPNG: Multithreaded PNG optimizer written in Rust
-
screen capture/snapshot utility with image optimization support/configurability
I have had good experiences with https://github.com/shssoichiro/oxipng . Although, I suspect this wouldn't give you nearly enough space savings as jpg.
- Ask HN: Small scripts, hacks and automations you're proud of?
-
Exported png image with color-to-alpha edit is huge
If you do want the file as a PNG (for transparency and a common format that's well supported), but don't want it so huge, consider something like oxipng. https://github.com/shssoichiro/oxipng
-
Name a program that doesn't get enough love!
oxipng, pngquant and svgcleaner β optimizing images
-
Losslessly Optimising Images
I wonder how `pngcrush` compares to `oxipng` (https://github.com/shssoichiro/oxipng).
Personally, I use `oxipng` if I want lossless compression. However, most of the time, I use `pngquant` instead, since it gives significant size reduction even at `99%` (I can't even distinguish between the original and reduced image).
pngquant --quality=99 --ext=.png --force file.png
-
Adobe plans to make Photoshop on the web free to everyone
Depending on your workflow it might make sense to export PNGs directly from Affinity and then reduce their size with a utility like Oxipng, which uses all your cores to find the best algorithm for each particular image.
- OptiPNG vs. PNGcrush vs. Gimp to Reduce PNG Size
-
Help processing massive videos (16k resolution)
Assuming your frames are PNG files, you could use a lossless optimizer like optipng to try if their size can be reduced. I prefer oxipng, which is faster and multithreaded, and seems to have more active development.
-
(Urgent) Best Image Compressor Sites That Barely Compress?
Not sure what extensions of images you use, but if theyβre PNG you could use oxipng: https://github.com/shssoichiro/oxipng
What are some alternatives?
sharp - High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
ImageOptim - GUI image optimizer for Mac
opencv-rust - Rust bindings for OpenCV 3 & 4
go-unsplash - Go Client for the Unsplash API
image - Encoding and decoding images in Rust
Mono - Mono open source ECMA CLI, C# and .NET implementation.
devilbox - A modern Docker LAMP stack and MEAN stack for local development
imageproc (PistonDevelopers) - Image processing operations
next-optimized-images - π next-optimized-images automatically optimizes images used in next.js projects (jpeg, png, svg, webp and gif).
steganography - A simple steganography library written in rust