wml::des::lowsrc(3)

πŸ“¦
version 2.32.0 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing

✨ wml::des::lowsrc ✨

okay bestie, so this is a page from the EN Tools manual β€” section 3, wml::des::lowsrc(3) β€” and it's literally the cutest little include file for making your <img> tags look ✨vintage✨ on purpose. πŸ’…


πŸŽ€ NAME πŸŽ€

wml::des::lowsrc β€” makes an image and the LOWSRC attribute for the IMG tag. it's giving "retro dial-up glow-up" and honestly? obsessed. πŸ¦‹


🌸 SYNOPSIS 🌸

#use wml::des::lowsrc

<img ...src="image.ANY" <lowsrc "image.ANY"> ...>

that's it. that's the whole vibe. 🫢


πŸ’– DESCRIPTION πŸ’–

so here's what happens, no cap: this takes your image.ANY and creates a little sibling file called image.lowsrc.ANY β€” and that sibling contains only a monochrome bitmap (black/white, like, literally two colours bestie, not a single other hue) of whatever was in the original image. then it prints out the matching string:

lowsrc="image.lowsrc.gif"

main character energy, honestly. it makes the lo-fi version of your pic and hands you the markup to use it. 🌈

heads up fr fr: this include file needs the external program convert from the ImageMagick package. you can find that at http://www.wizards.dupont.com/cristy/ β€” go get it, you'll be lost without it. 😭

πŸ‘‘ AUTHOR πŸ‘‘

  • Ralf S. Engelschall
  • rse@engelschall.com
  • www.engelschall.com

(iconic behaviour from the legend himself, we love to see it ⭐)


🧚 REQUIRES 🧚

  • Internal: P1, P2, P3
  • External: convert (PATH)

πŸ”₯ SEE ALSO πŸ”₯

  • ImageMagick

and that's the whole page, bestie πŸ’œ β€” this one came out of the EN Tools edition of the manual, dated 2020-11-29. go make something monochrome and gorgeous, you've got this. πŸ“βœ¨

πŸ“¦ where this page comes from