Panda3D
pandatool
src
imageprogs
imageInfo.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 imageInfo.h
10
* @author drose
11
* @date 2003-03-13
12
*/
13
14
#ifndef IMAGEINFO_H
15
#define IMAGEINFO_H
16
17
#include "
pandatoolbase.h
"
18
19
#include "
programBase.h
"
20
21
/**
22
* This program reads the headers of a series of one or more images and
23
* reports their sizes to standard output.
24
*/
25
class
ImageInfo
:
public
ProgramBase
{
26
public
:
27
ImageInfo
();
28
29
void
run();
30
31
protected
:
32
virtual
bool
handle_args(
Args
&args);
33
34
private
:
35
bool
is_power_2(
int
value)
const
;
36
37
Args
_filenames;
38
bool
_report_power_2;
39
};
40
41
#endif
ProgramBase
This is intended to be the base class for most general-purpose utility programs in the PANDATOOL tree...
Definition:
programBase.h:34
pdeque< std::string >
programBase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandatoolbase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ImageInfo
This program reads the headers of a series of one or more images and reports their sizes to standard ...
Definition:
imageInfo.h:25
Generated on Mon Sep 14 2020 15:07:10 for Panda3D by
1.8.20