00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef IMAGEINFO_H
00016 #define IMAGEINFO_H
00017
00018 #include "pandatoolbase.h"
00019
00020 #include "programBase.h"
00021
00022
00023
00024
00025
00026
00027
00028 class ImageInfo : public ProgramBase {
00029 public:
00030 ImageInfo();
00031
00032 void run();
00033
00034 protected:
00035 virtual bool handle_args(Args &args);
00036
00037 private:
00038 bool is_power_2(int value) const;
00039
00040 Args _filenames;
00041 bool _report_power_2;
00042 };
00043
00044 #endif
00045