图像解码器和图像查看器功能
应用介绍
图像解码器和图像查看器功能,源码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.

©软件著作权归作者所有。本站所有内容均来源于网络,不得违法使用,仅供学习使用,请支持正版!
转载请注明出处: 662P » 图像解码器和图像查看器功能
发表评论 取消回复