且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将文本文件转换为JPG文件帮助

更新时间:2023-11-09 15:58:46


任何人都可以帮我解决如何将文本文件转换为JPG的问题file ...对我来说真的很紧张..我能够将文本文件转换为PDF ..但现在我需要将文本文件转换为JPEG ..
Can anybody help me with the code regarding how to convert a text file to JPG file... Its really urgent for me.. I was able to convert a text file to PDF.. But now I need to convert a text file to JPEG..



你当然知道JPEG文件通常是图片吗?

也许如果你指定你的转换规则是什么......

You realize of course that a JPEG file is usually a picture?
Perhaps if you specify what your conversion rules are ...


其实我需要从文件夹中的文件(没有扩展名)读取数据,并将其中的文本写为图像..我能够读取文件的内容..但我不知道如何将文本作为JPEG file ..
Actually i need to read data from a file(with no extensions) in a folder and get the text in it written as an image.. I am able to read the contents of the file.. But i am not sure about how to put the text as JPEG file..


此外,输入文件中的文本必须是读取行按行并写入单个图像..
moreover the text from the input file must be read line by line and written to a single image..