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.

Images are hue-shifted by CGS

See original GitHub issue

Area of Cosmos - What area of Cosmos are we dealing with?

CGS

Expected Behaviour - What do you think that should happen?

  1. I load a test image
  2. I display it on the screen, exactly as if viewed from windows

Actual Behaviour - What unexpectedly happens?

  1. I load a test image
  2. It’s hue-shifted when displayed on screen Visual reference: comp

Reproduction - How did you get this error to appear?

m’code:

                        canvas = FullScreenCanvas.GetFullScreenCanvas();
                        byte[] image_bytes = File.ReadAllBytes(@cwd+cmd[1]);
                        Bitmap image = new Bitmap(image_bytes);
                        System.Console.Clear();
                        canvas.Clear();
                        canvas.DrawImage(image, 0, 0);
                        canvas.Display();

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

User kit, newest.

Issue Analytics

  • State:closed
  • Created 2 months ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Neil-Ciciglycerincommented, Jul 25, 2023

ok that worked 😛

0reactions
ptobuoncommented, Jul 30, 2023

If that worked, please close the issue. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hueshift, saturation, and brightening all in one shader in Unity
Shaders, especially HLSL or CG shaders seem to be less known in Unity, so I just wanted to do my part, share my...
Read more >
Rotate Hue using ImageAttributes in C# - Stack Overflow
How can I rotate the hue of an image using GDI+'s ImageAttributes (and presumably ColorMatrix )?. Note that I want to rotate the...
Read more >
LookDev'ing Iridescence in Nuke
First of all getting that hue range in across an image is fairly ... Unfortunately Nuke's built-in Hueshift node does… some weird stuff....
Read more >
HueShift
HueShift transforms the input image's colorspace. It works by transforming the colors to CIE XYZ space and then doing simple scales and rotates...
Read more >
HueShift - Foundry Learn
HueShift transforms the input image's colorspace. It works by transforming the colors to CIE XYZ space and then doing simple scales and rotates...
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