Table of Contents ▸ List of Commands ▸ Image Drawing ▸ image | ◀ grid | imagealpha ▶ |
image | Built-in command |
Arguments:
- [sprite],_x[%|~],_y[%|~],_z[%|~],_c[%|~],_opacity,_[opacity_mask],_max_opacity_mask
Description:
Draw specified sprite on selected images.(equivalent to shortcut command j).
If one of the x,y,z or c argument ends with a ~, its value is expected to be
a centering ratio (in [0,1]) rather than a position.
Usual centering ratio are { 0:left-justified | 0.5:centered | 1:right-justified }.
Default values:
x=y=z=c=0, opacity=1, opacity_mask=(undefined) and max_opacity_mask=1.
Example of use:
image.jpg +crop 40%,40%,60%,60% resize[-1] 200%,200%,1,3,5 frame[-1] xy,2,0 image[0] [-1],30%,30% keep[0]
