diff --git a/dsl.cc b/dsl.cc index 799cee3d..c94c79e8 100644 --- a/dsl.cc +++ b/dsl.cc @@ -854,6 +854,12 @@ string DslDictionary::nodeToHtml( ArticleDom::Node const & node ) { QImage img = QImage::fromData( (unsigned char *) &imgdata.front(), imgdata.size() ); + +#ifdef MAKE_EXTRA_TIFF_HANDLER + if( img.isNull() && Filetype::isNameOfTiff( filename ) ) + GdTiff::tiffToQImage( &imgdata.front(), imgdata.size(), img ); +#endif + resize = maxPictureWidth > 0 && img.width() > maxPictureWidth; }