Solved

Diagonal Watermark On Multiple Images?

Posted on 2009-07-01
3
643 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
3 Comments
 
LVL 69

Assisted Solution

by:Éric Moreau
Éric Moreau earned 200 total points
ID: 24754540
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 300 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now