beuleal Posted August 3, 2011 Report Share Posted August 3, 2011 Olá amigos, estou com uma dúvida, a função:$img = WideImage::load('pic.jpg');$watermark = WideImage::load('logo.jpg');$new = $img->merge($watermark, 10, 10, 30);retorna a imagem aonde?Eu já tentei usar o imagejpeg($new, $salva_foto) e nadaeu tenho que usar o imagejpeg? Quote Link to comment Share on other sites More sharing options...
0 beuleal Posted August 3, 2011 Author Report Share Posted August 3, 2011 RESOLVIDOAdcionei:$new->saveToFile($salva_foto, 80);Abraços! Quote Link to comment Share on other sites More sharing options...
Question
beuleal
Olá amigos, estou com uma dúvida, a função:
$img = WideImage::load('pic.jpg');
$watermark = WideImage::load('logo.jpg');
$new = $img->merge($watermark, 10, 10, 30);
retorna a imagem aonde?
Eu já tentei usar o imagejpeg($new, $salva_foto) e nada
eu tenho que usar o imagejpeg?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.