Package lumis.portal.file.transformation
Class WebpImageTransformation
- java.lang.Object
-
- lumis.portal.file.transformation.WebpImageTransformation
-
- All Implemented Interfaces:
ITransformation
public class WebpImageTransformation extends java.lang.Object implements ITransformation
Transformation to scale and convert an image to webp.- Since:
- 16.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description WebpImageTransformation(java.io.InputStream content, java.lang.Integer width, java.lang.Integer height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
transform(java.io.OutputStream outputStream)
Performs the file transformation using theoutputStream
parameter as target of the file transformations.
-
-
-
Method Detail
-
transform
public void transform(java.io.OutputStream outputStream) throws PortalException
Description copied from interface:ITransformation
Performs the file transformation using theoutputStream
parameter as target of the file transformations.- Specified by:
transform
in interfaceITransformation
- Parameters:
outputStream
- the writer to be transformed.- Throws:
PortalException
-
-