Micro-Functions

Compress Image

Advanced image compression with intelligent optimization. Automatically selects best format and compression settings to minimize file size while maintaining quality.

6 Inputs AUTO Output

Test Function

Image file to compress (JPEG, PNG, GIF, BMP, TIFF, WEBP, etc.)

This is optional. Compression quality (0-100). Leave empty for auto-optimization. Lower values = smaller files but lower quality.

This is optional. Output format: JPEG, PNG, WEBP, JP2, AVIF, or AUTO. AUTO automatically selects the best format for maximum compression.

This is optional. Maximum width in pixels. Set to 0 to disable resizing. Default: 1920. The image will be resized proportionally if it exceeds this width while maintaining aspect ratio.

This is optional. Maximum height in pixels. Set to 0 to disable resizing. Default: 1080. The image will be resized proportionally if it exceeds this height while maintaining aspect ratio.

This is optional. Use aggressive compression (true/false). Default: true. Aggressive mode tries multiple strategies to achieve maximum compression.

Results