Dear LyX Developers and Users,

I've been playing with using LyX as a way to create both print PDFs and ePub 
documents from a single source document. So far, everything works very, very 
well. (The XHMTL is extremely clean and easy to modify by tweaking the CSS.) 
What is not easy, however, is the management of images.  For print, it is 
necessary to have high resolution images (300 dpi +), but for eReaders, the 
images should be sized for screen (72 dpi).

Does anyone know if it is possible to resize JPEG and PNG images at the time of 
HTML export?

If there is no way to resize images, then would it be possible to specify the 
height and width dimensions in the <IMG> tag? This data is already present in 
the document (as it is being fed as LaTeX parameters). Could it be translated 
to HTML equivalents? Most browsers know how to respect the same units as LaTeX.

If not currently supported, would this be a very complicated addition to the 
existing code, might it be possible to submit a patch (now that we're in beta 
testing)? If not too complicated, I would be happy to take a stab at 
implementing a patch. (Unfortunately, I'm not very familiar with the HTML code.)

Cheers,

Rob

Reply via email to