christophlehmann / imageoptimizer

TYPO3 Extension for lossless image optimization with binaries of your choice.
43 stars 22 forks source link

[FEATURE] Integrate TinyPNG API #1

Closed LimeUwe closed 6 years ago

LimeUwe commented 7 years ago

Hi Christoph,

I just made some tests with the Tinify Service over at tinypng.com. The results are very impressing. Have you had a look at this service before?

I was just wondering, if it was somehow possible to integrate such a service in the TYPO3 image upload workflow. Then I discovered your extension, which provides just the mechanics, which would be needed to achieve this.

In the part where your code is doing the server side optimisations, the tinify function could be integrated alternatively, maybe: https://tinypng.com/developers/reference/php

Greetings, Uwe

christophlehmann commented 7 years ago

Hi Uwe,

there are many services providing lossy image optimization. And yes, their results are quiet impressive and probably seems better than lossy compression with im/gm.

This extension may implement such services, but i think it's better to provide an interface for other extensions, see #2

mgrn0 commented 7 years ago

Just as a sidenote / additional information: https://imageoptim.com/api has launched an API and is really good in compression terms (though, not free). An interface that works with that API (there is a php version available) would be awesome.

christophlehmann commented 7 years ago

@LimeUwe There is already an extension for that service: https://github.com/Scarbous/mr_tinypng

LimeUwe commented 7 years ago

Thanks for pointing out! Since it's not v8 compatible yet, I will have to see if one can use it.