Comments (5)
It probably caused by image size. How large are they?
For example, test task of gulp-image
takes only about 10 seconds on my Mac.
from gulp-image.
Images are really small. 20KB to 100KB, dimensions are all below 500x500.
from gulp-image.
I'm wondering what compression tool is being used for my PNGs. For example:
[gulp] ✔ testing.png -> before=43.34 kB after=13.01 kB reduced=30.34 kB(70%)
[gulp] Finished 'images' in 4.33 min
This is a 800x600 image with alpha transparency. The same image in the Mac app ImageOptim using OptiPng took 4 seconds.
from gulp-image.
i have the same issue.
20+ minutes for optimization is too long.
[14:15:51] Requiring external module babel-core/register
[14:15:54] Using gulpfile ~/Documents/actor-platform/actor-apps/app-web/gulpfile.babel.js
[14:15:54] Starting 'sounds'...
[14:15:54] Finished 'sounds' after 16 ms
[14:15:54] Starting 'sprite'...
[14:15:54] Finished 'sprite' after 13 ms
[14:15:54] Starting 'emoji'...
[14:15:54] Finished 'emoji' after 21 ms
[14:15:54] Starting 'images'...
[14:15:54] Finished 'images' after 2.03 ms
[14:15:54] Starting 'assets'...
[14:15:54] Finished 'assets' after 16 μs
[14:15:56] ✔ favicon_logo_32x32.png -> before=1.84 kB after=739 B reduced=1.12 kB(60.9%)
[14:15:57] - notification_icon.jpg -> Cannot improve upon 1.96 kB
[14:15:57] - notification_icon_256.jpg -> Cannot improve upon 8.78 kB
[14:15:57] ✔ logo_32x32.png -> before=1.34 kB after=574 B reduced=803 B(58.3%)
[14:15:59] ✔ ios_logo_76x76.png -> before=4.14 kB after=1.39 kB reduced=2.76 kB(66.5%)
[14:15:59] ✔ favicon_logo_96x96.png -> before=3.54 kB after=1.93 kB reduced=1.61 kB(45.4%)
[14:16:00] ✔ ios_logo_96x96.png -> before=5.14 kB after=1.68 kB reduced=3.46 kB(67.3%)
[14:16:02] ✔ win8_logo_144x144.png -> before=3.09 kB after=1.42 kB reduced=1.67 kB(54.1%)
[14:16:02] ✔ ios_logo_120x120.png -> before=6.02 kB after=1.98 kB reduced=4.03 kB(67%)
[14:16:04] ✔ ios_logo_152x152.png -> before=7.37 kB after=2.34 kB reduced=5.03 kB(68.2%)
[14:16:05] ✔ favicon_notification.png -> before=5.07 kB after=2.32 kB reduced=2.75 kB(54.2%)
[14:16:06] ✔ logo.png -> before=4.12 kB after=2.53 kB reduced=1.59 kB(38.6%)
[14:16:12] ✔ logo_152x152.png -> before=8.48 kB after=2.76 kB reduced=5.71 kB(67.4%)
[14:16:12] ✔ favicon_logo_160x160.png -> before=5.29 kB after=2.57 kB reduced=2.71 kB(51.4%)
[14:16:17] ✔ favicon_logo_196x196.png -> before=6.33 kB after=3 kB reduced=3.33 kB(52.6%)
[14:16:21] ✔ [email protected] -> before=8.93 kB after=4.27 kB reduced=4.66 kB(52.2%)
[14:17:21] ✔ notification_icon_512.png -> before=20.08 kB after=5.92 kB reduced=14.16 kB(70.5%)
[14:20:24] ✔ sheet_apple_16.png -> before=921.09 kB after=172.57 kB reduced=748.52 kB(81.3%)
[14:20:40] ✔ sheet_emojione_16.png -> before=619.96 kB after=138.22 kB reduced=481.74 kB(77.7%)
[14:20:42] ✔ sheet_twitter_16.png -> before=603.29 kB after=134.71 kB reduced=468.58 kB(77.7%)
[14:20:48] ✔ sheet_google_16.png -> before=604.87 kB after=134.67 kB reduced=470.2 kB(77.7%)
[14:22:15] ✔ sheet_apple_20.png -> before=1.27 MB after=236.98 kB reduced=1.04 MB(81.8%)
[14:22:25] ✔ sheet_twitter_20.png -> before=807.7 kB after=176.87 kB reduced=630.83 kB(78.1%)
[14:22:29] ✔ sheet_emojione_20.png -> before=850.25 kB after=185.87 kB reduced=664.38 kB(78.1%)
[14:22:29] ✔ sheet_google_20.png -> before=819.45 kB after=185.16 kB reduced=634.29 kB(77.4%)
[14:26:45] ✔ sheet_emojione_32.png -> before=1.56 MB after=367.69 kB reduced=1.2 MB(77%)
[14:26:54] ✔ sheet_google_32.png -> before=1.51 MB after=367.63 kB reduced=1.15 MB(76.2%)
[14:27:02] ✔ sheet_twitter_32.png -> before=1.44 MB after=346.31 kB reduced=1.1 MB(76.5%)
[14:27:29] ✔ sheet_apple_32.png -> before=2.55 MB after=547.08 kB reduced=2.01 MB(79%)
[14:32:45] ✔ sheet_emojione_64.png -> before=2.85 MB after=804.65 kB reduced=2.06 MB(72.4%)
[14:34:12] ✔ sheet_google_64.png -> before=3.42 MB after=838.56 kB reduced=2.6 MB(76.1%)
[14:34:48] ✔ sheet_twitter_64.png -> before=3.17 MB after=820.94 kB reduced=2.37 MB(74.7%)
[14:36:27] ✔ sheet_apple_64.png -> before=6.34 MB after=1.5 MB reduced=4.85 MB(76.4%)
➜ app-web git:(develop) ✗
from gulp-image.
Would you try again with version 1.1.0
?
Some useless process are dropped, so becoming better.
from gulp-image.
Related Issues (20)
- error after updating dependencies HOT 1
- Publish new version and run npm release HOT 2
- Error [ERR_REQUIRE_ESM]: Must use import to load ES Module:
- Wrong external dependencies for Ubuntu/Debian
- 6.3.1 doesn't work with the esm module loader HOT 2
- Don't work - Error [ERR_REQUIRE_ESM]: Must use import to load ES Module HOT 5
- Regression from version 4.1.0 to 4.2.0, install failing at mozjpeg HOT 7
- NPM 5.6.0 can't install gulp-image HOT 1
- Is it possible to have a node version? (without gulp) HOT 3
- Replace deprecated dependecy gulp-util HOT 1
- Can't change quality setting for mozjpeg HOT 2
- pngquant --speed does not do anything HOT 3
- Request to remove gulp-util HOT 2
- Getting a deprecation warning when installing HOT 2
- I don't have image type so how can I compressed?? when I compress with image type its working fine.
- jpeg HOT 1
- Npm install error HOT 1
- withMetadata HOT 4
- The output is different between window and mac HOT 5
- PNG HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gulp-image.