Re: Writing Text on an Image.



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: buggy activity in compact .net app
    ... When you first time load images, can you open all images from the list? ... Does the problem occur only when you are trying to load the images second ... Also looking at your ShowImagemethod, I noticed that the bitmap that is ... |>>>>> usefull either because the bitmap is created inside a routine. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Load image from file using Bitmap class
    ... Hi, I'm trying to load some images from file using Bitmap ... some test in emulator and on real device: I've seen that real device can load ...
    (microsoft.public.dotnet.framework.compactframework)
  • Bitmap/Image data type
    ... It seems that no matter how I load a bitmap into memory it remains attached ... images and doubles the memory use while loading large images. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Attention David F
    ... I do have a 56k modem, but because of the distance from the switching ... Both of your home pages load relatively quickly for me, ... more images you have the longer it takes for a page to load. ... comparison from a person that had built a 200+ page site in Publisher, ...
    (microsoft.public.publisher.webdesign)
  • Re: Rapid gfx display Qs
    ... I think with Autoredraw False you are effectively timing the total time both of loading the picture from disk into memory and also the time taken for the OS to dump that picture to the screen. ... In contrast, with Autoredraw True, you are timing only the time taken to load the picture from disk into memory because the VB Autoredraw system itself will dump the property to the actual display just after your code has finished. ... I get a time of about 79 msecs just to load the picture into a StdPicture object, even though the file size of the jpg is very much smaller, only about one tenth of the file size of the equivalent bmp. ... Much of course depends on the nature of your images, and it is hard to comment any further really without knowing what sort of images they are. ...
    (microsoft.public.vb.general.discussion)