ibireme/YYImage

BAD_ACCESS on YYImageCoder.m

Lailan opened this issue · 2 comments

When I call the method YYCGImageCreateEncodedWebPData(lista[i].cgImage!, false, 0, 0, YYImagePreset.default) and step an image with transparency as parameter, the YYImageCoder.m returns me a BAD_ACCESS error, more precisely on the line:
 
if (! WebPPictureImportRGBA (& picture, buffer.data, (int) buffer.rowBytes)) goto fail;

Can someone help me?

I am having the same issue. How did you solve it?

Hi @pballart
I solved.
Check my project.
https://github.com/Lailan/Figurinhas-Whastapp/tree/master/StickersWhatsapp/WhatsApp

I used the YYImagecoder from WhatsApp repository.