Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

image processing (Text to Image) code

Status
Not open for further replies.

codecref

Programmer
Joined
Dec 8, 2003
Messages
118
Location
US
Hi guys
I am trying to export my excel text file into 720x480 images for subtiting purpose. I don't like to use external application or any ocx so I was wondering how to do this simple task in VB.

More detail:
basically there will be a green background and the text (usually 2 line) in white color and black stroke for them.

I would like to save it in BMP format and 2 or 4 bit data usage.

So if you have sample code or you know any nice tutorial web page please post it for me.

Any help is highly appreciated.
Seyed Mohammad.
 

codecref, have you read FAQ222-2244 yet?

So let me get this straight ... you have the text that you want to save as an image right? Well you can use the picture box control to do exactly what you want. There are a couple of examples in this forum. Just search for picture box savepicture.

Good Luck

 

codecref, have you read FAQ222-2244 yet?

Did you find what you were looking for?

Good Luck

 
well the thing is in excel I can't really do a picture and picture box is not exactly what I want to do... If there's some function for doing that is much better and I think even faster.

thanks again
 
>and picture box is not exactly what I want to do

Perhaps if you can explain in what way a picture box falls short of your requirements we can come up with an alternative
 
Well in picturebox you gotta draw it first and save it as whatever you like to do...

I almost do the same thing with Photoshop object library, but I am looking for a very fast processing way which is directly write to an image file such as BMP...

Since its only text,color,stroke issues it will be very faster process.

Thanks for your replies
 
Sorry not to have got back earlier on this codecref - but I guess I'm just stupid; I still do not understand how/why you think something like a picturebox is not acceptable.

Nevertheless, if you really don't like it, try doing a simple keyword search in this forum for screen capture. There are a number of solutions that have been posted, some of which should meet your requirements
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top