can sb please give me an example of how to create a mask of a particular xpm I loaded in C?
I loaded xpm into a pixmap, it can display it, but I want transparent background. Now, its black.
I read you need masks to do so, but I haven't seen an explicit example. Please help!
Have you tried if ImageMagick can do it?
It is open source, so you can get the source code.
no that's not what im looking for. Im looking for code to create a mask from xpm runtime during loading, C++ please.