GNU Emacs as a Comic Book Reader
Comics are available in digital format as a collection of images in a compressed ZIP or RAR file (.cbz or .cbr file extension respectively). These can be enjoyed in GNU Emacs with full access to image viewing capabilities using keybindings. # Make sure you have unrar installed for CBR files # apt install unrar (require 'arc2-mode) (setq archive-summarize-files-fn 'archive-summarize-files-as-thumb) Note: The archive-mode is capable of displaying the list of files in an archive; though it depends on external tools for extraction. For JPG and PNG, Emacs can resize the image without external convertor (ie. imagemagick). However, some menu options for image transformations in image-mode might not be available. Use the following patch for image-mode.el . @@ -460,16 +460,16 @@ image-mode-map :help "Show image as hex"] "--" ["Fit to Window Height" image-transform-fit-to-height - :visible (eq image-type 'imagemagick) +
Comments
Post a Comment