Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Diagonal Watermark On Multiple Images?

Posted on 2009-07-01
3
Medium Priority
?
714 Views
Last Modified: 2012-05-07
I've been searching EE and have found many links to add a simple 'Horizontal' watermark. However, I would like to place a 'Diagonal' watermark on several hundred images. I would like to build a C# project that will do this.. Help...
0
Comment
Question by:pointeman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Assisted Solution

by:Éric Moreau
Éric Moreau earned 800 total points
ID: 24754540
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 1200 total points
ID: 24755189
Just use RotateTransform() on your Graphics....

A simplified example:

            Bitmap bmp = new Bitmap(pictureBox1.Image);
            using(Graphics G = Graphics.FromImage(bmp))
            {
                G.RotateTransform(45);
                G.DrawString("Rotated Hello World!", this.Font, Brushes.Black, 0, 0);
            }
            pictureBox1.Image = bmp;
0
 

Author Closing Comment

by:pointeman
ID: 31598768
emoreau provided an excellent project link and Idle_Mind provided acurate code. I combined the two and wala Diagonal text.  Thank you...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question