[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML img tags

From: HASM
Subject: Re: HTML img tags
Date: Mon, 12 Dec 2016 07:46:17 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

> Is there a mode, or some bit of Lisp code I can put in ~/.emacs, that
> will let Emacs guess the width= and height= attributes of an image file
> from the image itself when I create an img tag in HTML?

One needs to parse the headers of a lot of different file formats, so
not trivial to do all images types.  For the most common ones, on unix
you can call "file <file>" and parse the output.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]