Starr Duskk
asked on
Writing text on an image
How can I write text on a displayed image?
1) temporarily just as it displays?
2) permanently?
I know I can do it with stylesheets, but I mean if they right click to download, the text will remain on the image.
thanks.
1) temporarily just as it displays?
2) permanently?
I know I can do it with stylesheets, but I mean if they right click to download, the text will remain on the image.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry I wasn't clear.
I meant, I have an existing photo image. I want to write the text URL to the bottom left corner of the image.
I meant, I have an existing photo image. I want to write the text URL to the bottom left corner of the image.
That was a GDI+ example for writing on a Bitmap or Image, so if you only have an image at a URL, then you need to do something else. Are you looking to write over the image, or below it?
Yes, but you can create a bitmap from an existing image:
Drawing.Bitmap.FromFile("p ath")
Use it instead of creating a blank BitMap
Drawing.Bitmap.FromFile("p
Use it instead of creating a blank BitMap
ASKER
Over the image on the left bottom corner.
thanks.
thanks.
If the image is at the URL that is on your site, than Bitmap.FromFile will need Server.MapPath, but other than that, you should be good to go.
ASKER
thanks for the VB version!
Open in new window