• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while creating jpg image

 
vamsi naki
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i am trying to create a jpg image with some word printed like "hello world" in the image.I dont know how to change the font size of the text .I am getting the output but if i increase the size of the buffredimage the "hello world" word is hardly visible.

I have another doubt ,as to how to change the background image color.

Right now i am getting a jpg image with black background and hello world text in blue .




 
Darryl Burke
Bartender
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello vamsi and welcome to the Ranch!

Have you come across the 2D Graphics tutorial trail? In the getting started section, you can find examples that illlustrate how to do what you want.
 
vamsi naki
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Darryl,i will look into the tutorials you mentioned
 
Campbell Ritchie
Sheriff
Pie
Posts: 49858
70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We usually discuss graphics in a different forum: moving discussion.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic