Welcome Guest, Not a member yet? Register   Sign In
Image Watermarking - Centering
#1

[eluser]Unknown[/eluser]
Hi,

I've been experimenting with Code Igniter's image manipulation class and so far I'm very impressed!

One thing that I think may be a bug however is that the config property to center a text watermark on an image only seems to work with the default GD font.

I've experimented with other variable and fixed width fonts and have discovered that it's the spaces that cause the incorrect alignment.

For example, if I have a single word, it's perfectly centered. However, if I then have 2 words, it's slightly off. Adding other words (and thus more spaces) makes the centering even further off.

Any help fixing this issue would be greatly appreciated!

Thanks.


Messages In This Thread
Image Watermarking - Centering - by El Forum - 09-06-2010, 06:47 PM
Image Watermarking - Centering - by El Forum - 09-11-2010, 05:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB