If PBM gives almost what you want with just the two byte header and the size information, then you could use the 'dd' command to stream filter that header (see manpage for dd and the 'skip' option.
There are lots of ways to skin a cat, and what method you use depends
on what you want that skin for, and how messy you like the results!
Convert to raw binary format with 8 bits per pixel
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Convert to raw binary format with 8 bits per pixel
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/