Skip to content

xpublisher/image-transform-extension

 
 

Repository files navigation

image-transform-extension

XML Calabash extension to convert images

The step takes an XML input document on the source port and transforms the image which can be passed with the href option. Resize expects a subset of ImageMagick's resize options.

<tr:image-transform name="image-transform">
  <p:with-option name="href" select="//dbk:imagedata[2]/@fileref"/>
  <p:with-option name="resize" select="'75%'"/>
</tr:image-transform>

About

XML Calabash extension to convert images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 74.2%
  • XProc 25.8%