4 @SuppressWarnings public class QImage{
9 public static const int
16 Format_ARGB32_Premultiplied = 6,
18 Format_ARGB8565_Premultiplied = 8,
20 Format_ARGB6666_Premultiplied = 10,
22 Format_ARGB8555_Premultiplied = 12,
25 Format_ARGB4444_Premultiplied = 15,
28 Format_RGBA8888_Premultiplied = 18,
30 Format_A2BGR30_Premultiplied = 20,
32 Format_A2RGB30_Premultiplied = 22,
34 Format_Grayscale8 = 24,
42 himage = QtXnl.long_string2(0, Constant.IMGLOAD, file, format);
49 himage = QtXnl.long_object_string(0, Constant.IMGLOAD, data, format);
59 himage = QtXnl.long_intlong2(0, Constant.IMGLOAD, wh | height, format);
70 himage = QtXnl.pointer_intlong2(data, Constant.IMGLOAD, wh | height, format);
80 QtXnl.widget_slot(himage, Constant.DELETEIMAGE);
85 return QtXnl.long_long_string2(himage, Constant.QIMGSAVE, quality, filename, format) != 0;
89 return QtXnl.long_long_string2(himage, Constant.QIMGSAVE, -1, filename, format) != 0;
93 return QtXnl.widget_get_int_value(himage, Constant.IMGWIDTH);
97 return QtXnl.widget_get_int_value(himage, Constant.IMGHEIGHT);
101 return QtXnl.widget_get_int_value(himage, Constant.IMGFORMAT);
105 return (
byte[])QtXnl.object_get_handle(himage, Constant.IMGGETDATA, 0);
109 return (
int[])QtXnl.object_get_handle(himage, Constant.IMGGETDATA, 1);