Skip to content

michaleq44/fih

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fih

English | Polski
Very simplistic image viewer for Linux (Windows version)
All it does is load images and display them.

Scaling

The program scales the image to fit into the window but doesn't stretch it to a bigger size than the original.

Usage

Execute: fih [your/image_path.png]
The supported image formats are the ones supported by the stb_image.h library:

  • BMP (.bmp)
  • PNG (.png)
  • JPEG (.jpg/.jpeg)
  • GIF (.gif) ONLY SHOWS FIRST FRAME
  • TGA (.tga)
  • PSD (.psd)
  • RGBE (.hdr)
  • PIC (.pic)

Runtime dependencies:

  • XLib
  • libxcb

Compilation

Dependencies:

  • XLib (library and headers)
  • libxcb (library and headers)
  • GNU Autoconf
  • GNU Make
  • a C Compiler (like GCC or Clang)

How to compile:

  • enter the project directory in a shell
  • prepare autoconf: ./autogen.sh
  • create and enter build directory: mkdir build && cd build
  • configure the project: ../configure {flags}
    • you can get info about the flags with ../configure --help
  • compile the program: make
  • there will appear an executable fih in the build directory

OPTIONALLY:

  • install the program: in the same directory execute make install
    • the default install location is /usr/local/bin but you can change it with the --prefix flag (for example: --prefix=/opt/fih installs in /opt/fih/bin)

CREDITS

About

feh but worse

Resources

License

Stars

Watchers

Forks

Contributors

Languages