AndreRenaud / XOSD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to display an image.

RichardBronosky opened this issue · comments

I use XOSD to show cheat sheets. Some of them would work much better as images. Do you have any suggestions on how this can be done?

I'm afraid I haven't actually looked at XOSD in almost 20 years, so I don't really recall what is involved here. In theory, there should be no problem, since it's just a combination of a transparent mask and an image, both of which are just blobs of pixels. But the specifics of what is required would take me a while to look at. If you look at the code, you can see there are basically two images which are combined using XShapeCombineMask. You could try adding a new type LINE_image, and deal with it in expose.