1 #ifndef LIBRARIES_THUMBNAILS_H 2 #define LIBRARIES_THUMBNAILS_H 3 4 #include <utility/tagitem.h> 5 6 /* 7 * Tags available for ThbGenerateThumbnail() 8 */ 9 10 #define THB_Width (TAG_USER + 1) 11 #define THB_Height (TAG_USER + 2) 12 #define THB_Format (TAG_USER + 3) 13 #define THB_IgnoreAspect (TAG_USER + 4) 14 #define THB_ResizeFilter (TAG_USER + 5) 15 #define THB_Animated (TAG_USER + 6) 16 17 /* 18 * Additional tags available for ThbGetAttrs() 19 */ 20 21 #define THB_Data (TAG_USER + 5) 22 #define THB_OriginalWidth (TAG_USER + 6) 23 #define THB_OriginalHeight (TAG_USER + 7) 24 #define THB_OriginalDepth (TAG_USER + 8) 25 #define THB_IsAnimated (TAG_USER + 9) 26 #define THB_FramesPerSecond (TAG_USER + 10) 27 28 /* 29 * Available image formats 30 */ 31 32 #define THB_FORMAT_RGB888 0 33 #define THB_FORMAT_ARGB8888 1 34 35 /* 36 * Available resizing/resampling filters. 37 */ 38 39 #define THB_FILTER_NONE 0 40 #define THB_FILTER_FAST 1 /* default */ 41 #define THB_FILTER_QUALITY 2 42 43 #endif /* LIBRARIES_THUMBNAILS_H */