lucee.Component
models.generateThumbnailTask
ColdThumbs image resize task for use with CFConcurrent ColdThumbs is a ColdFusion component to dynamically resize and cache images.
| Constructor Summary | |
|---|---|
|
init(any coldThumbs, struct theImage, string cachedFilename, struct fileInfo, [string authenticationString=''], [numeric width='0'], [numeric height='0'], [boolean fixCanvas='false'], [string interpolation='mitchell'], [string backgroundColor='000000'])
|
|
| Method Summary | |
|---|---|
any
|
call()
Resize image. |
| Methods inherited from class lucee.Component |
|---|
| None |
| Constructor Detail |
|---|
coldThumbs - The instance of ColdThumbstheImage - The extended image objectcachedFilename - The filename to use when saving the cached imagefileInfo - A struct of file infoauthenticationString - An authentication string if one is required (user:pass)width - Width of cached fileheight - Height of cached filefixCanvas - When true, fix the canvas size to the specified dimensions, whilst proportionally resizing the content. e.g. You may want to create a uniform square image from a portrait or landscape image.interpolationbackgroundColor - When using the fixCanvas method, the resulting image may contain a blank area that should be filled with a colour. (hex or r,g,b)| Method Detail |
|---|
Resize image