Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用YYImageEncoder将多张PNG生成为webp格式的Data时候崩溃 #132

Open
VinceXR opened this issue Jan 26, 2019 · 1 comment
Open

Comments

@VinceXR
Copy link

VinceXR commented Jan 26, 2019

如题
使用场景为,在一个for循环内将多张Png转换成webp格式的Data的时候会不固定的在第n个崩溃,但是崩溃都是在ecoder.encode 这个点方法内崩溃
崩溃的具体位置为YYImageCoder.m的第1284行上
if(!WebPPictureImportRGBA(&picture, buffer.data, (int)buffer.rowBytes)) goto fail; (就是这货)
求大神帮助
@ibireme

@lk568999
Copy link

SDWebImage 中WebP和YYImage中的WebP冲突
我的解决方法是,把YYImage手动拖入项目,手动导进WebP.framework
可以解决问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants