If you could have HTML/CSS in the tooltips you could just make a quick popover that wouldn't need any images, I already have a command that does this (as a new window) because the color selector doesn't like CSS rgb definitions.

On 27 May 2016 at 00:21, Jacob Carlborg <doob@me.com> wrote:
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



_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate



--
Kind regards,
George.

http://gsgd.co.uk