Image optimization deals with optimization methods for image manipulation and display. How to better process image data, how to allow for more efficient display of images, etc.
Questions tagged [image-optimization]
123 questions
23
votes
3 answers
smush.it vs OptiPNG / pngcrush
I'd like to see some online vs. offline image optimizers comparison numbers, namely Yahoo! Smush.it vs. OptiPNG or pngcrush.
How those things differ in speed and resulting image size, and what is the best choice?

idle sign
- 1,164
- 1
- 12
- 19
19
votes
6 answers
Google Page Speed-Like Image Optimization
My website has about 20 thousand product images. Google Page Speed tells me they can be optimized, and it's correct - the difference is huge. Google is able to maintain identical quality and reduce the image size by 70-90%, and Page Speed even…

StronglyTyped
- 2,134
- 5
- 28
- 48
19
votes
2 answers
Does using image sprites make sense in HTTP/2?
The bundling of JS and CSS files won't be necessary in HTTP/2, but what about image sprites?
Looking at the demo it seems that it already works way faster than HTTP/1.1, but won't bundling images into sprites make it even faster? I mean, won't the…

Victor Marchuk
- 13,045
- 12
- 43
- 67
17
votes
4 answers
Optimize uploaded images with php (jpeg)
When running Page Speed in Google Chrome it suggests to optimize/compress the images. These images are mostly uploaded by users, so I would need to optimize them during uploading. What I find about optimizing jpeg images with php is something like…

Juvlius
- 237
- 1
- 2
- 6
13
votes
2 answers
Missing binaries error with image_optim_pack in production
I'm trying to deploy a Rails app with paperclip-optimizer and it's giving me an error about missing binaries. I have bundled image_optim_pack to provide the binaries but still get this:
ImageOptim::BinResolver::Error occurred
pngcrush worker:…

Mark Robinson
- 1,479
- 2
- 15
- 34
12
votes
2 answers
Image Optimization like TinyPNG
I have searched for a good Mass Image Optimizer over Google to use on Windows or by PHP to optimize the Images of a Folder but none of them where so good like TinyPNG. Most of them raised the size instead to shrink. Google Pagespeed Insight likes…

karadayi
- 2,212
- 2
- 21
- 36
10
votes
1 answer
Why is my favicon.ico file so much larger than the sum of its parts?
I have created a favicon.ico file that contains three sizes of .png icon sizes, 16px, 32px, and 64px.
In my Mac Finder, I have their sizes at 339b, 1kb, and 4kb respectively after optimizing them using ImageOptim. So let's maybe round up to…

Drewdavid
- 3,071
- 7
- 29
- 53
7
votes
2 answers
NextJS load external image Amazon
There is a specific url on amazon that stores some images on s3 that the amazon domain in question is already configured on the domain in next.config.js, but does not load on the front. If I put any external url, unsplah or other, it loads…

Renan Bessa
- 429
- 1
- 6
- 13
7
votes
1 answer
Got ENOENT error with gulp-image
It seems there's an error with image optimizer libraries.
The same error happens on gulp-image-min and some other gulp plugins.
Anyone can help?
My gulp task:
var image = require('gulp-image');
gulp.task('images', function () {
return…

Saeed Seyfi
- 637
- 5
- 18
5
votes
3 answers
How to optimize an image processing class
I have the following class that processes a Bitmap to place a fisheye distortion on it.
I've run my app through TraceView and found that virtually all the processing time is spent looping through the bitmap.
One developer has suggested not using…

turtleboy
- 8,210
- 27
- 100
- 199
5
votes
3 answers
Optimize images - Losslessly compress images in Java
Having an ecommerce website, We have thousands of product images. On checking pagespeed on google it shows me something like this:
I was wondering, if there is any built in feature in Java or any third party library is available with which we can…

Abhinav
- 3,322
- 9
- 47
- 63
4
votes
1 answer
How does the image optimization from next/image handle file sizes? Should I set up a file size limit for the image I'll upload to my web app?
From the docs:
https://nextjs.org/docs/basic-features/image-optimization
https://nextjs.org/docs/api-reference/next/image
The Automatic Image Optimization allows for resizing, optimizing, and serving images in modern formats like WebP when the…

cbdeveloper
- 27,898
- 37
- 155
- 336
4
votes
0 answers
How to use ImageOptim with asset catalogs on iOS
For PNGs not contained in an asset catalog Xcode's supposedly inferior optimization can be disabled through the COMPRESS_PNG_FILES settings. However, this doesn't seem to affect PNGs inside asset catalogs (see this question and answer). Does anyone…

hennes
- 9,147
- 4
- 43
- 63
4
votes
2 answers
Using mod_pagespeed with native node.js server
I've been looking for a solution to optimize images for better performance.
After trying some solutions (like sharp and imagemin, which resulted in never smaller, sometimes bigger files), I am now looking to experiment with Google's pagespeed.…

Noy
- 1,258
- 2
- 11
- 28
4
votes
3 answers
What is PngCrush in iOS?
i know that Pngcrush is an image optimisation technique in iOS , but my doubt is does X-code will perform this internally during each build or before deploying our app to iTunes store we need to do this image optimization?

Graham Bell
- 1,139
- 1
- 14
- 30