foxglove / community

This repo hosts our org-wide discussion board
0 stars 0 forks source link

Does the decodeFloat1c function need to be multiplied by 255? #696

Closed smbera closed 1 year ago

smbera commented 1 year ago

Description

https://github.com/foxglove/studio/blob/main/packages/den/image/decodings.ts#L178

I want to known, does this line of code need to multiply by 255? Because I can display the picture when I don't multiply it by 255, but it shows a white background when I multiply it by 255. please confirm please, thank you

foxhubber[bot] commented 1 year ago

Internal tracking ticket: FG-2988

defunctzombie commented 1 year ago

@smbera Thanks for engaging with your question however this is not a bug. Please do not file bug issues for things that are not bugs.

image

If you have a question - use the question link to ask it.