Re-compresses the jpeg image file found at the container field jpeg, using a scaling factor and compression level.


- jpeg : a JPEG file stored in a container

- compressionLevel :  a value between 1 and 100 (inclusive). The default value, for no compelling reason, is 75

- scale :  a number for the scale of the resulting image.  The default value is 0.125


JPEG Compress Recompress

Version History:

- 3.1 :

- 3.2 : Changed the height and width to a scaling factor to better match the actual workings of the library used.

- 4.0.2 : Renamed from BE_JPEG_Recompress


- Use this function with a Set Field script step to convert one container to another.  It can be used to set the same field as the one referenced in the field parameter.

- Values for the "scale" parameter are :


Any other values are rounded down to the nearest value, except values below 0.125 where it will use 0.125.

Still need help? Contact Us Contact Us