Developer Tools

TinyPNG

TinyPNG uses smart lossy compression techniques to reduce the file size of your WebP, JPEG, and PNG files.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Get TinyPNG Compression Count

    Tool to retrieve the number of compressions made this month. Use when you need to monitor your TinyPNG API usage.

  • Shrink and get image ID

    Shrink an image from a publicly accessible URL and return its TinyPNG image ID extracted from the response Location header.

  • Compress and Store Image in Azure

    Compress an image using the Tinify API and upload the optimized result directly to Azure Blob Storage in a single operation. The image is first compressed by Tinify, then uploaded to the specified Azure Blob URL using the provided SAS token. Use this when you need to optimize images and store them in Azure without intermediate steps. Supports JPEG, PNG, and WebP image formats.

  • Download Compressed Image

    Tool to retrieve a compressed image by its image ID. Use after compressing an image to download the result.

  • Transform Compressed Image

    Transform a previously compressed image by ID, with resizing, format conversion, metadata preservation, background changes, or storage to Amazon S3 or Google Cloud Storage. Returns response metadata and any cloud storage location, not transformed image bytes.