Image watermark class/function
Image watermark class/function
First off,
I don't think you have made this yet but if you have sorry.
I was wondering if you could create a class or function which adds a predifined watermark to an image that is passed to it.
I hope you understand what I mean but if not I'll try and rephrase it.
What do you think?
Dom
I don't think you have made this yet but if you have sorry.
I was wondering if you could create a class or function which adds a predifined watermark to an image that is passed to it.
I hope you understand what I mean but if not I'll try and rephrase it.
What do you think?
Dom
I can't think of anything witty to put here!
Check out some of my projects on GitHub: https://github.com/DomTC
Check out some of my projects on GitHub: https://github.com/DomTC
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: Image watermark class/function
http://betterphp.co.uk/board/viewtopic.php?f=23&t=29
The code for what you want is there, if you want it explained just ask which parts you don't understand and ill try my best to explain it
The code for what you want is there, if you want it explained just ask which parts you don't understand and ill try my best to explain it
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Re: Image watermark class/function
Oops - thanks a lot, I'll check it out
I can't think of anything witty to put here!
Check out some of my projects on GitHub: https://github.com/DomTC
Check out some of my projects on GitHub: https://github.com/DomTC
Re: Image watermark class/function
Ah cool
I am looking forward to it, if you do decide to go ahead and do it.
I am looking forward to it, if you do decide to go ahead and do it.
I can't think of anything witty to put here!
Check out some of my projects on GitHub: https://github.com/DomTC
Check out some of my projects on GitHub: https://github.com/DomTC
Re: Image watermark class/function
You made it! Thanks a lot - I'm off to watch them
I can't think of anything witty to put here!
Check out some of my projects on GitHub: https://github.com/DomTC
Check out some of my projects on GitHub: https://github.com/DomTC
Re: Image watermark class/function
I didDomC wrote:You made it! Thanks a lot - I'm off to watch them
Not exactly a watermark but the principle is the same.
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: Image watermark class/function
all thats needed to make it a true watermark is a transparent image (GIF or PNG)
So.. i'd call it a watermark if im honest
So.. i'd call it a watermark if im honest
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Re: Image watermark class/function
I'd agree and just move the image to centre or bottom of the picture and Voila!
I can't think of anything witty to put here!
Check out some of my projects on GitHub: https://github.com/DomTC
Check out some of my projects on GitHub: https://github.com/DomTC
Re: Image watermark class/function
Centre or bottom require knowing the width and height of the main image, which is why I did top leftDomC wrote:I'd agree and just move the image to centre or bottom of the picture and Voila!
-
- Posts: 534
- Joined: Thu May 05, 2011 8:19 pm
Re: Image watermark class/function
Or you could tile itjacek wrote:Centre or bottom require knowing the width and height of the main image, which is why I did top leftDomC wrote:I'd agree and just move the image to centre or bottom of the picture and Voila!
I don't like to brag, but I wasn't circumcised. I was circumnavigated.
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Want to learn something new? Or maybe reinforce what you already know? Or just help out? Please subscribe to my videos: http://goo.gl/58pN9
Re: Image watermark class/function
Good point - I did not think of that! I'll have to play around with it when I get back home on Friday!bowersbros wrote:Or you could tile itjacek wrote:Centre or bottom require knowing the width and height of the main image, which is why I did top leftDomC wrote:I'd agree and just move the image to centre or bottom of the picture and Voila!
I can't think of anything witty to put here!
Check out some of my projects on GitHub: https://github.com/DomTC
Check out some of my projects on GitHub: https://github.com/DomTC