Visual C++ |
EN NL TR |
Fibergeek's Alpha Channel Viewer What does the program do? With this program you can load two images. One is the background image and the other one is the foreground image. If the foreground image contains any transparency information or an alpha channcel, it will be displayed as such over the background image. Both images are resized to the size of the window. Instead of loading a background image, you can also choose a single background color (which defaults to black).
I created this program to preview the alpha channel of some
image files and to see what kind of effect they create on any kind of
background image. Possible enhancements... Possible enhancements include : loading an alpha channel from a grayscale
file, viewing the alpha channel as a grayscale image and displaying the
images in their original size instead of resizing them. The code... The program uses my BCG! wrapper (included in the project file) and also makes use of the free CxImage image library. The program has been commented in dutch but for the average non-dutch speaking programmer it shouldn't be hard to figure out what's going on. All the drawing magic is being done by the CxImage library. Because I'm using my own BCG! wrapper the project will compile as an ANSI application but it can work with UNICODE file names (if you're using the correct Windows version (NT/W2K/XP/2003)). The program also works under Windows 9X/ME, if this isn't the case then please let me know (fibergeek @ codegurus.be). NOTE : All files are ZIP files, this program has been commented in dutch but the interface is english
|