Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

String to bitmap generation

807580Jun 26 2010 — edited Jun 26 2010
Hi

I try to generate a bmp file. The input data will be a String in Unicode like String s = "Hello world"; The output will be a bmp file of hight and width which will have this text on it. The font used to generate bmp should be also a parameter.

Now my quastion: is it possible to generate this in Java without any additional libraries? WHat kind of package (classes and methods) should I use?

PS: I do not want to convert image to base64 and then send it via net and then this string base64 convert to image.
I just want to have bmp file with black letter "Hello World" and white background.

THX
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2010
Added on Jun 26 2010
7 comments
970 views