image+

https://github.com/mhayashi1120/Emacs-imagex.git

git clone 'git://github.com/mhayashi1120/Emacs-imagex.git'
53

image+.el

Install:

Please install the ImageMagick before installing this elisp.

Put this file into load-path'ed directory, and byte compile it if desired. And put the following expression into your ~/.emacs.

(eval-after-load 'image '(require 'image+))

Usage:

https://github.com/abo-abo/hydra

(eval-after-load 'image+
  `(when (require 'hydra nil t)
     (defhydra imagex-sticky-binding (global-map "C-x C-l")
       "Manipulating Image"
       ("+" imagex-sticky-zoom-in "zoom in")
       ("-" imagex-sticky-zoom-out "zoom out")
       ("M" imagex-sticky-maximize "maximize")
       ("O" imagex-sticky-restore-original "restore original")
       ("S" imagex-sticky-save-image "save file")
       ("r" imagex-sticky-rotate-right "rotate right")
       ("l" imagex-sticky-rotate-left "rotate left"))))

Then try to type C-x C-l + to zoom-in the current image. You can zoom-out with type - .

M-x imagex-sticky-mode

Or to activate globally:

M-x imagex-global-sticky-mode

Or in .emacs:

(eval-after-load 'image+ '(imagex-global-sticky-mode 1))
M-x imagex-auto-adjust-mode

Or in .emacs:

(eval-after-load 'image+ '(imagex-auto-adjust-mode 1))
(setq imagex-quiet-error t)