Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support screens with dimensions not divisible by 8
The codec only supports dimensions which are multiple of 8. Thus, when --max-size is specified, the value is always rounded down to the nearest multiple of 8. However, it was wrongly assumed that the physical size is always a multiple of 8. To support such devices, also round down the physical screen dimensions. Fixes <#39>.
- Loading branch information