NAiOS IconNAiOS Logo
Volver al catálogo

TinyPNG

tinypng

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

Acciones
6
Triggers
0
Autenticación
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (6)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get TinyPNG Compression CountTINYPNG_GET_COMPRESSION_COUNTAcción

Tool to retrieve the number of compressions made this month. use when you need to monitor your tinypng api usage.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Shrink and get image IDTINYPNG_SHRINK_AND_GET_IMAGE_IDAcción

Tool to shrink an image and return its tinypng image id. use when you need only the compressed image identifier from the api response location header.

Parámetros de entrada

  • source_urlstringObligatoriouri

    Publicly accessible URL of the image to compress.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Compress and Convert ImageTINYPNG_TINIFY_COMPRESS_AND_CONVERT_IMAGEAcción

Tool to compress and convert an image. use when you need to optimize an image and change its format (avif, webp, jpeg, png).

Parámetros de entrada

  • sourcestringObligatoriouri

    Public URL of the source image.

  • convertobjectObligatorio

    Conversion settings specifying output format(s).

  • transformobject

    Optional transformation when converting images with transparency. Provide a background color to fill transparent areas for non-transparent formats.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Compress and preserve metadataTINYPNG_TINIFY_COMPRESS_AND_PRESERVE_METADATAAcción

Tool to compress an image while preserving specified metadata fields. use when critical metadata (e.g., copyright, creation date, or gps location) must be retained in the output.

Parámetros de entrada

  • preservestring[]

    List of metadata fields to preserve in the compressed image. Options: 'copyright', 'creation', 'location' (GPS data, JPEG only).

  • source_urlstringObligatoriouri

    Public URL of the image to compress.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Compress and Store Image in AzureTINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZUREAcción

Tool to compress an image using tinify and upload it directly to azure blob storage. use when you want to optimize images and store them to azure in one step.

Parámetros de entrada

  • source_urlstringObligatoriouri

    URL of the source image to compress

  • azure_blob_urlstringObligatoriouri

    Full Azure Blob URL including SAS token to upload the compressed image. Must include necessary permissions (e.g., PUT via SAS) and target path.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Compressed ImageTINYPNG_TINIFY_OUTPUTAcción

Tool to retrieve a compressed image by its image id. use after compressing an image to download the result.

Parámetros de entrada

  • idstringObligatorio

    Identifier for the uploaded and compressed image (returned by the TinyPNG shrink API).

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not