rien / reStream

Stream your reMarkable screen over SSH.
MIT License
732 stars 56 forks source link

Rescaled grey16be colors using ffmpegs colorlevels to directly correct the original issue #101

Closed itay-grudev closed 6 months ago

itay-grudev commented 6 months ago

This PR re-scales the grey16be colors using ffmpeg's colorlevels filter to directly reverse the original issue causing the image to be really dark.

Importantly, using this method the quality of small details is preserved, as opposed to gamma, brightness and contrast filters which significantly reduce the quality of text and small details and/or do not achieve the desired brightening effect.

Current solution on main since #100:

Screenshot from 2024-01-09 19-31-33

Improved version with colorlevels:

Screenshot from 2024-01-09 20-23-03

Fixes: #96

itay-grudev commented 6 months ago

@rien The quality of the text is preserved with this fix and the brightness is at the levels it was before the v3 software update.