Search found 3 matches

by JohnnyGubbins
2018-06-29T00:14:56-07:00
Forum: Magick.NET
Topic: Setting Pixel value in Q16 HDRI 7.4.5
Replies: 8
Views: 15390

Re: Setting Pixel value in Q16 HDRI 7.4.5

Ok, forget about Console.WriteLine(pixels.GetPixel(1, 1).ToColor().ToColor()); I am checking pixel values in another app which displays with any bpc precision, supports both signed and usigned values. I used that line just for quick debugging but I rely on other app to check values with precision ...
by JohnnyGubbins
2018-06-28T00:20:48-07:00
Forum: Magick.NET
Topic: Setting Pixel value in Q16 HDRI 7.4.5
Replies: 8
Views: 15390

Re: Setting Pixel value in Q16 HDRI 7.4.5

And when you convert the pixel to a `System.Drawing.Color` the value will be zero because it only uses a range from 0f to 256f and when 100f is converted to that range it will become zero: 256 * (100/65535) = 0.39f Ok, I tried what you said and increased colour values but it absolutely makes no ...
by JohnnyGubbins
2018-06-27T01:29:58-07:00
Forum: Magick.NET
Topic: Setting Pixel value in Q16 HDRI 7.4.5
Replies: 8
Views: 15390

Setting Pixel value in Q16 HDRI 7.4.5

Sorry if I am asking a question that has been asked before - I googled a lot and couldn't find anything on this. I am trying to create some 32bpc images procedurally (for game development purposes). I tried few different approaches but it seems that no matter what pixel value I am setting, the ...