Timeline for How to transform a text file into a picture
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 23, 2021 at 13:59 | comment | added | Amir saleem | Can we increase the font size? | |
| Jun 11, 2020 at 18:13 | comment | added | FeRD | Yeah, @mwfearnley is right, PNG is definitely a better choice. For the ASCII-art Tux we've been using as a sample in the answers here, the difference between JPG and PNG was 34K vs 19K — and that's before I trimmed the margins. Once it was trimmed, the PNG is only 3.3K to the JPG's 30K... and the PNG is clearer, too. | |
| May 12, 2020 at 13:13 | comment | added | mwfearnley | I don't want to change the meaning of your answer, but I highly suggest editing it to --convert-to png instead. It's not only lossless (no ugly JPEG artifacts), but for something simple like text, the file size will probably be smaller for PNG than for even a moderate quality JPG. | |
| Oct 22, 2019 at 20:43 | comment | added | FeRD | @CiroSantilli新疆改造中心法轮功六四事件 Fixed-size page, true, but that's where ImageMagick's auto-cropping comes in handy again: soffice --convert-to jpg ascii.txt && mogrify -trim -bordercolor "#FFF" -border 10 +repage ascii.jpg | |
| Oct 10, 2019 at 9:45 | comment | added | Ciro Santilli OurBigBook.com | This produces a fixed sized page with potentially tiny text on it if the text is small. | |
| Mar 3, 2018 at 23:20 | comment | added | FeRD | That... is awesome! I had no idea OpenOffice could convert to JPG... or PNG, which I just tried; probably other formats as well. (Doesn't help that there's no mention or even hint of this in the --help output.) Only wrinkle, if the text is longer than a page, it looks like you only get the first page. (If there's a way to tell it to output other pages or multiple files, it's not immediately obvious to me. Passing --outdir makes no difference.) But for short bits of text, it works EXTREMELY well, and even auto-wraps. Nice! | |
| Sep 29, 2017 at 11:10 | vote | accept | Quora Feans | ||
| Jun 28, 2017 at 17:02 | review | Late answers | |||
| Jun 28, 2017 at 17:05 | |||||
| Jun 28, 2017 at 16:44 | review | First posts | |||
| Jun 28, 2017 at 17:11 | |||||
| Jun 28, 2017 at 16:41 | history | answered | Admiral Smith | CC BY-SA 3.0 |