question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to place each image in a different channel from command line

See original GitHub issue

Is it possible to place each image in a different channel in the reference viewer from command line? I notice that there is a -c option for channels and I can also specifically request what image(s) to open by providing their names as a comma-separated string at the end of the command, but I don’t know how to use both to do what I want here.

For example, I have image1.fits and image2.fits. I want the first image to be in Image channel, and the second to be in Image0 channel. All done from a single command line. Is this possible?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ejeschkecommented, Jan 26, 2017

@pllim when you get a chance, try latest master using --sep option on the command line, e.g.

ginga --sep file*.fits
1reaction
ejeschkecommented, Jan 26, 2017

There is a for loop in main that loads the command line files. That just needs an extra parameter or call to specify the channel. I’ll take a look at this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Channel Packing Between Images - Legacy ImageMagick ...
Separate the channels of each image using -separate. Then use -combine to take individual channel images and put them back into RGB or...
Read more >
ImageMagick: Combine two images into R/G channels and ...
I've played around with that command by trying to specify individual channels of the two images for the inputs but I couldn't get...
Read more >
Splitting and Merging Channels with OpenCV - PyImageSearch
In this tutorial, you will learn how to split and merge channels with OpenCV.
Read more >
Duplicate, split, and merge channels in Photoshop
If you are merging channels into a multichannel image, click Next, and select the remaining channels. Note: All channels of a multichannel image...
Read more >
ImageMagick: Command-line Options
By default, all images of an image sequence are stored in the same file. However, some formats (e.g. JPEG) do not support more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found