ⓘ This web page is about the old AlgoSim 2 software. Perhaps you are looking for the new Algosim 3 application?
AlgoSim
Homepage | Screenshots | Gallery of Visualisation | User's Guide | Function Reference | Download | FAQ | Support | Bugs and Solutions | Donate

Reference: pmSwapRGBComponents

pmSwapRGBComponents(pm, which) returns the pixmap pm with two of its RGB channels swapped. which is a two-character string specifying the channels by name: "R", "G, and "B".

Example:

  pmSwapRGBComponents(pm, "rg")