NIMImageOption Class Reference

Inherits from NSObject
Declared in NIMImageObject.h

Overview

图片选项

  compressQuality

压缩参数默认为 0.5,可传入0.0-1.0的值,如果传入非法参数,则按照 0.5 进行压缩

@property (nonatomic, assign) float compressQuality

Discussion

压缩参数默认为 0.5,可传入0.0-1.0的值,如果传入非法参数,则按照 0.5 进行压缩

Declared In

NIMImageObject.h

  format

图片压缩格式,默认为JPEG

@property (nonatomic, assign) NIMImageFormat format

Discussion

图片压缩格式,默认为JPEG

Declared In

NIMImageObject.h