Converts and saves the image to a file in a format defined by the file extension. A -Quality parameter specifies the image compression ratio (integer value of 1-100) used when saving to JPEG or GIF format.
Image Variable->save('/folder/image.jpg', -Quality=100)
Use the [image->save] method on an image variable, specifying the desired image name, path, and format.
Code
local(myImage = image('image.jpg'))
#myImage->save('/images/image.jpg', -Quality=75)
Use the [image->save] method on a defined image variable, changing the image file extension to the desired image format. A -Quality parameter value of 100 specifies that the resulting JPEG file will be saved at the highest-quality resolution.
Code
local(myImage = image('image.gif'))
#myImage->save('/images/image.jpg', -Quality=100)
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments