schmitzal / tinyimg

TYPO3-Extension which compresses images (png & jpg) uploaded in the backend with the tinypng API
GNU General Public License v3.0
15 stars 11 forks source link

Working with ext image_autoresize #23

Closed bocianl closed 5 years ago

bocianl commented 6 years ago

Hello, thanks for the great extension.

I have some questions - is this ext can run with image_autoresize? And another question - what about files that are resized by TYPO3 - this images are also compressed by tinyimg?

schmitzal commented 6 years ago

Hi,

never worked with image_autoresize, but will have a look at it how it works and if it triggers the signal slots used by tinyimg. Processed files aren't compressed, as if so, everyone would reach the tinify free monthly compression limit really fast. But the source files are compressed and an image which is downscaled by TYPO3/Imagemagick wont get bigger. It get's even smaller as less size = less pixels and bytes. An example test I made:

Pretty good result I think.

I'll come to you, when I had time to check the compability with ext image_autoresize. Meanwhile, if you got the time, you could just test it :)

Best regards and have nice weekend.

Alex

bocianl commented 6 years ago

Hi, Yes, I already test it. It's not working with ext image_autoresize.

About processed files - good to know - thank you.

I think everyone got two problems with the editors - they upload too big images and not compressed. One of these problems your ext solves :)