I believe "raw:" is what you want. though it may output RGB data.
Do some tests with it and small images, and try -channel to see if that works.
let us know the results.
remove header
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/