API: Img
Filename:
fwpImg_compressJPEG.ctag
Released With:
5.0.0
Current Version:
1.1.1
Status: Active
Min Lasso Tested: 8.1.0
Max Lasso Tested: 8.5.3
Related:
Still don't get it?
Check out the talk list archives, or join and ask your questions.
Documentation Error or Request?
Email documentation corrections or comments
Uses ImageMagick and PassThru to compress a specified JPG file.
Use this custom tag format, or the fwp_imageFile custom type format.
fwpImg_compressJPG: -srcfile = path, -destfile = path, -quality = 0-100;
-srcFile - required : a qualified pathname to the image file to be modified
-destFile - required : a qualified pathname for the new image file
quality - optional : an integer between 0 and 100%. Default is 65.
[fwpImg_compressJPEG: -srcfile = 'bigFile.jpg', -destfile = 'bigFileShrunk.jpg', -quality = 40]
© 2002-2010, pageblocks.org