| java.lang.Object com.flexive.shared.media.impl.FxMediaNativeEngine
FxMediaNativeEngine | public class FxMediaNativeEngine (Code) | | Java native Engine
This engine relies on java image io and apache sanselan
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) version: $Rev |
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 |
|
|