Properties

    type

    The type of the current image as one of the GD libraries integers.

    mime

    MIME type of the current image, if it has already been determined.

    Example: image/png

    Integer of the current image width in pixels.

    Example:

    height

    Example: 600

    dirname

    The current directory of the image, if instance was created from file.

    Example:

    The current basename of the image file, if instance was created from file.

    Example: img_0450.jpg

    extension

    Example:

    filename

    The current image basename without extension, if instance was created from file.

    Example: img_0450

    Buffer of last result of encode.

    cachekey

    Key of the image in cache. Only available if image caching is used.