CFML Functions

image Category functions

Function Name Description
ImageAddborder Adds a border to the image. The image will be resized to accomondate the border
ImageBlur Blurs the image
ImageClearrect Clears the bounding rectangle with the current background color
ImageContrastbrightness Adjusts the contrast and/or brightness
ImageCopy Copies the image down to the area specified. The bounding rectangle must be inside the current image boundaries
ImageCrop Crops the image down to the area specified. The bounding rectangle must be inside the current image boundaries
ImageDrawarc Draws the outline of a circular or elliptical arc covering the specified rectangle. Optionally filling it in.
ImageDrawbeveledrect Paints a 3-D highlighted rectangle filled with the current color. The edges of the rectangle will be highlighted so that it appears as if the edges were beveled and lit from the upper left corner. The colors used for the highlighting effect will be determined from the current color.
ImageDrawline Draws a line, using the current color, between the points (x1, y1) and (x2, y2) in this graphics context's coordinate system
ImageDrawlines Draws a line, using the current color, between the points (x1, y1) and (x2, y2) in this graphics context's coordinate system
ImageDrawoval Draws the outline of an oval. The result is a circle or ellipse that fits within the rectangle specified by the x, y, width, and height arguments
ImageDrawpoint Draws a line, using the current color, between the points (x1, y1) and (x2, y2) in this graphics context's coordinate system
ImageDrawrect Draws either a filled or a outline rectangle in the current active color
ImageDrawroundrect Draws either a filled or a outline rounded rectangle in the current active color
ImageDrawtext Draws the text given by the specified string
ImageFlip Flips the image around
ImageGetblob Returns binary version of this image
ImageGetbufferedimage Returns the underlying java.awt.image.BufferedImage instance
ImageGetexifmetadata Reads the EXIF/IPCT header information for a given file. If the image does not support it, an exception will be thrown
ImageGetexiftag Reads the given EXIF/IPCT tag information for a given file. If the image does not support it, an exception will be thrown
ImageGetheight Returns the height of image
ImageGetwidth Returns the width of image
ImageGrayscale Creates a grayscale of this image
ImageInfo Returns the meta data associated with this image
ImageNegative Creates a negative of this image
ImageNew Creates a new image from a variety of different sources, or creates a brand new one
ImagePaste Pastes an image into the new one
ImageRead Loads an image
ImageReadbase64 Converts the Base64 string into the image
ImageReflection Creates a reflection of the image
ImageResize Resizes the image to the values accordingly
ImageRotate Rotates the image
ImageSetantialiasing Sets whether the anti-aliasing feature is turned on; defaults to on
ImageSetbackgroundcolor Sets the active background color of the image for later drawing.
ImageSetdrawingcolor Sets the active color of the image for later drawing.
ImageSharpen Sharpens or Blurs the image
ImageWrite Writes the given image out to file
ImageWritebase64 Converts the image to Base64 before writing
ImageXordrawingmode Sets the paint mode of this image to alternate between this graphics context's current color and the new specified color
IsImage Determines if the object passed in is a CFML image
ToDatauri Creates a dataURI for use within HTML IMG/CSS/Javascript tags