Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17218 программистов и 1834 робота. Сейчас ищут 1615 программистов ...
Saving
Вернуться к: Image_Transform
The save() method requires at least one parameter, the filename as which the scaled image is to be saved as. With only one parameter, the type of the new image is the same as the original type.
File extensions are not appended if left out.
The second parameter can be the extension of the file type you want to save the image as, for example png or jpg.
In case of an error - for example if the driver does not support to write the file type - a PEAR_Error object is returned.
Instead of saving, you can directly put out the image to the browser using display().
Вернуться к: Image_Transform