Package org.imixs.marty.util
Class ImageCompactor
java.lang.Object
org.imixs.marty.util.ImageCompactor
This ImageCompactor ejb provides a mechanism to resize new uploaded images
(.jpg).
image.maxWidth = maximal width of a image, indicates if a image should be resized. image.fileExtension = indicates the file extension for images and photos
- Version:
- 1.0
- Author:
- rsoika
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidresize(org.imixs.workflow.ItemCollection workitem, int maxSize) This method tests if an attached is a photo and need to be resized
-
Constructor Details
-
ImageCompactor
public ImageCompactor()
-
-
Method Details
-
resize
This method tests if an attached is a photo and need to be resized- Parameters:
ctx-- Throws:
Exception
-