谷动谷力

 找回密码
 立即注册
谷动谷力 首页 嵌入式 查看内容

【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片体验

2022-12-1 08:41| 发布者: 鸣涧| 查看: 49| 评论: 0|原作者: 鸣涧

摘要: 【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片体验 本次体验【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片功能。 fbviewer命令认识 不会用的命令,先help 下: root@MaixLinux:~# ... ...
【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片体验


概述


本次体验【平头哥Sipeed LicheeRV 86开发板试用】fbviewer显示图片功能。


fbviewer命令认识

不会用的命令,先help 下:
  1. root@MaixLinux:~# fbviewer -help
  2. Usage: fbviewer [options] image1 image2 image3 ...

  3. Available options:
  4.   -h, --help          Show this help
  5.   -a, --alpha         Use the alpha channel (if applicable)
  6.   -c, --dontclear     Do not clear the screen before and after displaying the image
  7.   -u, --donthide      Do not hide the cursor before and after displaying the image
  8.   -i, --noinfo        Supress image information
  9.   -f, --stretch       Strech (using a simple resizing routine) the image to fit onto screen if necessary
  10.   -k, --colorstretch  Strech (using a 'color average' resizing routine) the image to fit onto screen if necessary
  11.   -e, --enlarge       Enlarge the image to fit the whole screen if necessary
  12.   -r, --ignore-aspect Ignore the image aspect while resizing
  13.   -s <delay>, --delay <d>  Slideshow, 'delay' is the slideshow delay in tenths of seconds.

  14. Input keys:
  15. r          : Redraw the image
  16. < or ,     : Previous image
  17. > or .     : Next image
  18. a, d, w, x : Pan the image
  19. f          : Toggle resizing on/off
  20. k          : Toggle resizing quality
  21. e          : Toggle enlarging on/off
  22. i          : Toggle respecting the image aspect on/off
  23. n          : Rotate the image 90 degrees left
  24. m          : Rotate the image 90 degrees right
  25. p          : Disable all transformations
  26. **********************************************
复制代码

明白了,用法,来显示一张图片吧
  1. root@MaixLinux:~# fbviewer haoran.jpg -f
  2. fbv - The Framebuffer Viewer
  3. haoran.jpg
  4. 690 x 920
复制代码
命令解说:haoran.jpg 要显示的图片, -f 适应屏莫显示


显示效果如下:

fbviewer.png


可以输入命令,控制显示

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 取消所有参数设置



鲜花

握手

雷人

路过

鸡蛋

相关阅读

发表评论

最新评论

最新热点

QQ|Archiver|手机版|深圳市光明谷科技有限公司|光明谷商城|Sunshine Silicon Corpporation ( 粤ICP备14060730号|Sitemap

GMT+8, 2024-4-10 21:37 , Processed in 0.124915 second(s), 36 queries .

Powered by Discuz! X3.2 Licensed

© 2001-2013 Comsenz Inc.

返回顶部