Skip to content

Conversation

@xulman
Copy link
Member

@xulman xulman commented Sep 25, 2023

The server does on-the-fly (server-side) transform of individual blocks when they are not already of gray16 pixel type. Fights issue #24.

The server does on-the-fly (server-side) transform of individual
blocks when they are not already of gray16 pixel type.
Fights issue #24.
@xulman
Copy link
Member Author

xulman commented Sep 25, 2023

the implemented policy is the following:

byte data go to unsigned short.. so staying on an interval <0;255> rather than <-128;127>

larger data types are directly cast to short, with all the risks... e.g. overfloating:
Screenshot_20230925_171749

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

Successfully merging this pull request may close these issues.

2 participants