GIMP Base Library Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#define GIMP_MIN_IMAGE_SIZE #define GIMP_MAX_IMAGE_SIZE #define GIMP_MIN_RESOLUTION #define GIMP_MAX_RESOLUTION #define GIMP_MAX_MEMSIZE
#define GIMP_MIN_IMAGE_SIZE 1
The minimum width and height of a GIMP image in pixels.
#define GIMP_MAX_IMAGE_SIZE 262144 /* 2^18 */
The maximum width and height of a GIMP image in pixels. This is a somewhat arbitray value that can be used when an upper value for pixel sizes is needed; for example to give a spin button an upper limit.
#define GIMP_MIN_RESOLUTION 5e-3 /* shouldn't display as 0.000 */
The minimum resolution of a GIMP image in pixels per inch. This is a somewhat arbitray value that can be used when a lower value for a resolution is needed. GIMP will not accept resolutions smaller than this value.
#define GIMP_MAX_RESOLUTION 65536.0
The maximum resolution of a GIMP image in pixels per inch. This is a somewhat arbitray value that can be used to when an upper value for a resolution is needed. GIMP will not accept resolutions larger than this value.