iOS-WebP icon indicating copy to clipboard operation
iOS-WebP copied to clipboard

Library for Mac OS?

Open 0xJimmyBeh opened this issue 9 years ago • 2 comments

@seanooi

Hi,

Is it possible to convert this iOS-WebP library to use in Mac OS? I would like to use this library to convert image to WebP format in Mac OS.

Thanks.

0xJimmyBeh avatar May 09 '15 08:05 0xJimmyBeh

Hi, I haven't had any experience developing for MacOS, but I don't think it's that much of a difference compared to iOS. I might try taking a stab at it when I'm free, but in the mean time, feel free to take a gander at it.

seanooi avatar May 14 '15 20:05 seanooi

@seanooi

Thanks for your reply.

I have try modified to work in MacOS but failure as i have no experience developing for MacOS too.

Between, i found that converting image to WebP take very long time in device after picked from photo gallery until it show. A 350x500 image take around 6s and a 1024x768 take around 15s-20s.

To compare the time, NSData *imageData = UIImageJPEGRepresentation(img); <- mostly 1s NSData *imageData = UIImagePngRepresentation(img); <- take 3s-8s

Is there any way to improve the conversion time?

0xJimmyBeh avatar May 15 '15 04:05 0xJimmyBeh