Given a gaussian blur and image quality parameter, determines if a JPEG or PNG output is needed.
Generates an image completely filling the provided dimensions.
Generates an image completely filling the provided dimensions.
A Vector image is not re-sized this way, but this method could be called to produce a rasterized version of a vector graphic for use as a library search results image.
Resizes the supplied file with adaptive resizing based on the supplied width and/or height values.
Resizes the supplied file with adaptive resizing based on the supplied width and/or height values.
the original file to resize
generated image
the width value option
the height value option
Generates a thumbnail of the specified image file at the supplied width and height.
Generates a thumbnail of the specified image file at the supplied width and height. The aspect ratio will be maintained and the outer extents will be transparent in the generated PNG.
Original image to generate a thumbnail from
Generated image
Thumbnail width
Thumbnail height