Results 1 to 3 of 3

Thread: pixmaps

  1. #1
    Join Date
    May 2012
    Beans
    103

    pixmaps

    hey,

    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!

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: pixmaps

    Have you tried if ImageMagick can do it?

    It is open source, so you can get the source code.

  3. #3
    Join Date
    May 2012
    Beans
    103

    Re: pixmaps

    no that's not what im looking for. Im looking for code to create a mask from xpm runtime during loading, C++ please.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •