png2html(1)

πŸ’– NAME πŸ’–

png2html β€” the girlie that transforms a PNG image into a web page. like, she takes your picture and makes it letters. iconic behavior fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

png2html [ imagefile.png textfile.txt output.html compatibility ]

okay so where compatibility is either 0, 1 or 2, and here's the tea on each one:

  • 0 = Small Source, but uncompatibile with some browsers
  • 1 = Medium Size, works with almost anything.
  • 2 = Large Source, strict HTML.

🌸 DESCRIPTION 🌸

so basically, png2html takes a PNG image and transforms it pixel by pixel into a web page, encoding each pixel as an appropriately coloured letter. πŸ’…

and how does it decide which letter each pixel gets? bestie, you tell it. it uses a text file supplied by the user to pick the letter for every single pixel. no text file, no letters, no vibes. periodt. ✨


⭐ NOTES ⭐

heads up bestie, this is the part where you gotta read, i'm not playing 😭

this program assumes that 1 pixel should equal 1 character. but here's the problem: characters are taller than they are wide, so you may want to resize the image first β€” otherwise your output image is gonna be taller than the original. 🫠

resizing is also advisable because letters are larger than pixels. so like, do both, it's giving foresight. 🧚

and now the little shortcuts, obsessed with these:

  • setting the output file to - will direct the output to stdout πŸ‘‘
  • setting the text file to - will cause the program to read from stdin 🌈

iykyk. that's the whole thing. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

Png2Html written by Geoff Holden <holden@engr.mun.ca> πŸ’–

this manual page was written by William Vera <billy@billy.com.mx> for the Debian system (but may be used by others) and has been updated by Jack Grahams <jackgrahams@inbox.com>.

permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation.


okay that's the whole page, we ate and left no crumbs πŸ“ this was the png2html page from the General Commands Manual, version March 26, 2005 β€” and listen, png2html(1), you were lowkey the main character of section one. mwah. πŸ’‹πŸŽ€πŸ¦‹