oxipng
sharp
Our great sponsors
oxipng | sharp | |
---|---|---|
8 | 59 | |
1,621 | 22,906 | |
- | - | |
4.4 | 9.1 | |
about 1 month ago | 10 days ago | |
Rust | JavaScript | |
MIT License | Apache License 2.0 |
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.
oxipng
-
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
-
Mitigating egress data transfer costs
For PNGs specifically oxipng is awesome. It even has Zopfli compression, which is compatible regular compression, but is ~30% smaller (but requires lots of CPU time to compute).
-
rustc performance improvement from rust 1.46 to 1.51
They do. ripgrep and fd extensively use parallelism, which is specifically enabled by Rust's safety guarantees. oxipng is also in the same boat.
-
Best PNG Optimizer Other Than TinyPNG?
PNG: oxipng SVG: svgcleaner
-
Hope I got your sympathy
Or go Commando: https://github.com/shssoichiro/oxipng
sharp
-
best way to generate image on server
Some popular Node.js libraries for manipulating images are node-canvas and sharp.
-
simple-img microfrontend
Using sharp we can easily apply many common transformations to any image, including watermarking! Vercel's Edge network helps ensure we cache the result and a slight tweak to MicroFrontendRegistry via the MicroFrontendRegistry.url() method will give us a URL to request the image transformation so that it can be leveraged in img tags as well.
-
How does github-readme-stats work?
For writing text on images (like PNG or JPEG) I would use jimp or sharp. jimp is easier if all you want to do is add text on image with custom font.
- Preferred WEBP image quality/compression amount
-
I need a package that reduces photo quality in nodejs (Cloud Function)
Other than what u/loradan said, there is Sharp that I've used before in a cloud function. It might be heavyweight for your purposes, since it does a lot more than just image resizing, but it can still do exactly what you'd want.
-
Payload, a Dev-First TypeScript Headless CMS, is now Free and Open-Source
Regarding a cropping tool, this could be done using a plugin and a custom component. However, I would support putting a feature like that into the core. We already use sharp internally and crop with a default cropping of center. If you'd like to, I'd say head over to our GitHub Discussions and submit a feature request, and we can hash out some details there.
-
Need to mass compress gifs
If you have some Node and command line experience, check out Sharp. It’s an amazingly powerful image optimization tool used as the backbone of many image optimization services/apps.
-
Learn How to Use Lambda Layers by Building an Image Resize Function Using Sharp
Lambda Layer is a true gem in the Lambda function realm. It provides a convenient way to package your libraries and other dependencies that can be used with the Lambda functions. Our open-source project, Webiny which has 50k+ downloads and 5.5k stars on GitHub uses Lambda layers. It helps us reduce our Lambda function size by 12 MB and enable us to share the image processing library sharp across all the Webiny deployments.
-
Amazing preview images with Next.js and LQIP Modern
Firstly, let us install lqip-modern, and sharp. Sharp is an awesome package that helps with image transformations and is used by lqip-modern -
-
What is AVIF?
The Alliance for Open Media's AVIF encoding and decoding library is also in a Github repo. Sharp, a Node module, has AVIF support. To make AVIF images, you can use avif.io, Squoosh, and the Squoosh command line tool aimed at supporting Node.js apps. GIMP and Paint.net support AVIF and there are Photoshop plugins. Mac has no plans to support AVIF, but you can easily install a codec plugin on Windows 10 for native support.
What are some alternatives?
jimp - An image processing library written entirely in JavaScript for Node, with zero external or native dependencies.
gm - GraphicsMagick for node
squoosh - Make images smaller using best-in-class codecs, right in the browser.
Next.js - The React Framework
pica - Resize image in browser with high quality and high speed
sharp-libvips - Packaging scripts to prebuild libvips and its dependencies - you're probably looking for https://github.com/lovell/sharp
lwip - Light Weight Image Processor for NodeJS
ImageOptim - GUI image optimizer for Mac
libvips - A fast image processing library with low memory needs.
sveltekit-image-plugin - SvelteKit demo code for using vite-imagetools to add cached, responsive, Next-Gen images to a SvelteKit site with no cumulative layout shift.
probe-image-size - Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, SVG, PSD, ICO.