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.
thank
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:: readImageFilehttp://www.php.net/manual/en/function.imagick-readimagefile.php
Imagick:: rotateImagehttp://www.php.net/manual/en/function.imagick-rotateimage.php
Imagick:: scaleImagehttp://www.php.net/manual/en/function.imagick-scaleimage.php
PHProhttp://www.phpro.org/tutorials/Imagick.html
...
http://www.imagemagick.org/Usage/layers/#example
, .
Source: https://habr.com/ru/post/1751187/More articles:Когда разработчики должны читать и узнавать о шаблонах проектирования? - design-patternsCreating .ICS files, adding to Outlook - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1751184/uiview-how-to-restrict-touches-to-it-exclusively&usg=ALkJrhjP4t3x5iUP3r0zhmAV5TPENWcoFAis a workflow for creating a dynamic workflow in a web application? - c #C ++ mixins through templates: why doesn't this work? - c ++C4564 warning when creating a C ++ / CLI project that consumes a strongly typed dataset - visual-c ++Print ER charts for mySQL database (800+ tables) - sqlHow to make ZipArchive not overwrite specific files and folders - phpMakefile to compile .cpp and .h series in lib - c ++Устойчивость ранних выпусков продукта - project-managementAll Articles