This works and avoids the channel mask and fill. Be careful not to use commas or that will assign to the respective channels.
convert -channel-fx 'red=>green red=>blue alpha=100%' # rrr1
Search found 2 matches
- 2018-05-11T17:07:08-07:00
- Forum: Developers
- Topic: Swizzling Data
- Replies: 3
- Views: 13888
- 2018-05-09T08:48:02-07:00
- Forum: Developers
- Topic: Swizzling Data
- Replies: 3
- Views: 13888
Swizzling Data
Swizzling channels seems to be unreasonable difficult to do with the commands available.
Here's what I've tried so far:
convert -channel BA -fill '#000000FF' <- doesn't seem to do anything or produce a warning, I still see blue in the final image
convert -channel-fx 'red, red, red, white ...
Here's what I've tried so far:
convert -channel BA -fill '#000000FF' <- doesn't seem to do anything or produce a warning, I still see blue in the final image
convert -channel-fx 'red, red, red, white ...