Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 1.67 KB

File metadata and controls

19 lines (18 loc) · 1.67 KB

LightGreenSquare. PHP Tutorials. 2D Graphics. GD. Web Application. It consists of a script file in the PHP programming language named "index.php". This application (website, script) does the following:

  1. Allocates memory for an image 300 pixels wide and 300 pixels high.
  2. Creates a variable for the color light green.
  3. Fills the entire work area of ​​the image with the color selected in the previous step.
  4. Sets the data format for output to the web page as a png image.
  5. Displays a png image on a web browser page.
  6. Frees up memory for previously created resources and terminates.

LightGreenSquare. Занятия по PHP. 2D Графика. Библиотека GD. Веб Приложение. Состоит из из файла скрипта на языке программирования PHP с именем "index.php". Данное приложение (сайт,скрипт) делает следующее:

  1. Выделяет память для картинки размером шириной 300 пикселей и высотой 300 пикселей.
  2. Создаёт переменную для светло-зелёного цвета.
  3. Закрашивает всю рабочую область картинки цветом, выбранным в предыдущем шаге.
  4. Устанавливает формат данных для вывода на веб страницу как картинка png.
  5. Выводит картинку формата png на страницу веб браузера.
  6. Освобождает память под созданные ранее ресурсы с завершает работу.