php - Merging two Images with CodeIgniter Image Manipulation Class -
I am developing a new project in CodeIgniter (CI), and would like to find a CI solution for this current problem.
There is an image, which is similar to a picture frame. I would like to modify uploaded images for this frame in their background.
Example:
The first picture frame is the second uploaded image (after resizing / after crop), and the third is the combination of both, which I want to accomplish I am
If the images are being displayed on your website, then maybe CSS will be easy to use (especially If your lower image has only a limit ...) Of course, if you want people to download these files from the frame, this is a different story.
I do not think that the CI image is a built-in method in Manipulian class. However, this class is a summary of the generally used features from one of three major PHP image libraries (GD, ImageMagic, and NetPBM). If you know which library you are using (I usually use GD for such basic things ...), then you have to use your own proprietary methods to do this stuff .
You can also create your own library or expand the Image Manipuling Class to add your own special features.
In addition, this can happen in ways to do this in the Zend (not sure, I am not going to see it). But, if you find something then there are easy ways.
Good luck!