iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
wtl
V2EX  ›  iDev

有关iOS的图片色彩管理

  •  
  •   wtl · Feb 23, 2012 · 4509 views
    This topic created in 5276 days ago, the information mentioned may be changed or developed.
    目前iPhone(iOS5)对于带profile的图片的处理就是直接忽略,即便在程序中读取图片相关profile,然后设置UIImage的colorspace也没有效果。

    一个解决办法是转换图片的颜色空间到sRGB(如果用校色仪对iPhone进行profiling取得设备profile,也可以直接转向该iPhone的设备空间),但由于是使用CPU对图片的每一个像素进行操作,所以速度特别慢。

    几个加速方案,vimage, openGL, openCL.

    vimage -- 还是在CPU上计算,所以快不了多少。忽略。
    openGL -- 图像处理无疑是GPU的强项,核多啊。
    openCL -- 直接忽略底层硬件,有CPU用CPU,有GPU用GPU,都有都用,这么好?别高兴,iOS5还没放出来(不过苹果自己好像在用)。

    看来只剩下openGL,但本人对openGL没什么经验,可否有大大指点一二?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2652 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:40 · PVG 23:40 · LAX 08:40 · JFK 11:40
    ♥ Do have faith in what you're doing.