Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

yes, i do mean draw an image on text, not the other way around
like you can do in microsoft word with word art

example done with word:
https://sites.google.com/site/gadget7702441/image002.gif

(picture of my dog on text)


I was wondering if there is any way of doing this in csharp.

thanx
Posted

Coitainly!

Lookee[^]
 
Share this answer
 
Y not simply write somthin that scales the text an calculates what pixels it covers on the image. Then create a new image of the same size as your original but only set the relevant pixels. Thus you would hav part of your image in the shape of the text. The only problem I percieve is working out what pixels it covers. Perhaps you could draw the text on a copy of your image then test that for where the text is and transfer the relevant pixels from the original image to the final "text image".
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900