PHP Imagick-在图像后面应用徽标

时间:2018-10-01 15:44:46

标签: php imagick

我有一个使用Imagick的功能,我想在我的imagem(带有透明png凉鞋的图像模型)后面应用徽标

enter image description here

我的函数正在产生以下结果:

enter image description here

我的徽标必须在凉鞋的后面,因为在凉鞋中,白色部分是透明的。

我需要改变什么?谢谢。

clientList = {
    'id-1111' : {
        entreprise : 'facebook',
        president : 'Mark',
    },
    'id-2222' : {
        entreprise : 'microsoft',
        president : 'Bill',
    },
    'id-3333' : {
        entreprise : 'apple',
        president : 'Tim'
    }
};

function objectSearch(key, value,obj){
	for(o in obj){
		if(obj[o][key] == value){
			return obj[o];
		}
	}
  
  return {};
}

console.log(objectSearch('entreprise','microsoft',clientList));

0 个答案:

没有答案