GIMP Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# gimplimits

## Name

gimplimits -- Boundaries of some GIMP data types and some global constants.

## Synopsis

    #define     GIMP_MIN_IMAGE_SIZE
    #define     GIMP_MAX_IMAGE_SIZE
    #define     GIMP_MIN_RESOLUTION
    #define     GIMP_MAX_RESOLUTION
    #define     GIMP_CHECK_SIZE
    #define     GIMP_CHECK_SIZE_SM
    #define     GIMP_CHECK_DARK
    #define     GIMP_CHECK_LIGHT

## Description

Boundaries of some GIMP data types and some global constants.

## Details

### GIMP_MIN_IMAGE_SIZE

    #define GIMP_MIN_IMAGE_SIZE  1

### GIMP_MAX_IMAGE_SIZE

    #define GIMP_MAX_IMAGE_SIZE  16777216  /*  2^24  */

### GIMP_MIN_RESOLUTION

    #define GIMP_MIN_RESOLUTION  5e-3      /*  shouldn't display as 0.000  */

### GIMP_MAX_RESOLUTION

    #define GIMP_MAX_RESOLUTION  65536.0

### GIMP_CHECK_SIZE

    #define GIMP_CHECK_SIZE    8

### GIMP_CHECK_SIZE_SM

    #define GIMP_CHECK_SIZE_SM 4

### GIMP_CHECK_DARK

    #define GIMP_CHECK_DARK   0.4          /*  corresponds to GRAY_CHECKS as  */

### GIMP_CHECK_LIGHT

    #define GIMP_CHECK_LIGHT  0.6          /*  defined in app/image_render.c  */

<<< Previous Page | Home | Up | Next Page >>>
gimpfeatures | gimpmath