Creating a photo collage image attached using PHP from multiple images

How to create a collage from a large number of images, as described below, using PHP scripts?

I also consider creating different sizes of images A0, A1, A2 depending on the number of images used in the collage.

alt text

thank

+3
source share
2 answers

I suggest using Imagemagick. Mikko's blog has some great tutorials:

http://valokuva.org/?cat=1

Take a look at the Polaroid example:

http://valokuva.org/?p=37

The Reflection Tutorial demonstrates how to create composite images:

http://valokuva.org/?p=82

EDIT

:

(ImageMagick)
http://php.net/manual/en/book.imagick.php

Imagick:: readImageFile
http://www.php.net/manual/en/function.imagick-readimagefile.php

Imagick:: rotateImage
http://www.php.net/manual/en/function.imagick-rotateimage.php

Imagick:: scaleImage
http://www.php.net/manual/en/function.imagick-scaleimage.php

PHPro
http://www.phpro.org/tutorials/Imagick.html

...

:


http://www.imagemagick.org/Usage/layers/#example

+4

, .

+1

Source: https://habr.com/ru/post/1751187/


All Articles