Re: Writing Text on an Image.
- From: "James Westgate" <jameswestgate@xxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 17:10:36 +0100
1. Create a new System.Drawing.Bitmap class and load it with the image
2. Get a graphics object from the Bitmap using Graphics.FromImage(bitmap)
3. Use DrawStrign to draw on the graphics object eg on the bitmap.
4. Save the file as another filename (you cannot overwrite, otherwise make a
copy before changing or load into stream first)
5. Dispose the graphics object
James
--
Create interactive diagrams and flowcharts with ERM Diagram at
http://www.crainiate.net
Take the ERM Tour at http://www.flowchartcontrol.com
"sameer" <sameer@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EC525912-C81B-430B-BFE9-0F8737F6F310@xxxxxxxxxxxxxxxx
> Hi,
> My ASP.net applicatian uploads images up to my webserver, and in the
> process
> compressess it and decreases the size as well. Now there is one other
> feature
> that i want to include in it as well, the bottom part of the iamge shold
> have
> my company name on it in kind of like transparent ( but not totallY) fonts
> but still visible ,Just like how you could see through a design on the
> glass
> but the design is still visible. this is to make sure that no body steals
> the
> images and use it for there own purpose.
>
> Please suggest!!!
> Sameer
.
- Follow-Ups:
- Re: Writing Text on an Image.
- From: sameer
- Re: Writing Text on an Image.
- References:
- Writing Text on an Image.
- From: sameer
- Writing Text on an Image.
- Prev by Date: Given a point[] for a ploygon draw it with rounded corners
- Next by Date: Re: Given a point[] for a ploygon draw it with rounded corners
- Previous by thread: Writing Text on an Image.
- Next by thread: Re: Writing Text on an Image.
- Index(es):
Relevant Pages
|