diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-03-18 20:28:33 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-03-18 20:28:33 +0000 |
commit | 148095dd2eb3b68a27f0d76a13beff79cc8b4336 (patch) | |
tree | 4fa5912c2c32e9d56a71fd29396dd9504563bbbf /test/layoutengine/standard-testcases/external-graphic_tiff.xml | |
parent | 97a13831e8fce797ad4d321b778ba0af69d6eddf (diff) | |
download | xmlgraphics-fop-148095dd2eb3b68a27f0d76a13beff79cc8b4336.tar.gz xmlgraphics-fop-148095dd2eb3b68a27f0d76a13beff79cc8b4336.zip |
Bugfix: CCITT Group 4 encoded TIFF images were not properly embedded in PDF files. FopPDFImage always used the bits/pixel and color space of the original image although our image adapter mostly convert all images to 24bit RGB. One day, we will need to improve the image handling.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386879 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine/standard-testcases/external-graphic_tiff.xml')
-rw-r--r-- | test/layoutengine/standard-testcases/external-graphic_tiff.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/layoutengine/standard-testcases/external-graphic_tiff.xml b/test/layoutengine/standard-testcases/external-graphic_tiff.xml index 1b38504b0..d8db5af8e 100644 --- a/test/layoutengine/standard-testcases/external-graphic_tiff.xml +++ b/test/layoutengine/standard-testcases/external-graphic_tiff.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright 2005 The Apache Software Foundation + Copyright 2005-2006 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -42,6 +42,10 @@ <fo:block> <fo:external-graphic src="../../resources/images/tiff_group4.tif"/>EOG </fo:block> + <fo:block>TIFF external-graphic (CCITT group 4 encoding, multiple strips)</fo:block> + <fo:block> + <fo:external-graphic src="../../resources/images/tiff_group4-multi-strip.tif"/>EOG + </fo:block> <fo:block>EOF</fo:block> </fo:flow> </fo:page-sequence> @@ -60,5 +64,9 @@ <eval expected="550588" xpath="//flow/block[6]/lineArea/viewport/@ipda"/> <eval expected="66705" xpath="//flow/block[6]/lineArea/viewport/@bpd"/> <eval expected="66705" xpath="//flow/block[6]/lineArea/viewport/@bpda"/> + <eval expected="550588" xpath="//flow/block[8]/lineArea/viewport/@ipd"/> + <eval expected="550588" xpath="//flow/block[8]/lineArea/viewport/@ipda"/> + <eval expected="66705" xpath="//flow/block[8]/lineArea/viewport/@bpd"/> + <eval expected="66705" xpath="//flow/block[8]/lineArea/viewport/@bpda"/> </checks> </testcase> |