Apps/TinyPNG/Compress an image
TinyPNG
TinyPNG Action

Compress an image

Automatically detect the type of image (WebP, JPEG or PNG), compress it and optimise with the TinyPNG or TinyJPG engine accordingly.

200+ apps to connect·Tested & maintained tasks·Human support in English & Spanish

In detail

What it does and what it's for

This integration allows you to automatically optimize images, reducing their size without losing quality, thanks to TinyPNG's intelligent compression engine. By detecting the image type (WebP, JPEG, or PNG), the tool compresses and optimizes it appropriately, making it easier to use on websites and mobile applications.

Additionally, you can customize the automation by adjusting parameters such as the image URL. When executed, the operation provides detailed information about the compressed image, including size, MIME type, dimensions, compression ratio, and percentage saved compared to the original image.

How it works

How it fits in an automated task

A Botize task pairs a trigger with one or more actions. This piece is one of them.

Pick a trigger

The event that starts the task, from this app or any other.

This action runs

Botize performs it automatically using the data the trigger delivers.

Turn it on and forget it

The task runs on its own from then on. If something's off, tweak it or we'll help you.

Already using Botize?

Connect your TinyPNG

Add a profile to use it in your tasks. There's a step-by-step guide if you need it.

Add a new profile Step-by-step guide

Your profiles

Your connected TinyPNG accounts

These are the accounts you already have linked to Botize, ready to use in your tasks. You can reconnect or remove any of them.

Setup

Customization options

Fields you can adjust when using it in your automation.

Image URL

Output data

Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • Size {{size}}

    File size in Bytes.
    e.g. 10000

  • MIME Type {{type}}

    Type MIME
    e.g. image/jpeg

  • Width {{width}}

    Image width in pixels.
    e.g. 100

  • Height {{height}}

    Image height in pixels.
    e.g. 100

  • Ratio {{ratio}}

    Compression Ratio.
    e.g. 0.79

  • Compressed Image URL {{compressed_image_url}}

    Compressed Image URL given by TinyPNG.
    e.g. https://api.tinify.com/output/xjadn9yqw0ax75v1vpajhdyq2qf9560f

  • Saved Percentage {{saved_percentage}}

    percentage saved with respect to the original image.
    e.g. 30

Learn by watching

Video tutorials

Short videos where you watch a real task being built from start to finish.

Get inspired

Ready-to-use automations

Real tasks built with TinyPNG: switch them on in minutes and tweak them to your liking.

  • type
  • telegrambot → webhook
  • tinypng → shrink
  • telegrambot → reply
Bot to compress images with tinyPNG

Need a hand?

Real people behind it

Email us

info@botize.com
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Message us on Telegram

t.me/botize
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Come with an idea.
Leave with an automation.

Create your first task in minutes. Do it once and forget about it forever.

Start automating