public interface WPBImageProcessor
Interface to resize images stored in the WPBFileStorage
An application that uses Webpagebytes CMS will have to use a concrete implementation of WPBImageProcessor in the application configuration file.
boolean resizeImage(WPBFileStorage fileStorage, WPBFilePath filepath, int desiredSize, String outputFormat, OutputStream os) throws WPBException
fileStorage- File storage where the file to be resized is localed
filepath- Path of the file to be resized
desiredSize- Desired size of the new image
outputFormat- Output format of the image
os- OutpuStream that contains the resized image
Copyright © 2015. All rights reserved.