- 使用 lipo -create 命令生成framework静态库
- 将IM4ObjC.framework拖入到项目中.
- 添加依赖库libz.tbd libbz2.tbd libxml2.tbd
- 在Build Settings中搜索ENABLE_BITCODE,将Enable Bitcode设置为NO.
ImageMagickEngine *imEngine = [[ImageMagickEngine alloc]init];
[imEngine im_resizeImageWithMode:3 sourcePath:sourceImgPath destPath:destImgPath width:200 height:0 quality:0];
missL,[email protected]
IM4ObjC is available under the MIT license. See the LICENSE file for more info.