Integration with Compresto
Compresto supports deep linking, allowing you to integrate it into your workflow. Simply trigger a deep link to automatically launch Compresto and compress your files.
Trigger Compresto via deep linking
The deep link support these parameters:
quality
. Possible values:highest
,high
,good
,medium
,acceptable
. Default ishigh
For PDF, the param is
pdfQuality
which the possible values are:best
,hight
,balance
,low
videoFormat
. Possible values:same
,mp4
,webm
. Default issame
imageFormat
. Possible values:same
,webp
,jpg
,png
. Default issame
format
. Default value issame
. IfvideoFormat
orimageFormat
is missing,format
parameter will be usedremoveAudio
. Possible values:true
,false
. Default isfalse
fileNameFormat
to customise the output file name formatoutputFolder
oroutputPath
to customise the output folder. Default is same as input files.removeInputFile
for removing input files after compressionsubfolderProcessing
for including the files in subfolders recursively. Possible values:all
,none
, or a number to set the max depth
File compression using deep linking
The deeplink format is as follows:
Each file path is divided by |
character. Each param is divided by &
character. Below are some example deeplinks
File importing using deep linking
You can also import files into CompressX for customization before compressing. The deeplink format is as follows:
Trigger Compresto via command line
In your favourite Terminal, you can trigger compression or importing by using the same deep link with open
command.
Last updated