Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I got a C# source code to add watermark on jpeg image at this website . Can you give me the same in VC++.
Posted

I assume you are referring to some article you found here, so you should post this request in the forum at the end of the article, so the author sees it.
 
Share this answer
 
Comments
Sandeep Mewara 17-May-11 10:55am    
Even then, the request is a little too much of an ask without any effort on his side. ;)
Richard MacCutchan 17-May-11 13:46pm    
Sadly, too true and too common. :(
You can use lead tools (third party library) for the same with VC++
 
Share this answer
 
Comments
gungun saini 17-May-11 5:51am    
Please ,Can you explain it what you want to say.
LaxmikantYadav 17-May-11 6:44am    
Hi Saini, lead tools is a third party library, using this library you can add water mark to your image :)
Use GDI+ to load a Bitmap class from a jpg, then paint your watermark onto it (by creating a memory DC based on your source bitmap, and selecting the bitmap into it, and using GDI functions to paint your watermark) then use GDI+ to save it as a jpg ... which is probably what the .net sample is doing
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900