| java.lang.Object com.flexive.core.IMParser
IMParser | public class IMParser (Code) | | ImageMagick identify parser
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
CONVERT_BINARY | final public static String CONVERT_BINARY(Code) | | |
IDENTIFY_BINARY | final public static String IDENTIFY_BINARY(Code) | | |
getPingDimensions | public static int[] getPingDimensions(String extension, String line)(Code) | | Parse a ping response from ImageMagick for image dimensions
Parameters: extension - extension of the file Parameters: line - the response from ImageMagick's ping command array containing dimensions or {0,0} if an error occured |
scale | public static int[] scale(File original, File scaled, String extension, int width, int height) throws FxApplicationException(Code) | | Scale an image and return the dimensions (width and height) as int array
Parameters: original - original file Parameters: scaled - scaled file Parameters: extension - extension Parameters: width - desired width Parameters: height - desired height actual width ([0]) and height ([1]) of scaled image throws: FxApplicationException - on errors |
|
|