@warrenm @MacAffinity @pixelmator
What API do you suggest I use for converting pixel data btw eg device,
sRGB, CIE XYZ, L*a*b* and LCh?
What’s your target (iOS, macOS, cross-platform) and where are your bits going (CPU, GPU)? Streaming or one-shot conversion?
-
-
Both macOS and iOS, fast for production, accurate for testing. Data have to be on CPU for some operations, but GPU ok.
-
If you’re rendering the result w Metal, avoiding CPU read-back, it’s probably fastest, but first check if vImage fits your needs
-
I'm probably missing something obvious but I can't find anything CIE L* a* b* (or CIE LCh) related in vImage.
-
And MPSImageConversion seems undocumented (only checked on the web now)?
-
Still in beta, and will only be in iOS/tvOS 10. Encodes just like any other MPSUnaryImageKernel, though.
End of conversation
New conversation -
-
-
You have a lot of options: vImageConvert_*, MPSImageConversion, Metal shader, etc. Just trying to find the right fit.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.