Hi guys,
how can i merge Text + Image File in Java?
i need to write a program which will take text as input (from DB) + Image(gif,jpeg etc) and create an image file which will have both...
Does anybody have any ideas how to do this?
Hi guys,
how can i merge Text + Image File in Java?
i need to write a program which will take text as input (from DB) + Image(gif,jpeg etc) and create an image file which will have both...
Does anybody have any ideas how to do this?
Ananth,
Referring these links should help you in doing what you want.
Gif4J PRO for Java - Text Rendering
Drawing text is easy with three Java classes - Java World
Thanks,
Krishna
Thanks Krishna,
i tried like, first created bufferedimage object for the original image, then i am using drawString() to merge the text...
If you look closely at the newly created image, for some reason the text is not very sharp and the pixels around it gets messed up.see the attached image for clear details.
how can i arase the messing...
Ananth,
I will suggest you to try with different fonts. Not every font can be displayed properly always.
Thanks,
Krishna
Hi Krishna,
for the font color red only its messed up like that. if we use other than red font it is good. for other colors also messing is ther but it is not that much visible. if u find any solutions give me...
Hi ananth
if u don't mind send your code to my id tamizh88@gmail.com
There are currently 1 users browsing this thread. (0 members and 1 guests)