TinyPNG
tinypngTinyPNG uses smart lossy compression techniques to reduce the file size of your WebP, JPEG, and PNG files.
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ónTool to retrieve the number of compressions made this month. use when you need to monitor your tinypng api usage.
TINYPNG_GET_COMPRESSION_COUNTAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Shrink and get image IDTINYPNG_SHRINK_AND_GET_IMAGE_IDAcciónTool 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.
TINYPNG_SHRINK_AND_GET_IMAGE_IDAcciónTool 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_urlstringObligatoriouriPublicly accessible URL of the image to compress.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compress and Convert ImageTINYPNG_TINIFY_COMPRESS_AND_CONVERT_IMAGEAcciónTool to compress and convert an image. use when you need to optimize an image and change its format (avif, webp, jpeg, png).
TINYPNG_TINIFY_COMPRESS_AND_CONVERT_IMAGEAcciónTool 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
sourcestringObligatoriouriPublic URL of the source image.
convertobjectObligatorioConversion settings specifying output format(s).
transformobjectOptional transformation when converting images with transparency. Provide a background color to fill transparent areas for non-transparent formats.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compress and preserve metadataTINYPNG_TINIFY_COMPRESS_AND_PRESERVE_METADATAAcciónTool 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.
TINYPNG_TINIFY_COMPRESS_AND_PRESERVE_METADATAAcciónTool 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_urlstringObligatoriouriPublic URL of the image to compress.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compress and Store Image in AzureTINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZUREAcciónTool 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.
TINYPNG_TINIFY_COMPRESS_AND_STORE_IN_AZUREAcciónTool 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_urlstringObligatoriouriURL of the source image to compress
azure_blob_urlstringObligatoriouriFull 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Compressed ImageTINYPNG_TINIFY_OUTPUTAcciónTool to retrieve a compressed image by its image id. use after compressing an image to download the result.
TINYPNG_TINIFY_OUTPUTAcciónTool to retrieve a compressed image by its image id. use after compressing an image to download the result.
Parámetros de entrada
idstringObligatorioIdentifier for the uploaded and compressed image (returned by the TinyPNG shrink API).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not