how to draw text on image

sarabjit

New Member
Hello folks,

I wish to write text on an Image in .NET

I figure I can use the Graphics.drawString() method to do so, but it turns out that .NET would only allow me to write on images with non-indexed pixel formats.

The format I'm now using is 1bppIndexed, which allows me to keep the size of these image objects limited. I do not wish to change these images to a non-indexed pixel format like 24bppRGB (even though that allows me to draw text on the image), 'cause here I'm only dealing with binary images, each around 3500pixels by 2480pixels.

Since a format like 24bppRGB occupies much more space than what is required, I was hoping there would be a way to write on the 1bppIndexed images directly.

Any ideas?

Thanks...
 
the best image editing program i so far know is photoshop, you'll never get tierd on it.
 
as in you have some image and want your .net application to write some dynamic text over it, sort of like a background image on an html page.
 
friends,

thanks for your replies...

but i'm not looking for an image editing program here.. i have a .net windows application which handles images, and should be able to draw text on it.. thus, what i need is an API which allows me to write on non-indexed images...

sarab
 
Back
Top