![]() Throws java.io.IOException Throws: java.io.IOException Public getImageDimension(java.io.File imageFile) Throws java.io.IOException Get the image dimension of imageStream or null if no reader can be Int newRotation) Get relative Rotation needed to go from absolute rotation oldRotation to newRotation Public int getDeltaRotation(int oldRotation, Public getAsQuickBufferedImage( image) Get image in a form that can be processed quickly by most Java rendering operations. Public getAsImageIcon( image) Convert image to ImageIcon. Public getAsBufferedImage( image) Convert image to BufferedImage. Public static final THRESHOLD_BLUR See Also: Constant Field Values Method Detail Public static final SCALE_WIDTH See Also: Constant Field Values Public static final SCALE_HEIGHT See Also: Constant Field Values Public static final SCALE_FIT See Also: Constant Field Values Public static final SCALE_ACTUAL See Also: Constant Field Values Public static final int ROTATE_UPSIDE_DOWN See Also: Constant Field Values Public static final int ROTATE_NONE See Also: Constant Field Values Public static final int ROTATE_COUNTERCLOCKWISE See Also: Constant Field Values Public static final int ROTATE_CLOCKWISE See Also: Constant Field Values Public static final GAUSSIAN_BLUR See Also: Constant Field Values ![]() Public static final int DISTINCT_ROTATIONS_COUNT See Also: Constant Field Values Methods inherited from class Ĭlone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Yield true if filePathToCheck indicates an image file. ![]() Yield true if imageFormat indicates a compressed reformat. Get the size of the actual area used by a sourceWidth x sourceHeight image squeezed in an Possibly fits width and/or height while keeping proportions. Get a rescaled version of source that depending on scaleMode GetRotatedImage( image,Ĭompute scale to squeeze into an area of size areaWidthx areaHeightĪn image of size sourceWidthx sourceHeight. RenderingHints used by all render operations within ImageTools. Like JAI's PlanarImage.getNumBands(), but also works on RenderedImage Get an reader for in the image in imageStream. Get a map with the keys being an image file suffix, and the value being the name of the Get the format of imageStream or null if no image stream or reader Get the format of imageFile or null if no image reader is Get the image dimension of imageStream or null if no reader can be GetImageDimension(java.io.File imageFile) Get relative Rotation needed to go from absolute rotation oldRotation to newRotation Get image in a form that can be processed quickly by most Java rendering operations. On an image with a ColorModel of colorModel. ImageFile cannot be found (instead of returning null).Ĭompute fill values for color when it should be used by the "border" operator Same as ImageIO.createImageInputStream, but throws a FileNotFoundException if Public final class ImageTools extends ĪssertIsValidScaleMode( scaleMode)Ĭreate image to represent a busy image that is in process of being rendered.ĬreateImageInputStream(java.io.File imageFile) SUMMARY: NESTED | FIELD | CONSTR | METHOD
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |