PictureConvert
CUTools
Description
Convert images to different formats with professional quality! PictureConvert converts PNG to JPG, BMP to PNG, and many other combinations - optimize screenshots directly for the target medium!
With support for all common formats (PNG, JPG, BMP, GIF, TIFF, WebP) and detailed quality settings, you get the optimal balance between file size and image quality - on the fly and without external tools!
Why This Tool Stands Out
- All Common Formats supported
- Quality Setting per format
- Optimize File Size automatically
- Batch Conversion possible
Perfect for:
Web developers, content managers, tech writers, and anyone who needs to prepare images for different platforms and purposes. Ideal for web optimization, email delivery, and documentation.
Workflow support; time savings depend on the task
Instead of opening an image converter, configuring it, and exporting, you convert with a single API call - ideal for automated publishing workflows.
JSON Parameters
- inputPath REQUIRED (String)Path to the input image to be converted.
- outputPath OPTIONAL (String)Path for the output image. If omitted, the format is changed in the same directory.
- outputFormat REQUIRED (String)The target format. Possible values: "PNG", "JPG", "JPEG", "BMP", "GIF", "TIFF", "TIF", "WEBP"
- quality OPTIONAL (Integer)Image quality for lossy formats (1-100). Higher values = better quality, larger file. Default: 90
- preserveMetadata OPTIONAL (Boolean)Preserve EXIF and other metadata. Default: true
Example Call
{
"tool": "PictureConvert",
"params": {
"inputPath": "C:\\Screenshots\\screenshot.png",
"outputPath": "C:\\Screenshots\\screenshot_optimized.jpg",
"outputFormat": "JPG",
"quality": 85
}
}
Example Usage
Typical AI Command
- "Convert the screenshot to JPEG at 85% quality so it can be sent by email."
Return Values
The tool returns an object with the following properties:
- success (Boolean)
True if the conversion was successful - outputPath (String)
Path to the converted image - inputFormat (String)
Format of the input image - outputFormat (String)
Format of the output image - originalSize (Integer)
File size of the original in bytes - newSize (Integer)
File size of the converted image in bytes - width (Integer)
Image width in pixels - height (Integer)
Image height in pixels - error (String, optional)
Error message if the conversion failed
Related Tools
Download CUTools
Get access to all 17 Computer Use tools for Windows automation.
Download Now