Welcome Guest, Not a member yet? Register   Sign In
how to resize image and use watermark in the same time using image manipulation class ?
#3

[eluser]Laith99[/eluser]
[quote author="Mat-Moo" date="1280027070"]I added dynamic output to image_moo for you, but only good if you have php 5 and using gd.
http://ellislab.com/forums/viewthread/161469/
Code:
$this->load->library("image_moo");
$this->image_moo
  ->load("Source.jpg")
  ->load_watermark("watermark.gif")
  ->crop(x1,x2,y1,y2)
  ->watermark(2)
  ->save_dynamic();
if ($this->image_moo->errors) print $this->image_moo->display_errors();
Would/should do the trick Smile of course you could always crop resize, or stretch or any other function I added[/quote]

Thanks a lot, but can i do something like quality and color the text watermark or set the opacity for overlay ? can we do algin and offset too ?

Thanks a LOT


Messages In This Thread
how to resize image and use watermark in the same time using image manipulation class ? - by El Forum - 07-24-2010, 04:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB