00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef CONFIG_PNMIMAGETYPES_H
00020 #define CONFIG_PNMIMAGETYPES_H
00021
00022 #include <pandabase.h>
00023 #include <notifyCategoryProxy.h>
00024
00025 NotifyCategoryDecl(pnmimage_sgi, EXPCL_PANDA, EXPTP_PANDA);
00026 NotifyCategoryDecl(pnmimage_alias, EXPCL_PANDA, EXPTP_PANDA);
00027 NotifyCategoryDecl(pnmimage_tiff, EXPCL_PANDA, EXPTP_PANDA);
00028 NotifyCategoryDecl(pnmimage_tga, EXPCL_PANDA, EXPTP_PANDA);
00029 NotifyCategoryDecl(pnmimage_img, EXPCL_PANDA, EXPTP_PANDA);
00030 NotifyCategoryDecl(pnmimage_soft, EXPCL_PANDA, EXPTP_PANDA);
00031 NotifyCategoryDecl(pnmimage_bmp, EXPCL_PANDA, EXPTP_PANDA);
00032 NotifyCategoryDecl(pnmimage_jpg, EXPCL_PANDA, EXPTP_PANDA);
00033 NotifyCategoryDecl(pnmimage_jpg2000, EXPCL_PANDA, EXPTP_PANDA);
00034
00035 extern int sgi_storage_type;
00036 extern const string sgi_imagename;
00037 extern const bool tga_rle;
00038 extern const bool tga_colormap;
00039 extern const bool tga_grayscale;
00040
00041 extern const int jpeg_quality;
00042 extern const int jpeg_scale_num;
00043 extern const int jpeg_scale_denom;
00044
00045 extern const int bmp_bpp;
00046
00047 enum IMGHeaderType {
00048 IHT_none,
00049 IHT_short,
00050 IHT_long,
00051 };
00052
00053 extern IMGHeaderType img_header_type;
00054 extern const int img_xsize;
00055 extern const int img_ysize;
00056
00057 extern EXPCL_PANDA void init_libpnmimagetypes();
00058
00059 #endif