image-props-extension

XML Calabash extension step for reading image properties such as width

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

Source ⬇

tr:image-identify

Read image properties from raster images. With Batik, it used to be able to process SVG images, but Batik was incompatible with the validator.nu HTML parser that is needed for HTML5 parsing. We (temporarily?) removed Batik.

Import

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

Synopsis

<tr:image-identify xmlns:tr="http://transpect.io">
  <p:input port="source" sequence="true" primary="true"/>
  <p:output port="result" sequence="true" primary="true"/>
  <p:output port="report" sequence="true"/>
  <p:option name="href"/>
  <p:option name="metadata"/>
</tr:image-identify>

GitHub sync date: 2024-03-06+01:00