wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
69 stars 24 forks source link

WebP image is x10 heavier than original JPG file!!! #622

Closed Klemart3D closed 2 years ago

Klemart3D commented 2 years ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug Imagify converts images to WebP which are x10 heavier than original file.

To Reproduce Steps to reproduce the behavior:

  1. Go to Media library
  2. Add a new picture and wait for "optimization"
  3. See very voluminous optimize file size, "gain" is negative (like for hundreds of pictures)
  4. Now my space disk is full because of this "optimization" plugin that I paid for…

Expected behavior Don't convert an image if webp format is bigger than original uploaded file or add an option to choose for that.

Screenshots webp

Additional context

Backlog Grooming (for WP Media dev team use only)

Klemart3D commented 2 years ago

This may be can help: https://github.com/wp-media/imagify-helpers/tree/master/webp/imagify-prevent-larger-webp

markonikolic985 commented 2 years ago

Hey @Klemart3D

Thanks for sharing this. We already have the opened issue for this #510 , so I am closing this one as we can follow the progress on #510.

We are considering solutions for this and should be able to find a proper one in the near future.