godspeed1989 / fbv

framebuffer image viewer
Other
79 stars 39 forks source link

Smartfit #23

Closed avanc closed 3 years ago

avanc commented 3 years ago

Replace "fullscreen" option with "smartfit"

smartfit requires the percentage on how much of the image can be out of the screen. --smartfit 0 means that the image is fit to screen size (similar to --enlarge --shrink) --smartfit 50 means that 50% of the image might not be shown --smartfit 100 is identical to previous --fullscreen

In addition, the image is centred.

avanc commented 3 years ago

In addition, the screen is now cleared if the image is smaller than the screen to erase old content.

godspeed1989 commented 3 years ago

Fix #20 and add Smartfit