Skip to content

命令行图像查看,它可以将图片渲染为 ASCII 字符,以此可以在终端查看图片概览

License

Notifications You must be signed in to change notification settings

3130585774/imgview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imgview - 基于命令行的图像预览工具

使用 ASCII 字符将图片渲染到终端窗口中适合快速查看图片结构或内容轮廓。

🧱依赖

  • C++11 或更高版本的编译器
  • stb_image.h(已包含在本项目中)

仅依赖单头文件库 stb_image.h,无需链接其他图形库或依赖项。

🛠️编译

clang++ imgview.cpp -o imgview
# 或者
g++ -std=c++11 imgview.cpp -o imgview

🚀 使用方法

./imgview path/to/image.jpg

About

命令行图像查看,它可以将图片渲染为 ASCII 字符,以此可以在终端查看图片概览

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages