* how to get images support in Emacs on Windows?
@ 2015-02-19 23:19 Herbert Sitz
2015-02-19 23:33 ` Yuri Niyazov
2015-02-19 23:53 ` Ista Zahn
0 siblings, 2 replies; 8+ messages in thread
From: Herbert Sitz @ 2015-02-19 23:19 UTC (permalink / raw)
To: emacs-orgmode
I'm trying to use inline images on Windows and (I think?) I've gotten to the
point where I understand that this is not available with the standard GNU
Emacs installation on Windows. My understanding is that I need an
"image.dll" that I can put in the bin directory. I think that comes as part
of EmacsW32 install, but that install seems to be packaged as a single
executable, not sure how to get image.dll without running a full install of
EmacsW32, which I don't think I want.
So, am I correct in understanding that all I need is that 'image.dll' to get
inline image support on Windows (I'm running v24.4 of Emacs). If not, what
more do I need to do? And how can I get (or make) a copy of that .dll?
Thanks,
Herbert
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-19 23:19 how to get images support in Emacs on Windows? Herbert Sitz
@ 2015-02-19 23:33 ` Yuri Niyazov
2015-02-19 23:53 ` Ista Zahn
1 sibling, 0 replies; 8+ messages in thread
From: Yuri Niyazov @ 2015-02-19 23:33 UTC (permalink / raw)
To: Herbert Sitz; +Cc: emacs-orgmode@gnu.org
It's not called "image.dll", which may be a source of confusion.
Here are the instructions specifically for PNG images. For each type,
a different DLL is required:
http://stackoverflow.com/questions/2650041/emacs-under-windows-and-png-files
On Thu, Feb 19, 2015 at 3:19 PM, Herbert Sitz <hesitz@gmail.com> wrote:
> I'm trying to use inline images on Windows and (I think?) I've gotten to the
> point where I understand that this is not available with the standard GNU
> Emacs installation on Windows. My understanding is that I need an
> "image.dll" that I can put in the bin directory. I think that comes as part
> of EmacsW32 install, but that install seems to be packaged as a single
> executable, not sure how to get image.dll without running a full install of
> EmacsW32, which I don't think I want.
>
> So, am I correct in understanding that all I need is that 'image.dll' to get
> inline image support on Windows (I'm running v24.4 of Emacs). If not, what
> more do I need to do? And how can I get (or make) a copy of that .dll?
>
> Thanks,
>
> Herbert
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-19 23:19 how to get images support in Emacs on Windows? Herbert Sitz
2015-02-19 23:33 ` Yuri Niyazov
@ 2015-02-19 23:53 ` Ista Zahn
2015-02-20 0:33 ` Ben
1 sibling, 1 reply; 8+ messages in thread
From: Ista Zahn @ 2015-02-19 23:53 UTC (permalink / raw)
To: Herbert Sitz; +Cc: emacs-orgmode Mailinglist
[-- Attachment #1: Type: text/plain, Size: 978 bytes --]
You could use http://vgoulet.act.ulaval.ca/en/emacs/windows/ which comes
bundled with image support (and other stuff that you may or may not want).
On Feb 19, 2015 6:20 PM, "Herbert Sitz" <hesitz@gmail.com> wrote:
> I'm trying to use inline images on Windows and (I think?) I've gotten to
> the
> point where I understand that this is not available with the standard GNU
> Emacs installation on Windows. My understanding is that I need an
> "image.dll" that I can put in the bin directory. I think that comes as
> part
> of EmacsW32 install, but that install seems to be packaged as a single
> executable, not sure how to get image.dll without running a full install of
> EmacsW32, which I don't think I want.
>
> So, am I correct in understanding that all I need is that 'image.dll' to
> get
> inline image support on Windows (I'm running v24.4 of Emacs). If not, what
> more do I need to do? And how can I get (or make) a copy of that .dll?
>
> Thanks,
>
> Herbert
>
>
>
[-- Attachment #2: Type: text/html, Size: 1368 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-19 23:53 ` Ista Zahn
@ 2015-02-20 0:33 ` Ben
2015-02-20 1:03 ` Herbert Sitz
2015-02-20 19:18 ` Herbert Sitz
0 siblings, 2 replies; 8+ messages in thread
From: Ben @ 2015-02-20 0:33 UTC (permalink / raw)
To: Ista Zahn; +Cc: emacs-orgmode Mailinglist, Herbert Sitz
[-- Attachment #1: Type: text/plain, Size: 1461 bytes --]
You can download the corresponding dlls from ezwinports [fn:1]
<http://sourceforge.net/projects/ezwinports/files/> and put them into
emacs's `bin` directory.
There are some instructions in the "Image support" part on page [fn:2]
<https://ftp.gnu.org/gnu/emacs/windows/>.
[fn:1] http://sourceforge.net/projects/ezwinports/files/
[fn:2] https://ftp.gnu.org/gnu/emacs/windows/
On Fri, Feb 20, 2015 at 7:53 AM, Ista Zahn <istazahn@gmail.com> wrote:
> You could use http://vgoulet.act.ulaval.ca/en/emacs/windows/ which comes
> bundled with image support (and other stuff that you may or may not want).
> On Feb 19, 2015 6:20 PM, "Herbert Sitz" <hesitz@gmail.com> wrote:
>
>> I'm trying to use inline images on Windows and (I think?) I've gotten to
>> the
>> point where I understand that this is not available with the standard GNU
>> Emacs installation on Windows. My understanding is that I need an
>> "image.dll" that I can put in the bin directory. I think that comes as
>> part
>> of EmacsW32 install, but that install seems to be packaged as a single
>> executable, not sure how to get image.dll without running a full install
>> of
>> EmacsW32, which I don't think I want.
>>
>> So, am I correct in understanding that all I need is that 'image.dll' to
>> get
>> inline image support on Windows (I'm running v24.4 of Emacs). If not,
>> what
>> more do I need to do? And how can I get (or make) a copy of that .dll?
>>
>> Thanks,
>>
>> Herbert
>>
>>
>>
[-- Attachment #2: Type: text/html, Size: 2481 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-20 0:33 ` Ben
@ 2015-02-20 1:03 ` Herbert Sitz
2015-02-20 19:18 ` Herbert Sitz
1 sibling, 0 replies; 8+ messages in thread
From: Herbert Sitz @ 2015-02-20 1:03 UTC (permalink / raw)
To: emacs-orgmode
Ben <yfefyf <at> gmail.com> writes:
>
> You can download the corresponding dlls from ezwinports [fn:1] and
put them into emacs's `bin` directory.
>
> There are some instructions in the "Image support" part on page [fn:2].
>
> [fn:1] http://sourceforge.net/projects/ezwinports/files/
>
> [fn:2] https://ftp.gnu.org/gnu/emacs/windows/
>
Ben, Ista, Yuri -- Thanks for all your help. I finally got things going by
grabbing the dll's from the ezwinports project and putting them in emacs/bin
directory. The zlib1.dll was packaged in the libpng zip file so that was
all I needed to get my png images to show. Like many things was simple once
I knew how to do it.
That StackOverflow answer was on point but was dated; I don't think Emacs 24
will work with the files it mentions there, which are the ones from the
GnuWin32 project. Turns out all this info was in the Gnu Emacs for Windows
readme/install instructions. Unfortunately I installed long time ago and
didn't recall that info, and my web searches weren't turning it up.
Thanks for all your help.
-- Herbert
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-20 0:33 ` Ben
2015-02-20 1:03 ` Herbert Sitz
@ 2015-02-20 19:18 ` Herbert Sitz
2015-02-22 12:45 ` Ben
1 sibling, 1 reply; 8+ messages in thread
From: Herbert Sitz @ 2015-02-20 19:18 UTC (permalink / raw)
To: emacs-orgmode
Ben <yfefyf <at> gmail.com> writes:
>
> You can download the corresponding dlls from ezwinports [fn:1] and
put them into emacs's `bin` directory.
>
> There are some instructions in the "Image support" part on page [fn:2].
>
> [fn:2] https://ftp.gnu.org/gnu/emacs/windows/
>
Strangely, the instructions and files work only for a couple formats I tried.
jpeg,png -- work perfectly
svg -- works, but so far not inline. I.e., I can click on link and image
will show up in another Emacs buffer, but can't get it to show up inline.
tiff -- can't get this to work at all. When clicking on it, it shows
character-mode garbage in separate buffer, along with error message. This
is despite fact that dynamic-library-alist shows the same files as I copied
to the bin folder.
Not a huge deal for me, since jpeg and png are what I wanted most. But
still seems a little odd; I have no idea what problems are with svg and tiff.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-20 19:18 ` Herbert Sitz
@ 2015-02-22 12:45 ` Ben
2015-02-22 17:23 ` Herbert Sitz
0 siblings, 1 reply; 8+ messages in thread
From: Ben @ 2015-02-22 12:45 UTC (permalink / raw)
To: Herbert Sitz; +Cc: emacs-orgmode Mailinglist
[-- Attachment #1: Type: text/plain, Size: 1296 bytes --]
I haven't tried other types except jpeg and png.
Actually, I use few inline images. Most of my images are large. They should
be resized to look pretty on emacs. But to resize them I need to build
emacs with ImageMagick. And I haven't tried that yet.
On Sat, Feb 21, 2015 at 3:18 AM, Herbert Sitz <hesitz@gmail.com> wrote:
> Ben <yfefyf <at> gmail.com> writes:
> >
> > You can download the corresponding dlls from ezwinports [fn:1] and
> put them into emacs's `bin` directory.
> >
> > There are some instructions in the "Image support" part on page [fn:2].
> >
> > [fn:2] https://ftp.gnu.org/gnu/emacs/windows/
> >
>
> Strangely, the instructions and files work only for a couple formats I
> tried.
>
> jpeg,png -- work perfectly
>
> svg -- works, but so far not inline. I.e., I can click on link and image
> will show up in another Emacs buffer, but can't get it to show up inline.
>
> tiff -- can't get this to work at all. When clicking on it, it shows
> character-mode garbage in separate buffer, along with error message. This
> is despite fact that dynamic-library-alist shows the same files as I copied
> to the bin folder.
>
> Not a huge deal for me, since jpeg and png are what I wanted most. But
> still seems a little odd; I have no idea what problems are with svg and
> tiff.
>
[-- Attachment #2: Type: text/html, Size: 1909 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: how to get images support in Emacs on Windows?
2015-02-22 12:45 ` Ben
@ 2015-02-22 17:23 ` Herbert Sitz
0 siblings, 0 replies; 8+ messages in thread
From: Herbert Sitz @ 2015-02-22 17:23 UTC (permalink / raw)
To: emacs-orgmode
Ben <yfefyf <at> gmail.com> writes:
> Actually, I use few inline images. Most of my images are large.
They should be resized to look pretty on emacs. But to resize them I need to
build emacs with ImageMagick. And I haven't tried that yet.
>
Are you sure you need to rebuild Emacs? On my Linux machine I run a
standard version of Emacs 24.3 binaries that I got from the Linux Mint
repository. It supports using (a separately installed) Imagemagick to
reduce size of inline images. I can't get it to work automatically in
Org-mode, but I think that's because I need a more recent version of
Org-mode. I'm running v.7.9.3f of Org-mode.
To test Imagemagick support I'm running the test code made available in this
post:
http://article.gmane.org/gmane.emacs.orgmode/90278
I think the original poster in that thread said he couldn't get it to work
in Org-mode until he had updated his Org-mode version.
-- Herb
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-02-22 17:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19 23:19 how to get images support in Emacs on Windows? Herbert Sitz
2015-02-19 23:33 ` Yuri Niyazov
2015-02-19 23:53 ` Ista Zahn
2015-02-20 0:33 ` Ben
2015-02-20 1:03 ` Herbert Sitz
2015-02-20 19:18 ` Herbert Sitz
2015-02-22 12:45 ` Ben
2015-02-22 17:23 ` Herbert Sitz
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).