I have searched a lot about opening image inside emacs. I think ImageMagick will do the trick but what I don\'t seem to be able to find is a way to use this inside Emac and
What about image-dired ?
It is already included in emacs. Just type M-x image-dired
and choose an appropriate directory.
http://www.markus-gattol.name/ws/emacs_notes_cheat_sheets.html#sec8
Not sure what you mean ; You can open an image "inside Emacs" just like any other file, just C-x C-f
to find it, and C-c C-c
to toggle the bitmap rendering.
Code-wise, it looks like this:
(defimage test-image
((:file "~/Pictures/greenbug.xpm")))
(insert-image test-image)
Or even simpler
(insert-image (create-image "~/Pictures/greenbug.xpm"))
Are you looking for something like the Emacs Image Manipulation mode? It uses mogrify from ImageMacgick.