convert
- Ariadne >
- Library >
- Ariadne 2.4 >
- Manuals >
- Programmers Reference >
- Classes >
- Photo >
- PINP Methods >
(void) convert($format="jpg")
Converts an image from one type to another.
| Argument | Description |
|---|---|
| $format | The target format of the new image. |
convert() converts an image from one type to another. Types supported depend on the version of ImageMagick installed. Please see the documentation of ImageMagick for a full list. Most common types are 'JPG', 'GIF', 'PNG' and 'BMP', but ImageMagick supports dozens of types.

