The error message comes from the FOP part, so I don't think that the
snippet you posted is really the source of the error. The solution here
is simple: Please install JAI Image I/O Tools in your classpath:
http://jai-imageio.dev.java.net/

This will add an Image I/O codec for TIFF. The new image loader
framework used by FOP doesn't have an implementation for the bundled
TIFF codec so it uses Image I/O for TIFF loading.

HTH

On 10.04.2008 16:06:56 Peter Coppens wrote:
> Dearest FOP/Batik fans (I am unclear where to post...sorry),
> 
> With FOP 0.94/Batik 1.6, the fo/svg fragment listed lower worked ok. I  
> switched to FOP0.95beta (which seems to come with a newer batik  
> version, 1.7) and get
> 
> SEVERE: SVG ErrorCannot load image (no suitable loader/converter  
> combination available) for file:/lap-pc-migration/Downloads/RenderX/ 
> inx2fo/mda/./Ostern_DIN Lang_back.tif (image/tiff)
> org.apache.xmlgraphics.image.loader.ImageException: Cannot load image  
> (no suitable loader/converter combination available) for file:/lap-pc- 
> migration/Downloads/RenderX/inx2fo/mda/./Ostern_DIN Lang_back.tif  
> (image/tiff)
>          at  
> org 
> .apache 
> .xmlgraphics.image.loader.ImageManager.getImage(ImageManager.java:248)
>         ....
> 
> I am guessing this is all about the new image library, but I am not  
> sure really and I am even less sure how to deal with this.
> 
> Anyone any thoughts?
> 
> Tx!
> 
> Peter
> 
> FO fragment
> 
>                               <fo:block-container absolute-position="fixed" 
> left="0pt"
>                                       top="0pt" width="318.6pt" 
> height="884pt">
>                                       <fo:block>
>                                               <fo:instream-foreign-object
>                                                       content-width="318.6pt" 
> content-height="884pt">
>                                                       <svg:svg width="318.6" 
> height="884"
>                                                               viewbox="0, 0, 
> 318.6, 884">
>                                                               <svg:g
>                                                                       
> transform="translate(159.3, 442)">
>                                                                       <svg:g
>                                                                               
> transform="matrix(1, 0, 0, 1, -0.06, 0.04)">
>                                                                               
> <svg:rect x="-159.24"
>                                                                               
>         y="-441.96000000000004" width="318.48"
>                                                                               
>         height="883.9200000000001" fill="none" stroke="none" />
>                                                                               
> <svg:g
>                                                                               
>         transform="translate(-159.24, -441.96000000000004)">
>                                                                               
>         <svg:svg overflow="hidden"
>                                                                               
>                 width="318.48" height="883.9200000000001">
>                                                                               
>                 <svg:g
>                                                                               
>                         transform="translate(159.24, 441.96000000000004)">
>                                                                               
>                         <svg:g
>                                                                               
>                                 transform="matrix(1, 0, 0, 1, -159.24,  
> -441.96000000000004)">
>                                                                               
>                                 <svg:image
>                                                                               
>                                         
> xmlns:xlink="http://www.w3.org/1999/xlink"; x="0" y="0"
>                                                                               
>                                         width="318.48" 
> height="883.9200000000001" fill="none"
>                                                                               
>                                         stroke="none"
>                                                                               
>                                         xlink:href="Ostern_DIN Lang_back.tif" 
> />
>                                                                               
>                         </svg:g>
>                                                                               
>                 </svg:g>
>                                                                               
>         </svg:svg>
>                                                                               
> </svg:g>
>                                                                               
> <svg:rect x="-159.24"
>                                                                               
>         y="-441.96000000000004" width="318.48"
>                                                                               
>         height="883.9200000000001" fill="none" stroke-width="0pt" />
>                                                                       </svg:g>
>                                                               </svg:g>
>                                                       </svg:svg>
>                                               </fo:instream-foreign-object>
>                                       </fo:block>
>                               </fo:block-container>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to