Uses of Class
com.caucho.quercus.lib.image.QuercusImage

Packages that use QuercusImage
com.caucho.quercus.lib.image   
 

Uses of QuercusImage in com.caucho.quercus.lib.image
 

Methods in com.caucho.quercus.lib.image that return QuercusImage
static QuercusImage ImageModule.imagecreatefromgif(Env env, Path filename)
          Create a new image from file or URL
static QuercusImage ImageModule.imagecreatefromjpeg(Env env, Path filename)
          Create a new image from file or URL
static QuercusImage ImageModule.imagecreatefrompng(Env env, Path filename)
          Create a new image from file or URL
static QuercusImage ImageModule.imagecreatefromstring(Env env, java.io.InputStream data)
          Create a new image from the image stream in the string
static QuercusImage ImageModule.imagecreatefromwbmp(Env env, Path filename)
          Create a new image from file or URL
static QuercusImage ImageModule.imagecreatefromxpm(Env env, Path filename)
          Create a new image from file or URL
 

Methods in com.caucho.quercus.lib.image with parameters of type QuercusImage
static java.awt.geom.AffineTransform ImageModule.image_get_transform(QuercusImage image)
          Returns a copy of the current transform
static boolean ImageModule.image_set_transform(QuercusImage image, java.awt.geom.AffineTransform transform)
          Returns a copy of the current transform
static boolean ImageModule.image_transform_scale(QuercusImage image, double sx, double sy)
          scaling transformation
static boolean ImageModule.image_transform_shear(QuercusImage image, double shx, double shy)
          shearing transformation
static boolean ImageModule.image_transform_translate(QuercusImage image, double x, double y)
          translation transformation
static boolean ImageModule.image_transform(QuercusImage image, double m00, double m10, double m01, double m11, double m02, double m12)
          general affine transformation
static boolean ImageModule.imagealphablending(QuercusImage image, boolean useAlphaBlending)
          Set the blending mode for an image
static boolean ImageModule.imageantialias(QuercusImage image, boolean useAntiAliasing)
          Should antialias functions be used or not
static boolean ImageModule.imagearc(QuercusImage image, double cx, double cy, double width, double height, double start, double end, int color)
          Draw a partial ellipse
static boolean ImageModule.imagechar(QuercusImage image, int font, int x, int y, java.lang.String c, int color)
          Draw a character horizontally
static boolean ImageModule.imagecharup(QuercusImage image, int font, int x, int y, java.lang.String c, int color)
          Draw a character vertically
static long ImageModule.imagecolorallocate(QuercusImage image, int r, int g, int b)
          Allocate a color for an image
static long ImageModule.imagecolorallocatealpha(QuercusImage image, int r, int g, int b, int a)
          Allocate a color for an image
static Value ImageModule.imagecolorat(Env env, QuercusImage image, int x, int y)
          Get the index of the color of a pixel
static long ImageModule.imagecolorclosest(QuercusImage image, int r, int g, int b)
          Get the index of the closest color to the specified color
static long ImageModule.imagecolorclosestalpha(QuercusImage image, int r, int g, int b, int a)
          Get the index of the closest color to the specified color + alpha
static long ImageModule.imagecolorclosesthwb(QuercusImage image, int r, int g, int b)
          Get the index of the color which has the hue, white and blackness nearest to the given color
static boolean ImageModule.imagecolordeallocate(QuercusImage image, int rgb)
          De-allocate a color for an image
static long ImageModule.imagecolorexact(QuercusImage image, int r, int g, int b)
          Get the index of the specified color
static long ImageModule.imagecolorexactalpha(QuercusImage image, int r, int g, int b, int a)
          Get the index of the specified color + alpha
static boolean ImageModule.imagecolormatch(QuercusImage image1, QuercusImage image2)
          Makes the colors of the palette version of an image more closely match the true color version
static long ImageModule.imagecolorresolve(QuercusImage image, int r, int g, int b)
          Get the index of the specified color or its closest possible alternative
static long ImageModule.imagecolorresolvealpha(QuercusImage image, int r, int g, int b, int a)
          Get the index of the specified color + alpha or its closest possible alternative
static boolean ImageModule.imagecolorset(QuercusImage image, int index, int r, int g, int b)
          Set the color for the specified palette index
static ArrayValue ImageModule.imagecolorsforindex(QuercusImage image, int argb)
          Get the colors for an index
static long ImageModule.imagecolortransparent(QuercusImage image, int color)
          Define a color as transparent
static boolean ImageModule.imageconvolution(QuercusImage image, ArrayValue matrix, double div, double offset)
          Apply a 3x3 convolution matrix, using coefficient div and offset
static boolean ImageModule.imagecopy(QuercusImage dest, QuercusImage src, int dx, int dy, int sx, int sy, int w, int h)
          Copy part of an image
static boolean ImageModule.imagecopymerge(QuercusImage dest, QuercusImage src, int dx, int dy, int sx, int sy, int w, int h, int pct)
          Copy and merge part of an image
static boolean ImageModule.imagecopymergegray(QuercusImage dest, QuercusImage src, int dx, int dy, int sx, int sy, int w, int h, int pct)
          Copy and merge part of an image with gray scale
