enzolutions / community-bookstore

Community Bookstore to exchange and donate books
10 stars 18 forks source link

Grunt Imagemin: Error minifying images #3

Closed enzolutions closed 10 years ago

enzolutions commented 10 years ago

When I try to minify images executing $ grunt or $ grunt imagemin I got the following error, because ecology image is missing

grunt imagemin Running "imagemin:dynamic" (imagemin) task ✔ web/images/testimonial-quotes.png (saved 1.12KB) ✔ web/images/knowledge.png (saved 1.19KB) ✔ web/images/economy.png (saved 1.42KB) ✔ web/images/build/testimonial-quotes.png (already optimized) ✔ web/images/build/knowledge.png (already optimized) ✔ web/images/build/economy.png (already optimized) Error: * Processing: web/images/build/ecology.png 151x151 pixels, 8 bits/pixel, 17 colors (16 transparent) in palette Input IDAT size = 3273 bytes Input file size = 3421 bytes

Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 3304 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 3273

web/images/build/ecology.png is already optimized.

Output file: web/images/build/build/ecology.png Error: Can't reopen the input file