The /image/optimize Robot
We can resize, crop, and (auto-)rotate images, as well as watermark them.
/image/optimize Robot reduces the size of images while maintaining the same visual quality.
||(required) String / Array of Strings||
GeneralSpecifies which Step(s) to use as the input to this Robot.
Special Step namesA special Step name is
Providing several Steps as inputYou can add arrays to
Step bundlingSome Robots can gather several Step results for a single invocation. For example, the /file/compress Robot would normally create one Zip file for each file passed to it. If you'd set
This is a crucial parameter for the /video/adaptive Robot, otherwise you'll generate 1 playlist for each viewing quality.
Keep in mind that all input Steps must be present in your Template. If one of them is missing, no result is generated because the Robot waits indefinitely for all input Steps to be finished.
Group by originalSticking with the /file/compress Robot example, you can set
DemoSee a demo for the
||Provides different algorithms for better or worse compression for your images, but that run slower or faster. Valid values are
||Interlaces the image if set to
||Specifies if the image's meta data should be preserved during the optimization, or not. If it is not preserved, the file size is even further reduced. This option is mandatory if you set
||If set to
Our /image/optimize Robot can be used in combination with other Robots, to create powerful workflows unique to your use case. Here are a few example scenarios that you can try live on our website:
- Only resize larger images when resizing files
- Import your Dropbox files to Transloadit for encoding
- Reduce image file sizes by up to 80% without quality loss
Blog posts about the /image/optimize Robot
We wrote the following posts about the /image/optimize Robot on our blog:
- Happy 2016 from Transloadit December 31, 2015
- Image optimization improvements November 24, 2015
- On Upgrades & Goodbyes August 8, 2014
- Better PNG Optimization July 29, 2014
- A Happy 2014 from Transloadit! January 14, 2014
- Adding Support for Lossless Image Optimization June 6, 2013
Did you know?
You can easily combine Robots to create powerful workflows, unique to your business.
This is the power of Transloadit.