seanooi / iOS-WebP

Google's WebP image format decoder and encoder for iOS
http://seanooi.github.io/iOS-WebP/
MIT License
856 stars 138 forks source link

Added option to specify WebPConfig on imageToWebP #14

Closed weibel closed 9 years ago

weibel commented 9 years ago

In our setup we needed to fine tune some of the WebPConfig options when encoding to WebP so we added this possibility to imageToWebP. The config overrides whatever has been set by WebPPreset.

This change is still backwards compatible with existing code.

shmidt commented 9 years ago

@weibel I see that @seanooi last time visited Github at 2nd of April, so you better make your own fork and maintain it.

weibel commented 9 years ago

Hi. Thanks for merging. You might note that I changed the library to build it's own libwebp from the libwebp pod. I have not tested this thoroughly.

seanooi commented 9 years ago

Hi @weibel, yes, I did see the change in the podfile. I ran a quick test on it and everything seems to be working correctly. I was going to do the same thing you did (allow WebPConfig fine tuning) but just never really got the time to work on it. Thank you very much for contributing your time and effort into enhancing this library.