Overview
The FileVerbs Image Conversion capabilities provide powerful tools to convert, optimize, and manipulate images across various formats with ease.
Key Features
- Multi-format Conversion: Convert images to/from PNG, JPEG, BMP, GIF, TIFF, EMF, SVG, WebP, PDF, and Base64.
- Watermark Support: Add text watermark with configurable position, color, and transparency.
- Smart Compression: Optimize file size using adjustable quality or compression settings (TIFF LZW, CCITT4, etc.).
- DPI & Resize Control: Resize images and control output resolution (DPI).
- Multipage TIFF/PDF: Combine multiple images into a single multipage TIFF or PDF.
- Base64 Support: Convert Base64 to image and vice versa.
Supported PowerPoint Actions
- ImageConvert: Convert between supported image formats.
- ImageCompress: Reduce file size while preserving quality.
- ImageResize: Resize based on width, height, or DPI.
- ImageWatermark: Overlay watermark text onto images.
- ImageMergeToTiff: Merge multiple files into one TIFF.
- ImageMergeToPdf: Merge image files into a multipage PDF.
- ImageBase64Encode / Decode: Base64 encoding/decoding for image files.
How It Works
- File Upload: Upload your image files using the File Upload endpoint to get a unique fileId.
- Job Request: Create a job request by specifying the image action (e.g., convert, compress, resize) and include the associated fileId.
- Track Progress: Check job progress using the Job Status endpoint (statuses: Created, In Progress, Completed, Failed).
- Download Outputs: Once completed, download the processed image(s) via the Download endpoint.
Example Job Request
{
"action": "imageconvert",
"parameters": {
"fileIds": ["file-id"],
"options": {
"ImageSettings": {
"Format": "png",
"ResolutionDpi": 300
},
"OutputSettings": {
"OutputFileName": "converted_image.png"
}
}
}
}