* My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
@ 2011-08-24 10:41 Philipp Hahne
2011-08-25 5:57 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Philipp Hahne @ 2011-08-24 10:41 UTC (permalink / raw
To: help-gnu-emacs
Hi everyone,
I´m new to emacs and try to get it work on Windows 7. It still doesn´t
show Images or more than the text of Pdf-files. This is, what I have done:
put lots of dll-files in ...\emacs-23.3\bin:
jpeg62.dll, libXpm.dll, libjpeg-62.dll, libpng-bcc.lib, libpng.dll.a,
libpng.la, libpng.lib, libpng12-0.dll, libpng12.def, libpng12.dll,
libpng12.dll.a, libpng12.la, libpng13.dll, libpng14-14.dll,
libtiff3.dll, zlib1.dll, ... (do I really need them all?)
I have gs, miktex, gnuwin32 installed.
After my last step, appending "libpng14-14.dll", there was a first
improvement: emacs displayed a little square when opening a png-file,
offering me to view image as text, which is, actually, what it has done
before.
Has anyone an idea?
I´m looking foreward to hearing from you,
thanks a lot,
Phil
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-24 10:41 My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files Philipp Hahne
@ 2011-08-25 5:57 ` Eli Zaretskii
2011-08-25 8:32 ` Philipp Hahne
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2011-08-25 5:57 UTC (permalink / raw
To: help-gnu-emacs
> Date: Wed, 24 Aug 2011 12:41:52 +0200
> From: Philipp Hahne <philipp.hahne@kit.edu>
>
> I´m new to emacs and try to get it work on Windows 7. It still doesn´t
> show Images or more than the text of Pdf-files. This is, what I have done:
>
> put lots of dll-files in ...\emacs-23.3\bin:
> jpeg62.dll, libXpm.dll, libjpeg-62.dll, libpng-bcc.lib, libpng.dll.a,
> libpng.la, libpng.lib, libpng12-0.dll, libpng12.def, libpng12.dll,
> libpng12.dll.a, libpng12.la, libpng13.dll, libpng14-14.dll,
> libtiff3.dll, zlib1.dll, ... (do I really need them all?)
>
> I have gs, miktex, gnuwin32 installed.
>
> After my last step, appending "libpng14-14.dll", there was a first
> improvement: emacs displayed a little square when opening a png-file,
> offering me to view image as text, which is, actually, what it has done
> before.
>
> Has anyone an idea?
First, which version of Emacs is this, and where did you get it?
Next, did you do everything that README.W32 says to do for image
support?
Finally, do you see icons on the tool bar? If you do, _some_ images
are already displayed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 5:57 ` Eli Zaretskii
@ 2011-08-25 8:32 ` Philipp Hahne
2011-08-25 11:26 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Philipp Hahne @ 2011-08-25 8:32 UTC (permalink / raw
To: help-gnu-emacs
Am 25.08.2011 07:57, schrieb Eli Zaretskii:
>> Date: Wed, 24 Aug 2011 12:41:52 +0200
>> From: Philipp Hahne<philipp.hahne@kit.edu>
>>
>> I´m new to emacs and try to get it work on Windows 7. It still doesn´t
>> show Images or more than the text of Pdf-files. This is, what I have done:
>>
>> put lots of dll-files in ...\emacs-23.3\bin:
>> jpeg62.dll, libXpm.dll, libjpeg-62.dll, libpng-bcc.lib, libpng.dll.a,
>> libpng.la, libpng.lib, libpng12-0.dll, libpng12.def, libpng12.dll,
>> libpng12.dll.a, libpng12.la, libpng13.dll, libpng14-14.dll,
>> libtiff3.dll, zlib1.dll, ... (do I really need them all?)
>>
>> I have gs, miktex, gnuwin32 installed.
>>
>> After my last step, appending "libpng14-14.dll", there was a first
>> improvement: emacs displayed a little square when opening a png-file,
>> offering me to view image as text, which is, actually, what it has done
>> before.
>>
>> Has anyone an idea?
> First, which version of Emacs is this, and where did you get it?
version: Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO
get from: http://ftp.gnu.org/pub/gnu/emacs/windows/
sorry for not mentioning it at the first mail
> Next, did you do everything that README.W32 says to do for image
> support?
now I have included only the dll´s requestet for image support in
README.W32 in the ...\emacs-23.3\bin directory, e.g. jpeg 62.dll,
libtiff3.dll, libungif4.dll (all downloaded from gnuwin32 project) and
libpng14-14.dll ( downloaded from
http://trac.mccode.org/browser/branches/mcstas-1.x/support/Win32/gnuplot/libpng14-14.dll?rev=3081)
I am not sure what ist meant with:
"If you have image support DLLs under different names, customize the
value of `dynamic-library-alist'."
> Finally, do you see icons on the tool bar? If you do, _some_ images
> are already displayed.
>
>
You are right, the icons on the tool bar and the emacs icon on the
oppening screen are shown. Even .tif and .gif files are working.
Only when I try to open .jpg and .png I get an empty square, and trying
to open pdf getting the message: Unable to render file. View extracted
text instead? (y or n)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 8:32 ` Philipp Hahne
@ 2011-08-25 11:26 ` Eli Zaretskii
2011-08-25 12:36 ` Philipp Hahne
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2011-08-25 11:26 UTC (permalink / raw
To: help-gnu-emacs
> Date: Thu, 25 Aug 2011 10:32:45 +0200
> From: Philipp Hahne <philipp.hahne@kit.edu>
>
> > First, which version of Emacs is this, and where did you get it?
> version: Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO
> get from: http://ftp.gnu.org/pub/gnu/emacs/windows/
> [...]
> now I have included only the dll´s requestet for image support in
> README.W32 in the ...\emacs-23.3\bin directory, e.g. jpeg 62.dll,
> libtiff3.dll, libungif4.dll (all downloaded from gnuwin32 project) and
> libpng14-14.dll ( downloaded from
> http://trac.mccode.org/browser/branches/mcstas-1.x/support/Win32/gnuplot/libpng14-14.dll?rev=3081)
>
> I am not sure what ist meant with:
> "If you have image support DLLs under different names, customize the
> value of `dynamic-library-alist'."
For Emacs 23.3, the correct variable is `image-library-alist'.
If you evaluate `image-library-alist', like this:
M-: image-library-alist RET
the value tells you which DLLs Emacs looks for when it needs to
display each image type. If your DLLs are called differently, you
will need to modify the value to match the DLLs you have.
> Only when I try to open .jpg and .png I get an empty square, and trying
> to open pdf getting the message: Unable to render file. View extracted
> text instead? (y or n)
JPEG images work for me with jpeg62.dll whose size is 127488 bytes and
date 2005-06-04; I downloaded it long ago from GnuWin32. Is that what
you have?
As for PNG, I suggest to download from here:
http://www.gtk.org/download-windows.html
as recommended by README.W32.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 11:26 ` Eli Zaretskii
@ 2011-08-25 12:36 ` Philipp Hahne
2011-08-25 14:10 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Philipp Hahne @ 2011-08-25 12:36 UTC (permalink / raw
To: help-gnu-emacs
Am 25.08.2011 13:26, schrieb Eli Zaretskii:
>> Date: Thu, 25 Aug 2011 10:32:45 +0200
>> From: Philipp Hahne<philipp.hahne@kit.edu>
>>
>>> First, which version of Emacs is this, and where did you get it?
>> version: Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO
>> get from: http://ftp.gnu.org/pub/gnu/emacs/windows/
>> [...]
>> now I have included only the dll´s requestet for image support in
>> README.W32 in the ...\emacs-23.3\bin directory, e.g. jpeg 62.dll,
>> libtiff3.dll, libungif4.dll (all downloaded from gnuwin32 project) and
>> libpng14-14.dll ( downloaded from
>> http://trac.mccode.org/browser/branches/mcstas-1.x/support/Win32/gnuplot/libpng14-14.dll?rev=3081)
>>
>> I am not sure what ist meant with:
>> "If you have image support DLLs under different names, customize the
>> value of `dynamic-library-alist'."
> For Emacs 23.3, the correct variable is `image-library-alist'.
>
> If you evaluate `image-library-alist', like this:
>
> M-: image-library-alist RET
>
> the value tells you which DLLs Emacs looks for when it needs to
> display each image type. If your DLLs are called differently, you
> will need to modify the value to match the DLLs you have.
thanks for the explanation!
I get the return:
((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll") (png "libpng14-14.dll"
"libpng14.dll") (jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll"
"jpeg.dll") (tiff "libtiff3.dll" "libtiff.dll") (gif "giflib4.dll"
"libungif4.dll" "libungif.dll") (svg "librsvg-2-2.dll") (gdk-pixbuf
"libgdk_pixbuf-2.0-0.dll") (glib "libglib-2.0-0.dll") (gobject
"libgobject-2.0-0.dll"))
I´ve got only the libpng14-14.dll for png, but that shouldn´t make a
diffrence as I have only one out of three for gif, should it?
>> Only when I try to open .jpg and .png I get an empty square, and trying
>> to open pdf getting the message: Unable to render file. View extracted
>> text instead? (y or n)
> JPEG images work for me with jpeg62.dll whose size is 127488 bytes and
> date 2005-06-04; I downloaded it long ago from GnuWin32. Is that what
> you have?
size is the same, the date is 2005-05-15, it is the latest I can find in
GnuWin32
> As for PNG, I suggest to download from here:
>
> http://www.gtk.org/download-windows.html
>
> as recommended by README.W32.
>
>
now I took the one from the recommended link, it has some more bytes,
but changes nothing I can see.
I appreciate any further hint, thanks a lot
Phil
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 12:36 ` Philipp Hahne
@ 2011-08-25 14:10 ` Eli Zaretskii
2011-08-25 14:19 ` Philipp Hahne
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2011-08-25 14:10 UTC (permalink / raw
To: help-gnu-emacs
> Date: Thu, 25 Aug 2011 14:36:34 +0200
> From: Philipp Hahne <philipp.hahne@kit.edu>
>
> > JPEG images work for me with jpeg62.dll whose size is 127488 bytes and
> > date 2005-06-04; I downloaded it long ago from GnuWin32. Is that what
> > you have?
> size is the same, the date is 2005-05-15, it is the latest I can find in
> GnuWin32
> > As for PNG, I suggest to download from here:
> >
> > http://www.gtk.org/download-windows.html
> >
> > as recommended by README.W32.
> >
> >
> now I took the one from the recommended link, it has some more bytes,
> but changes nothing I can see.
>
> I appreciate any further hint, thanks a lot
Are you restarting Emacs after each new DLL you install? You should.
If you did restart it, then I'm stumped. All I can say is that the
same binary works for me with these DLLs. Sorry.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 14:10 ` Eli Zaretskii
@ 2011-08-25 14:19 ` Philipp Hahne
2011-08-25 14:29 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Philipp Hahne @ 2011-08-25 14:19 UTC (permalink / raw
To: help-gnu-emacs
Am 25.08.2011 16:10, schrieb Eli Zaretskii:
>> Date: Thu, 25 Aug 2011 14:36:34 +0200
>> From: Philipp Hahne<philipp.hahne@kit.edu>
>>
>>> JPEG images work for me with jpeg62.dll whose size is 127488 bytes and
>>> date 2005-06-04; I downloaded it long ago from GnuWin32. Is that what
>>> you have?
>> size is the same, the date is 2005-05-15, it is the latest I can find in
>> GnuWin32
>>> As for PNG, I suggest to download from here:
>>>
>>> http://www.gtk.org/download-windows.html
>>>
>>> as recommended by README.W32.
>>>
>>>
>> now I took the one from the recommended link, it has some more bytes,
>> but changes nothing I can see.
>>
>> I appreciate any further hint, thanks a lot
> Are you restarting Emacs after each new DLL you install? You should.
>
> If you did restart it, then I'm stumped. All I can say is that the
> same binary works for me with these DLLs. Sorry.
>
yes I did restart Emacs quite often.
Well, thanks for helping me anyway.
Maby some one else has an idea?
best wishes,
Phil
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 14:19 ` Philipp Hahne
@ 2011-08-25 14:29 ` Eli Zaretskii
2011-08-26 7:02 ` Philipp Hahne
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2011-08-25 14:29 UTC (permalink / raw
To: help-gnu-emacs
> Date: Thu, 25 Aug 2011 16:19:37 +0200
> From: Philipp Hahne <philipp.hahne@kit.edu>
>
> > Are you restarting Emacs after each new DLL you install? You should.
> >
> > If you did restart it, then I'm stumped. All I can say is that the
> > same binary works for me with these DLLs. Sorry.
> >
> yes I did restart Emacs quite often.
>
> Well, thanks for helping me anyway.
>
> Maby some one else has an idea?
One more from me: are you sure Emacs uses the DLLs you want it to?
Perhaps there's another DLL earlier on the DLL search path, and Emacs
loads it? I suggest to use one of the utilities that can show DLLs
open by processes on your system to find this out.
For example, in Process Explorer (from Sysinternals) you can type
Ctrl-F, type "jpeg" into the search field, and have ProcExp show you
which programs on the system, including Emacs, use what jpeg DLLs.
Maybe this will unlock the mystery.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files
2011-08-25 14:29 ` Eli Zaretskii
@ 2011-08-26 7:02 ` Philipp Hahne
0 siblings, 0 replies; 9+ messages in thread
From: Philipp Hahne @ 2011-08-26 7:02 UTC (permalink / raw
To: help-gnu-emacs
Am 25.08.2011 16:29, schrieb Eli Zaretskii:
>> Date: Thu, 25 Aug 2011 16:19:37 +0200
>> From: Philipp Hahne<philipp.hahne@kit.edu>
>>
>>
>> yes I did restart Emacs quite often.
>>
>> Well, thanks for helping me anyway.
>>
>> Maby some one else has an idea?
> One more from me: are you sure Emacs uses the DLLs you want it to?
> Perhaps there's another DLL earlier on the DLL search path, and Emacs
> loads it? I suggest to use one of the utilities that can show DLLs
> open by processes on your system to find this out.
>
> For example, in Process Explorer (from Sysinternals) you can type
> Ctrl-F, type "jpeg" into the search field, and have ProcExp show you
> which programs on the system, including Emacs, use what jpeg DLLs.
> Maybe this will unlock the mystery.
>
>
nice tool this ProcExp!
"unfortunately" Emacs uses the right dll´s for jpeg and png but still
can´t show the images. Really strange, I think I just try an earlier
version...
thanks a lot, best wishes
Phil
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-08-26 7:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-24 10:41 My emacs on Windows doesn´t show Images (png, jpeg...) even with .dll-files Philipp Hahne
2011-08-25 5:57 ` Eli Zaretskii
2011-08-25 8:32 ` Philipp Hahne
2011-08-25 11:26 ` Eli Zaretskii
2011-08-25 12:36 ` Philipp Hahne
2011-08-25 14:10 ` Eli Zaretskii
2011-08-25 14:19 ` Philipp Hahne
2011-08-25 14:29 ` Eli Zaretskii
2011-08-26 7:02 ` Philipp Hahne
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.