• Re: All Hail The Great Netpbm!

    From Anthk NM@anthk@openbsd.home to comp.os.linux.misc on Fri Sep 12 05:40:29 2025
    From Newsgroup: comp.os.linux.misc

    On 2025-08-26, Farley Flud <ff@linux.rocks> wrote:
    The netpbm image formats go back a long, long, long way.

    But they are still absolutely essential. A lot of FOSS
    software, and MYSELF, use them all the fucking time.

    Netpbm is maintained by a single volunteer, Bryan Henderson,
    and the FOSS world owes him a tremendous gratitude.

    Thanks, Mr. Henderson!

    If any of you freeloading distro lackeys wish to do the same,
    his email address can be found at the netpbm site:

    <https://netpbm.sourceforge.net/>

    Thanks, Mr. Henderson! You represent the soul of FOSS.



    Now that we're talking about netpbm...
    Which was the command to create a dithered image?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Ben Collver@bencollver@tilde.pink to comp.os.linux.misc on Fri Sep 12 12:45:30 2025
    From Newsgroup: comp.os.linux.misc

    On 2025-09-12, Anthk NM <anthk@openbsd.home> wrote:
    Now that we're talking about netpbm...
    Which was the command to create a dithered image?

    From ppmdither(1)

    You can do another kind of dither -- Floyd-Steinberg -- with
    pnmquant or pnmremap.

    And that's how i recently did it: `pnmquant -fs`
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Farley Flud@fsquared@fsquared.linux to comp.os.linux.misc on Fri Sep 12 13:17:21 2025
    From Newsgroup: comp.os.linux.misc

    On Fri, 12 Sep 2025 12:45:30 +0000, Ben Collver wrote:

    On 2025-09-12, Anthk NM <anthk@openbsd.home> wrote:
    Now that we're talking about netpbm...
    Which was the command to create a dithered image?

    From ppmdither(1)

    You can do another kind of dither -- Floyd-Steinberg -- with
    pnmquant or pnmremap.

    And that's how i recently did it: `pnmquant -fs`


    Dithering with NetPBM is accomplished using "pamditherbw."

    Both Floyd-Steinberg and Atkinson dithering are possible:

    pamditherbw -floyd file | pamtopnm > $file.pbm

    pamditherbw -atkinson file | pamtopnm > file.pbm

    The output has first to be passed through pamtopnm because the
    output of pamditherbw is a PAM format, or Portable Arbitrary Map,
    which is slightly different from the usual PNM formats.
    --
    Hail Linux! Hail FOSS! Hail Stallman!
    --- Synchronet 3.21a-Linux NewsLink 1.2