image-transform-extension

XML Calabash extension to convert images

Repository
Git URL https://github.com/transpect/image-transform-extension.git
SVN URL https://github.com/transpect/image-transform-extension
Base URI http://transpect.io/calabash-extensions/image-transform-extension/

Source ⬇

tr:image-transform

Transform raster images.

Import

<p:import href="http://transpect.io/calabash-extensions/image-transform-extension/image-transform-declaration.xpl"/>

Synopsis

<tr:image-transform xmlns:tr="http://transpect.io">
  <p:input port="source" sequence="true" primary="true"/>
  <p:output port="result" primary="true"/>
  <p:option name="href" required="true"/>
  <p:option name="resize"/>
  <p:option name="media-type" select="'image/jpg'"/>
  <p:option name="quality" select="'100%'"/>
  <p:option name="target-dpi"/>
</tr:image-transform>

GitHub sync date: 2024-04-23+02:00