I'm still working with images. This time what I am trying to figure out is how to use php to knit two images together side by side.
Any help would be appreciated.
Printable View
I'm still working with images. This time what I am trying to figure out is how to use php to knit two images together side by side.
Any help would be appreciated.
Got it. This needed php's ImageMagick as opposed to using the GD library.
It is as simple as:
The script takes image1.jpg and image2.jpg and creates a third image montage_cat2.jpg. If montage_cat2.jpg already exists, it is overwritten. If the images are different sizes then there will be extra white space located below the smaller image.PHP Code:<?php
system("convert image1.jpg image2.jpg +append montage_cat2.jpg");
?>
https://imagemagick.org/script/comma...ons.php#append