scaledown
- Ariadne >
- Library >
- Ariadne 2.2 >
- Manuals >
- Programmers Reference >
- Classes >
- Photo >
- PINP Methods >
(void) scaledown($x, $y, $fillcolor=false)
Scales an image down only.
| Argument | Description |
|---|---|
| $x | The maximum width of the new image in pixels. |
| $y | The maximum height of the new image in pixels. |
| $fillcolor | The backgroundcolor of the image, in hexadecimal html code. Currently unused. |
scaledown() scales an image down only,
while keeping the width to height ratio intact. Unline scale() it will
not scale up smaller images.

