hi. i use fop 0.95 and create pdf document. i have a tiff image with compression CCITT4 http://old.nabble.com/file/p26509340/00000375.tif 00000375.tif and want to see it in pdf, so i use this xsl file with any xml document.
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:output method="xml"/> <xsl:template match="/"> <fo:root> <fo:layout-master-set> <fo:simple-page-master master-name="my-page1" page-height="29.7cm" page-width="21cm" margin-top="0cm" margin-bottom="0cm" margin-left="0cm" margin-right="0cm"> <fo:region-body margin-top="1.5cm" margin-bottom="1.5cm" margin-left="1.5cm" margin-right="1.5cm" /> <fo:region-before extent="1.5cm" /> <fo:region-after extent="0.5cm" /> <fo:region-start extent="1.5cm" /> <fo:region-end extent="1.5cm" /> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="my-page1"> <fo:flow flow-name="xsl-region-body"> <fo:block><fo:external-graphic src="url(00000375.tif)" content-height="100%" scaling="uniform" /></fo:block> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> when fop create pdf there is an error - insufficient data for an image. when i use other tiff images CCITT4 or decode this one to jpeg or tiff without compression all work good. but i need to transform a large amount of images and documents, so i want to know why this error happens and how to fix it with out converting to other format. how to fix it? thank you. -- View this message in context: http://old.nabble.com/error-in-pdf-with-tiff-image-inside-which-was-created-by-fop-tp26509340p26509340.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org