Lasso Soft Inc. > Home

[ Image ]

Method

The [Image] method creates an image object from an image file or image data, which may be stored in a variable. Various Image methods can be used on the image object to manipulate the image. Once the image object is manipulated, it can either be served directly to the client browser, or it can be saved to disk on the Web server.

Requires either the name and path of an image file, or a bytes object to instantiate an image. Once an image object is created, it may be edited and saved using [Image] methods.

Because the [Image] methods are based on ImageMagick, Lasso supports reading and manipulating over 100 major file formats (not including sub-formats). A comprehensive list of supported image formats can be found at the following URL. http://www.imagemagick.com/www/formats.html

Lasso is certified to work with the following iage formats out of the box without additional components installed: BMP, CMYK, GIF, JPEG, PNG, PSD, RBG, and TIFF.

  • Syntax
  • Methods
  • Traits
local(Variable Name) = image('File Path')
local(Variable Name) = image(Bytes Object)
Has methods:
Has traits:
Examples

No examples found

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft