Images, solved...
Feb. 3rd, 2014 11:58 amOften, the solution to a problem is merely a few keystrokes away.
I had groused yesterday about the inability to display inline images in emacs (in the compiled version commonly available for Windows, although actually, my complaint centered more around the inability to do so in org mode). However, it occurred to me, after my post, that a graphic image is displayed in the About GNU Emacs buffer, and a little research (which led me to this page) uncovered the fact that the Windows executable has been compiled to support the display of graphics, if appropriate dynamically linked libraries (DLLs) are available.
The easiest way for a DLL to be "available" is to reside in the same folder as the executable, i.e., the bin directory of my emacs installation. A visit to the linked page showed me where to find them, with the bottom line being that my Windows version of emacs now displays PNGs, TIFFs, GIFs, and JPGs.
Sadly, after having made so much progress over so short a time, I still have to pay full freight for coffee at Starbucks. :^)
UPDATE: I spoke too soon about what displays and what doesn't. For whatever reason, PNGs will not display. This annoyed me, because my screen clipper (via AutoHotKey, by dragging Ctrl+RightMouseButton) was set up to save PNGs. After giving it the old college try, I solved the problem by reconfiguring my screen clipper to save JPGs. Day saved. Next customer, please!
UPDATE 2: As a follow-up to my old college try, I resoned that often, a good tactic to employ when web page suggestions about software don't pan out is to look at any available comments on said page. I did this for the page linked above, and found a comment that described my problem, attributed its cause to the version of the software in question, and suggested a visit to another page with links to updated versions of libpng, one of which solved the problem and allows PNG files to be displayed!
I had groused yesterday about the inability to display inline images in emacs (in the compiled version commonly available for Windows, although actually, my complaint centered more around the inability to do so in org mode). However, it occurred to me, after my post, that a graphic image is displayed in the About GNU Emacs buffer, and a little research (which led me to this page) uncovered the fact that the Windows executable has been compiled to support the display of graphics, if appropriate dynamically linked libraries (DLLs) are available.
The easiest way for a DLL to be "available" is to reside in the same folder as the executable, i.e., the bin directory of my emacs installation. A visit to the linked page showed me where to find them, with the bottom line being that my Windows version of emacs now displays PNGs, TIFFs, GIFs, and JPGs.
Sadly, after having made so much progress over so short a time, I still have to pay full freight for coffee at Starbucks. :^)
UPDATE: I spoke too soon about what displays and what doesn't. For whatever reason, PNGs will not display. This annoyed me, because my screen clipper (via AutoHotKey, by dragging Ctrl+RightMouseButton) was set up to save PNGs. After giving it the old college try, I solved the problem by reconfiguring my screen clipper to save JPGs. Day saved. Next customer, please!
UPDATE 2: As a follow-up to my old college try, I resoned that often, a good tactic to employ when web page suggestions about software don't pan out is to look at any available comments on said page. I did this for the page linked above, and found a comment that described my problem, attributed its cause to the version of the software in question, and suggested a visit to another page with links to updated versions of libpng, one of which solved the problem and allows PNG files to be displayed!