Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP.NET (Non-Forum Related)
 Dynamic Image Watermarking (Attn: sr_erick)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

dayve
Forum Moderator

USA
5820 Posts

Posted - 19 December 2004 :  12:25:05  Show Profile  Visit dayve's Homepage
Been looking at the different approaches for adding a logo/text to an image. I have a script that uses thumbnails that can be clicked on to show the larger image. I would like that larger image to have a watermark on it using a combination of code with the GDI. I have a good idea on how to do this, but I see that sr_erick (snowmobilefanatic.com) is already doing this so sr_erick, if you don't mind, can I see your code that does this so I don't have to re-invent the wheel?

Steve D.
Average Member

USA
640 Posts

Posted - 19 December 2004 :  23:24:28  Show Profile  Visit Steve D.'s Homepage  Send Steve D. a Yahoo! Message
I'd love that too! I'm finally starting to get the hang of .Net

Swing Dancing Video Clips - It's All Swing! Forum
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 20 December 2004 :  09:18:34  Show Profile
That link I gave you last week has a bit on it
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/colorquant.asp
That's for adding text though, you can also easily overlay an image over another image and set it's opacity to make it look like a watermark

The UK MkIVs Forum
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 20 December 2004 :  10:57:00  Show Profile  Visit dayve's Homepage
quote:
Originally posted by DavidRhodes

That link I gave you last week has a bit on it
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/colorquant.asp
That's for adding text though, you can also easily overlay an image over another image and set it's opacity to make it look like a watermark


Thanks... however I want to be able to do this in a way that nothing else has to be installed. Even though I host my own server and can tweak the heck out of it, I always approach my projects as if they are going to be hosted on an external server where I don't have access to installing additional components.

I've accomplished the effect in the past using the GDI with no problem and could reproduce something that would work, but I'm interested in how sr_erick accomplished it.

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 21 December 2004 :  08:46:26  Show Profile
quote:
Originally posted by dayve
Thanks... however I want to be able to do this in a way that nothing else has to be installed. Even though I host my own server and can tweak the heck out of it, I always approach my projects as if they are going to be hosted on an external server where I don't have access to installing additional components.



It's .NET, you don't need to "install" components, all required image manipulation objects are part of the framework anyway.

The UK MkIVs Forum
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 21 December 2004 :  10:42:49  Show Profile  Visit dayve's Homepage
ooops, I was looking at the page where it stated Download the DotNET_Color_Quantization_Code.exe sample file. thinking it was a .NET enhancement or additional component. my bad...

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 21 December 2004 :  11:47:24  Show Profile
yeah, there's 3 (i think) class files in the download, but you can just copy those into your application and compile

The UK MkIVs Forum
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07