Re: error in pdf with tiff image inside which was created by fop

2009-11-26 Thread lexa2009

ye thank you a lot! all work good now. you are my hero :)
-- 
View this message in context: 
http://old.nabble.com/error-in-pdf-with-tiff-image-inside-which-was-created-by-fop-tp26509340p26528536.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



Re: error in pdf with tiff image inside which was created by fop

2009-11-25 Thread Jeremias Maerki
The TIFF contains multiple strips but our code didn't detect that due to
a bug. I've just fixed that: http://svn.apache.org/viewvc?rev=884276&view=rev

Please download XML Graphics Commons Trunk [1] via Subversion, build it
and replace the generated JAR in your application's classpath. That
should fix your problem.

[1] http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk/

On 25.11.2009 10:01:37 lexa2009 wrote:
> 
> hi.
> i use fop 0.95 and create pdf document.
> 
> i have a tiff image with compression CCITT4
> http://old.nabble.com/file/p26509340/0375.tif 0375.tif 
> and want to see it in pdf, so i use this xsl file with any xml document.
> 
> 
>   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";>
> 
>
> 
> 
>   
>   
>page-height="29.7cm"
> page-width="21cm" margin-top="0cm" margin-bottom="0cm" margin-left="0cm"
> margin-right="0cm">
>margin-left="1.5cm" margin-right="1.5cm" />
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>src="url(0375.tif)"
> content-height="100%" scaling="uniform" />
>   
> 
>   
>   
>   
>   
>   
> 
> 
> 
> 
> 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.
> 



Jeremias Maerki


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



error in pdf with tiff image inside which was created by fop

2009-11-25 Thread lexa2009

hi.
i use fop 0.95 and create pdf document.

i have a tiff image with compression CCITT4
http://old.nabble.com/file/p26509340/0375.tif 0375.tif 
and want to see it in pdf, so i use this xsl file with any xml document.


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";>

   





























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