This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Software Teaming: A Mob Programming, Whole-Team Approach and have Woody Zuill and Kevin Meadows on-line! See this thread for details.
Can any body tell me how can we convert a text file to a JPEG file using java.. I want it to be converted into a single 800x600 JPEG image whatever the size of the text file.. moreover there must not be any alignment problems.. i ve tried the PSP image creation, but it does save text as a number of images, which i dont desire.. Moreover I get alignment problems in it.. Thanks in advance for any help/assistance.. It is just a plain text message.. with tab spaces (just a tabular format in PLAIN TEXT-no columns like that of a table).. I must save the shole file as a single JPEG image..
[ November 09, 2007: Message edited by: Hack Java ] [ November 09, 2007: Message edited by: Buhari ]
Before I even look at that code... what sort of text file? What sort of image? Do you want an image that shows the text? (In what fornt? How should it be formatted? Is the text in HTML, XML, RTF or some other format?) Or does the text represent an image somehow, e.g. by using Base64 or some other algorithm to encode binary data? There really is no way to answer this without knowing more about the text file.