* View bmp images in ubuntu + emacs
@ 2011-10-27 16:32 filebat Mark
2011-10-27 17:14 ` Peter Dyballa
0 siblings, 1 reply; 4+ messages in thread
From: filebat Mark @ 2011-10-27 16:32 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: Denny Zhang
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
hi emacsers
After struggling for quite a while, I fail to let my emacs(on Ubuntu) to
open bmp images.
,-------- Variables in my laptop
| (image-type-available-p 'bmp): nil
| (describe-variable 'image-types): svg png gif tiff jpeg xpm postscript
xbm pbm
`--------
,----------- imagemagick has been installed
| wei@wei-laptop:~$ sudo apt-get install imagemagick
| Reading package lists... Done
| Building dependency tree
| Reading state information... Done
| imagemagick is already the newest version.
| 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
`-----------
Any hint is welcome for me to move further. Thanks in advance.
--
Thanks & Regards
Denny Zhang
[-- Attachment #2: Type: text/html, Size: 837 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: View bmp images in ubuntu + emacs
2011-10-27 16:32 View bmp images in ubuntu + emacs filebat Mark
@ 2011-10-27 17:14 ` Peter Dyballa
2011-10-28 13:16 ` filebat Mark
[not found] ` <mailman.1250.1319807785.15868.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Peter Dyballa @ 2011-10-27 17:14 UTC (permalink / raw)
To: filebat Mark; +Cc: Denny Zhang, help-gnu-emacs
Am 27.10.2011 um 18:32 schrieb filebat Mark:
> Any hint is welcome for me to move further. Thanks in advance.
The NEWS of GNU Emacs 24.0.90 contain:
*** If Emacs is compiled with ImageMagick support (see Startup
Changes), the function `imagemagick-types' returns a list of image
file extensions that your installation of ImageMagick supports. The
function `imagemagick-register-types' enables ImageMagick support for
these image types, minus those listed in `imagemagick-types-inhibit'.
See the Emacs Lisp Reference Manual for more information.
--
Greetings
Pete
They're putting dimes in the hole in my head to see the change in me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: View bmp images in ubuntu + emacs
2011-10-27 17:14 ` Peter Dyballa
@ 2011-10-28 13:16 ` filebat Mark
[not found] ` <mailman.1250.1319807785.15868.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: filebat Mark @ 2011-10-28 13:16 UTC (permalink / raw)
To: Peter Dyballa; +Cc: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]
Hi peter
Do you mean that if supporting bmp in emacs, we need to compile emacs with
ImageMagick?
As a lazy man, I typically use apt-get to install emacs on ubuntu.
All I want is just view bmp images in emacs, no editing.
Is there any other way to support bmp in emacs?
Denny
On Fri, Oct 28, 2011 at 1:14 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 27.10.2011 um 18:32 schrieb filebat Mark:
>
> > Any hint is welcome for me to move further. Thanks in advance.
>
> The NEWS of GNU Emacs 24.0.90 contain:
>
> *** If Emacs is compiled with ImageMagick support (see Startup
> Changes), the function `imagemagick-types' returns a list of image
> file extensions that your installation of ImageMagick supports. The
> function `imagemagick-register-types' enables ImageMagick support
> for
> these image types, minus those listed in
> `imagemagick-types-inhibit'.
>
> See the Emacs Lisp Reference Manual for more information.
>
>
> --
> Greetings
>
> Pete
>
> They're putting dimes in the hole in my head to see the change in me.
>
>
--
Thanks & Regards
Denny Zhang
[-- Attachment #2: Type: text/html, Size: 1577 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: View bmp images in ubuntu + emacs
[not found] ` <mailman.1250.1319807785.15868.help-gnu-emacs@gnu.org>
@ 2011-10-28 15:24 ` Stefan Monnier
0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2011-10-28 15:24 UTC (permalink / raw)
To: help-gnu-emacs
> Do you mean that if supporting bmp in Emacs, we need to compile Emacs with
> ImageMagick?
Not only that, but you need Emacs-24.
> As a lazy man, I typically use apt-get to install Emacs on ubuntu.
I'd expect Emacs-24 in Ubuntu to be compiled with imagemagick support.
> All I want is just view bmp images in Emacs, no editing.
> Is there any other way to support bmp in Emacs?
It shouldn't be too difficult to write some Elisp code that takes a BMP
and converts it (using some external tool) to PNG so that Emacs can
display it.
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-28 15:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27 16:32 View bmp images in ubuntu + emacs filebat Mark
2011-10-27 17:14 ` Peter Dyballa
2011-10-28 13:16 ` filebat Mark
[not found] ` <mailman.1250.1319807785.15868.help-gnu-emacs@gnu.org>
2011-10-28 15:24 ` Stefan Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).