Panda3D
Loading...
Searching...
No Matches
imageFixHiddenColor.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file imageFixHiddenColor.h
10 * @author drose
11 * @date 2003-03-13
12 */
13
14#ifndef IMAGEFIXHIDDENCOLOR_H
15#define IMAGEFIXHIDDENCOLOR_H
16
17#include "pandatoolbase.h"
18
19#include "imageFilter.h"
20
21/**
22 * This program repairs an image's RGB values hidden behind an A value of 0.
23 */
25public:
27
28 void run();
29
30private:
31 Filename _alpha_filename;
32 double _min_opaque_alpha;
33 double _max_transparent_alpha;
34};
35
36#include "imageFixHiddenColor.I"
37
38#endif
The name of a file, such as a texture file or an Egg file.
Definition filename.h:44
This is the base class for a program that reads an image file, operates on it, and writes another ima...
Definition imageFilter.h:26
This program repairs an image's RGB values hidden behind an A value of 0.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.