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

[eluser]Mat-Moo[/eluser]
Opacity is $this->image_moo->set_watermark_transparency(X) 1..100 100 is solid.
Position is done as a keypad so $this->image_moo->watermark(8) is top middle, 3 is bottom right, same as a keypad. You can also specify a direct location using $this->image_moo->watermark(100,40,TRUE); 100=x 40=4 True = use direct coords. Default indentation is 8 away from the edge, you can change this with the 2nd param, e.g. $this->image_moo->watermark(1,16); bottom left, indent 16 pixels.
Jpeg quality is set with $this->image_moo->set_jpeg_quality(x); default is 75, 100 is best, 0 worst.

Sorry there is no proper help file, I will write it next week, but there is a list of pointers at the start of the lib file itself.


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:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB