… | |
… | |
132 | get a percentage): |
132 | get a percentage): |
133 | |
133 | |
134 | scale 2, load "$HOME/mypic.png" |
134 | scale 2, load "$HOME/mypic.png" |
135 | |
135 | |
136 | This enlarges the image by a factor of 2 (200%). As you can see, C<scale> |
136 | This enlarges the image by a factor of 2 (200%). As you can see, C<scale> |
137 | has now two arguments, the C<200> and the C<load> expression, while |
137 | has now two arguments, the C<2> and the C<load> expression, while |
138 | C<load> only has one argument. Arguments are separated from each other by |
138 | C<load> only has one argument. Arguments are separated from each other by |
139 | commas. |
139 | commas. |
140 | |
140 | |
141 | Scale also accepts two arguments, which are then separate factors for both |
141 | Scale also accepts two arguments, which are then separate factors for both |
142 | horizontal and vertical dimensions. For example, this halves the image |
142 | horizontal and vertical dimensions. For example, this halves the image |