Re: Writing Text on an Image.



is there any website where i might be able to find some code which describes
this? Not really a .net guy

"James Westgate" wrote:

> 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
>
>
>
.



Relevant Pages

  • Re: Writing Text on an Image.
    ... Create a new System.Drawing.Bitmap class and load it with the image ... Get a graphics object from the Bitmap using Graphics.FromImage ... > images and use it for there own purpose. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: resize gif image
    ... It means resize them to 100x100. ... System.Drawing.Image oThumbNail = new Bitmap(FileWidth, FileHeight, ... //make rectangle from Graphics object (resize) ... It works well for jpeg images, but I get error when work with gif ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: problem with resizing 32bppArgb images
    ... resolution difference - when drawing to the screen the graphics object ... are making images smaller than the original screen image, ... scaled images now look "perfect" on the screen. ... send that to the graphics service or whatever is feeding the printer. ...
    (microsoft.public.dotnet.framework.drawing)
  • Change a bitmap
    ... Does anyone know how I can draw some images onto a ... background image and then save the image to a file? ... but I can't figure out how to save the graphics object to ...
    (microsoft.public.dotnet.framework.drawing)