> On 10.06.2015, at 10:21, Michal Hoftich <[email protected]> wrote:
> 
>> If I compile this with ‚mk4ht htlatex file‘ everything works fine, ‚mk4ht 
>> oolatex file‘ creates an .odt file where the image is missing. If use a .png 
>> file instead, it works nicely.
> 
> well this is a bug, which was caused by me, I am afraid. I used
> `\PictExt` macro for image extension, but it seems that this macro
> always holds `png`, so it works only for `png` images. Standard
> `\Gin@ext` should be used instead.
> 
> Patch for tex4ht-ooffice.tex is attached.

Again something new.

As described on http://tex.stackexchange.com/questions/249159/ I created a .xbb 
file for the jpg file. This makes the missing bounding box error disappear, but 
the scaling command is still ignored.

\documentclass{article}

\usepackage[dvipdfmx]{graphicx}
\DeclareGraphicsExtensions{.png,.jpg,.eps,.ps} 
\begin{document}

\includegraphics[scale=0.25]{film.jpg}

\includegraphics[]{film.jpg}

\end{document}

This example gives me two images with identical size. The same is true if I 
replace film.jpg with film.png

Simon

--
Simon Spiegel
Steinhaldenstr. 50
8002 Zürich

Telephon: ++41 44 451 5334
Mobophon: ++41 76 459 6039

http://www.simifilm.ch
http://www.utopia2016.ch

„In a world getting more and more democratic, film directing is the last resort 
for dictators.“ Francis Ford Coppola






Reply via email to