Interface FileTransformer
-
- All Implemented Interfaces:
public interface FileTransformerFileTransformer is responsible for transforming the file before uploading it. This can be used to compress images or videos before uploading them. The transformed file will be uploaded to the CDN. The original file will not be modified.
-
-
Method Summary
-
-
Method Detail
-
transform
@WorkerThread() abstract File transform(File file)
Transforms the file before uploading it. This can be used to compress images or videos before uploading them. It is safe to block
- Returns:
The transformed file.
-
-
-
-