ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 09-26-2005, 05:48 PM   #1 (permalink)
New Member
 
Join Date: Feb 2005
Posts: 14
Default how to draw text on image

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...
sarabjit is offline   Reply With Quote


Old 09-27-2005, 12:25 PM   #2 (permalink)
Diamond Member
 
Join Date: May 2005
Location: here
Age: 22
Posts: 1,027
Default

could u use photoshop for example
houssam_ballout is offline   Reply With Quote
Old 09-27-2005, 05:13 PM   #3 (permalink)
New Member
 
mozq's Avatar
 
Join Date: Sep 2005
Location: sweden
Age: 19
Posts: 17
Default

the best image editing program i so far know is photoshop, you'll never get tierd on it.
__________________
waky paky mr strawberry santa is here ! :eek:

meh me splash swash yu to de undewold

Intel Pentium XP 4 CPU 3.40 GHz
Radeon X850 XT
500 GB

bla bla etc
mozq is offline   Reply With Quote
Old 09-27-2005, 06:25 PM   #4 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,417
Default

I believe they are looking for dynamic text not static.
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in command here.

www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 09-27-2005, 07:34 PM   #5 (permalink)
Diamond Member
 
Join Date: May 2005
Location: here
Age: 22
Posts: 1,027
Default

u mean flash(swish) ?? or java script
houssam_ballout is offline   Reply With Quote


Old 09-27-2005, 08:31 PM   #6 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,417
Default

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

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in command here.

www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 09-27-2005, 08:53 PM   #7 (permalink)
New Member
 
Join Date: Feb 2005
Posts: 14
Default

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
sarabjit is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT +1. The time now is 04:54 AM.


Powered by: vBulletin Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum