[TxMt] Re: showing preview of css colors
Jacob Carlborg
doob at me.com
Thu May 26 20:21:43 UTC 2016
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.
--
/Jacob Carlborg
More information about the textmate
mailing list