meh…

meh is a small, simple, super fast image viewer using raw XLib. It is similar to feh, but faster and simpler.

meh can use ImageMagick's convert to view almost 200 file formats, though it is slower for these formats. Built in formats are JPEG, PNG, BMP, and netpbm.

Features

  • Fast
  • Tiny
  • Fast JPEG, PNG, GIF and BMP support
  • Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
  • ImageMagick support by calling convert
  • Scales images to window size
  • Preserves aspect ratio (either via EWMH hints or by padding the window)
  • XSHM Support
  • Minimal dependencies (Xlib, libjpeg, libpng, giflib)

Download

git

meh 0.3 - January 11th 2010

meh 0.2 - December 22nd 2009

meh 0.1 - January 1st 2009

Example Usage

  • view all images in a directory
    • meh *
  • delete current image when enter is pressed
    • meh * | xargs rm
  • rotate current image when enter is pressed
    • meh * | xargs -i convert -rotate 90 {} {}
  • view all JPEG's in all subdirectories
    • find -name "*.jpg" | meh -list
  • view images as a slideshow with 1 second delays
    • for img in *; do echo $img; sleep 1; done | meh -ctl

Keybindings

  • j > next image
  • k > previous image
  • r > reload current image
  • Enter > Print current image's filename to stdout.

Wishlist

  • Cache next/previous images for fast switching
  • remove giflib dependency
  • We can always use more speed :)