On 2016-05-26 21:05, Carpii UK wrote:
Do you know if this also supports SVG?
As its nothing but a bit of xml/ascii, it wouldn't need base64 encoding. Could also generate these very efficiently, for a given color, without shelling out to some sort of image tool. Also like PDF, its a vector format so would scale for all UI sizes
According to the UTCoreTypes.h header file in the LaunchServices framework in the CoreServices framework SVG is supported since OS X 10.10.
But to be sure you should call the "imageTypes" class method on NSImage.