Derek Baum wrote:
> 
> We've been successfully using forrest 0.8 for over a year now and we like
> the ability to build content from openoffice .odt documents. (
> http://newton.codecauldron.org)
> 
> We largely have this working, but we still find that it is sensitive to what
> type of images are embedded in the .odt file: .png and .jpg images render
> fine, but .tiff images do not.
> 
> Is this just because the file extension in the OO file is .tif rather than
> .tiff, or something else?
> 
> $ unzip -l InstallationGuide.odt
> Archive:  InstallationGuide.odt
>   Length     Date   Time    Name
>  --------    ----   ----    ----
>        39  06-05-09 16:49   mimetype
>         0  06-05-09 16:49   Configurations2/images/Bitmaps/
>    127620  06-05-09 16:49   Pictures/1000000000000280000001E02A9E9828.tif
>     59894  06-05-09 16:49   Pictures/1000000000000280000001E0E2C50ACF.tif
>      7160  06-05-09 16:49   Pictures/1000000000000196000001142835D184.jpg
> 
> Up until now, we have just been replacing embedded .tiff images with .png or
> .jpg, but this is a pain.
> 
> Can anyone suggest how to fix this properly?

See $FORREST_HOME/main/webapp/raw.xmap
and search in file for "jpg" and "jpeg".
Add similar handling to read other raw formats,
such as TIFF.

Please add a patch to our issue tracker:
http://forrest.apache.org/issues.html

-David