图像解码器和图像查看器功能

时间:2021-04-03 12:51:00
【文件属性】:
文件名称:图像解码器和图像查看器功能
文件大小:2.2MB
文件格式:ZIP
更新时间:2021-04-03 12:51:00
IOS源码 图像解码器和图像查看器功能,源码YLGIFImage,YLGIFImage 是异步 GIF 图像解码器和图像查看器,支持播放 GIF 图像,而且使用很少的内存。 [lang=objc] YLImageView* imageView = [[YLImageView alloc] initWithFrame:CGRectMake(0, 160, 320, 240)]; [self.view addSubview:imageView]; imageView.image = [YLGIFImage imageNamed:@"joy.gif"]; [/lang] Asynchronized GIF image class and Image viewer supporting play/stop GIF images. It just use very less memory. Following GIF usually will cost almost 600MB memory if it is fully decoded (800x600x389x4 Bytes), but using YLGIFImage, it just use about 30MB memory.

网友评论