Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any guidance on using the ExtraChannels? #26

Open
siiinc opened this issue Aug 17, 2023 · 1 comment
Open

Any guidance on using the ExtraChannels? #26

siiinc opened this issue Aug 17, 2023 · 1 comment

Comments

@siiinc
Copy link

siiinc commented Aug 17, 2023

I have an 8 band remote sensing image. I can get the values from the main channel.

 JXLDecoder decoder = new JXLDecoder(stream);
 JXLImage image = decoder.decode();
 BufferedImage bufferedImage = image.asBufferedImage();
 WritableRaster raster = bufferedImage.getRaster();

How to get access to the pixel vals from the extra channels that I can see referenced in image.imageHeader.extraChannelInfo?

@Traneptora
Copy link
Owner

At the moment, you can't, other than the alpha channel. It's on the TODO list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants