【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片体验
【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片体验概述
本次体验【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片功能。
fbviewer命令认识
不会用的命令,先help 下:
root@MaixLinux:~# fbviewer -help
Usage: fbviewer image1 image2 image3 ...
Available options:
-h, --help Show this help
-a, --alpha Use the alpha channel (if applicable)
-c, --dontclear Do not clear the screen before and after displaying the image
-u, --donthide Do not hide the cursor before and after displaying the image
-i, --noinfo Supress image information
-f, --stretch Strech (using a simple resizing routine) the image to fit onto screen if necessary
-k, --colorstretchStrech (using a 'color average' resizing routine) the image to fit onto screen if necessary
-e, --enlarge Enlarge the image to fit the whole screen if necessary
-r, --ignore-aspect Ignore the image aspect while resizing
-s <delay>, --delay <d>Slideshow, 'delay' is the slideshow delay in tenths of seconds.
Input keys:
r : Redraw the image
< or , : Previous image
> or . : Next image
a, d, w, x : Pan the image
f : Toggle resizing on/off
k : Toggle resizing quality
e : Toggle enlarging on/off
i : Toggle respecting the image aspect on/off
n : Rotate the image 90 degrees left
m : Rotate the image 90 degrees right
p : Disable all transformations
**********************************************
明白了,用法,来显示一张图片吧
root@MaixLinux:~# fbviewer haoran.jpg -f
fbv - The Framebuffer Viewer
haoran.jpg
690 x 920命令解说:haoran.jpg 要显示的图片, -f 适应屏莫显示
显示效果如下:
可以输入命令,控制显示
r : Redraw the image 重绘图片
< or , : Previous image 上一张图片
> or . : Next image下一张图片,如果输入参数为1,或显示到最后一张图片,则退出, (按Ctrl+c, 发现是无效的, 不能退出,以为是死机了)
a, d, w, x : Pan the image 移动图片
f : Toggle resizing on/off缩放开关
k : Toggle resizing quality 原比例绽放
e : Toggle enlarging on/off放大开关
i : Toggle respecting the image aspect on/off拉伸到满屏显示
n : Rotate the image 90 degrees left 向左转90度
m : Rotate the image 90 degrees right 向右转90度
p : Disable all transformations 取消所有参数设置
页:
[1]