<resize-to-fit> resize an image to fit within new dimensions
- name
- resize-to-fit
- xml namespace
- http://moyaproject.com/image
Resize image to fit within the given dimensions (maintains aspect ratio).
attributes
name |
purpose |
type |
required? |
default |
choices |
height |
New height |
integer |
No |
|
|
image |
Image to show |
expression |
No |
image |
|
resample |
Method for resampling |
text |
No |
"antialias" |
antialias
bicubic
bilinear
nearest
|
width |
New width |
integer |
No |
|
|
inherited attributes
name |
purpose |
type |
required? |
default |
choices |
if |
Conditional expression |
expression |
No |
yes |
|