Create and / or edit image with PHP [duplicate]

1

Is it possible to edit images with PHP?

For example, put watermarks, or even make a "paint" (with other languages together, not just PHP).

NOTE: I would like a solution without using frameworks .

    
asked by anonymous 04.11.2017 / 02:37

1 answer

1

Yes, it is possible.

There are functions that crop and resize images: link link

But for more specific tasks, there is the GD library: link

See the watermark application example in an image with GD: link

Installing GD on your PHP: link

  

PHP is not limited to just creating HTML output. He can also   be used to create and manipulate image files in a variety of   of formats, including gif, png, jpg, wbmp, and xpm. And even more   Conversely, PHP can send image output streams   directly to the browser. You will need to compile PHP with   GD library of function images for this to work. PHP and GD   may also require other libraries depending on the   with which you want to work.   ( PHP Manual )

I hope I have helped.

    
04.11.2017 / 05:14