Hi, the post was posted accidentally while i was still editing, and I have no idea where the edit button is.
For this project, I need to merge the following:
1. a base image with some background patten.
2. a photo load from user facebook album.
3. a frame png with a hole to fit in the baby face.
4. deco eyes
5. deco mouth.
I have never encountered this situation during development and testing. However, when comes to production, the rate of empty image is quite high. It s about 10%. Appreciate if anyone can point me an direction.
My code is here:
$base = EWideImage::load(TEMPLATE_PATH);
$result = $base->merge($photo, $adjusted_photo_left, $adjusted_photo_top);
//marge the frame
$frame = EWideImage::load('images/photo-zone/photo-frame'.$frame_id.'.png');
Hi, sorry for the late response. Did you manage to make this work?
I'd start off by saving the $result image in between steps, so you can find out where it goes wrong.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.