static boolean ImageModule.imagecopyresampled(QuercusImage dest, QuercusImage src, int dx, int dy, int sx, int sy, int dw, int dh, int sw, int sh)
          Copy and resize part of an image with resampling
static boolean ImageModule.imagecopyresized(QuercusImage dest, QuercusImage src, int dx, int dy, int sx, int sy, int dw, int dh, int sw, int sh)
          Copy and resize part of an image
static boolean ImageModule.imagedashedline(QuercusImage image, int x1, int y1, int x2, int y2, int color)
          Draw a dashed line
static boolean ImageModule.imagedestroy(QuercusImage image)
          Destroy an image
static boolean ImageModule.imageellipse(QuercusImage image, double cx, double cy, double width, double height, int color)
          Draw an ellipse
static boolean ImageModule.imagefill(QuercusImage image, int x, int y, int color)
          Flood fill
static boolean ImageModule.imagefilledarc(QuercusImage image, double cx, double cy, double width, double height, double start, double end, int color, int style)
          Draw a partial ellipse and fill it
static boolean ImageModule.imagefilledellipse(QuercusImage image, double cx, double cy, double width, double height, int color)
          Draw a filled ellipse
static boolean ImageModule.imagefilledpolygon(Env env, QuercusImage image, ArrayValue points, int numPoints, int color)
          Draw a filled polygon
static boolean ImageModule.imagefilledrectangle(QuercusImage image, int x1, int y1, int x2, int y2, int color)
          Draw a filled rectangle
static boolean ImageModule.imagefilltoborder(QuercusImage image, int x, int y, int border, int color)
          Flood fill to specific color
static boolean ImageModule.imagefilter(Env env, QuercusImage image, int filterType, int arg1, int arg2, int arg3)
          Applies a filter to an image
static Value ImageModule.imagefttext(Env env, QuercusImage image, double size, double angle, int x, int y, int color, StringValue fontFile, java.lang.String text, ArrayValue extra)
          draws a true type font image
static boolean ImageModule.imagegammacorrect(QuercusImage image, float gammaBefore, float gammaAfter)
          Apply a gamma correction to a GD image
static void ImageModule.imagegd(QuercusImage image, Path file)
          Output GD image to browser or file
static void ImageModule.imagegd2(QuercusImage image, Path file)
          Output GD2 image to browser or file
static boolean ImageModule.imagegif(Env env, QuercusImage image, Path path)
          Output image to browser or file
static boolean ImageModule.imageinterlace(QuercusImage image, java.lang.Boolean enable)
          Enable or disable interlace
static boolean ImageModule.imageistruecolor(QuercusImage image)
          Finds whether an image is a truecolor image
static boolean ImageModule.imagejpeg(Env env, QuercusImage image, Path path, int quality)
          Output image to browser or file
static boolean ImageModule.imagelayereffect(QuercusImage image, int effect)
          Set the alpha blending flag to use the bundled libgd layering effects
static boolean ImageModule.imageline(QuercusImage image, int x1, int y1, int x2, int y2, int color)
          Draw a line
static boolean ImageModule.imagepalettecopy(QuercusImage source, QuercusImage dest)
          Copy the palette from one image to another
static boolean ImageModule.imagepng(Env env, QuercusImage image, Path path)
          Output a PNG image to either the browser or a file
static boolean ImageModule.imagepolygon(Env env, QuercusImage image, ArrayValue points, int numPoints, int color)
          Draw a polygon
static ArrayValue ImageModule.imagepstext(QuercusImage image, java.lang.String text, Value fontIndex, int size, int fg, int bg, int x, int y, int space, int tightness, float angle, int antialias_steps)
          To draw a text string over an image using PostScript Type1 fonts
static boolean ImageModule.imagerectangle(QuercusImage image, int x1, int y1, int x2, int y2, int color)
          Draw a rectangle
static boolean ImageModule.imagerotate(QuercusImage image, float angle, int backgroundColor, int ignoreTransparent)
          Rotate an image with a given angle
static boolean ImageModule.imagesavealpha(QuercusImage image, boolean set)
          Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images
static boolean ImageModule.imagesetbrush(QuercusImage image, QuercusImage brush)
          Set the brush image for line drawing
static boolean ImageModule.imagesetpixel(QuercusImage image, int x, int y, int color)
          Set a single pixel
static boolean ImageModule.imagesetstyle(Env env, QuercusImage image, ArrayValue style)
          Set the style for line drawing
static boolean ImageModule.imagesetthickness(QuercusImage image, int thickness)
          Set the thickness for line
static boolean ImageModule.imagestring(QuercusImage image, int font, int x, int y, java.lang.String s, int color)
          Draw a string horizontally
static boolean ImageModule.imagestringup(QuercusImage image, int font, int x, int y, java.lang.String s, int color)
          Draw a string vertically
static int ImageModule.imagesx(QuercusImage image)
          Returns the width of the image.
static int ImageModule.imagesy(QuercusImage image)
          Returns the height of the image.
static Value ImageModule.imagettftext(Env env, QuercusImage image, double size, double angle, int x, int y, int color, StringValue fontFile, java.lang.String text)
          draws a true type font image
static void ImageModule.imagewbmp(QuercusImage image, Path filename, int threshhold)
          Output image to browser or file
 void QuercusImage.setBrush(QuercusImage image)