2. Calling CIB image toolbox
Calling via CIB job: example CIB job XML
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- XML jobfile für CIB job from version 1.0.4 -->
<root>
<!-- Definition of Jobs or Steps that a sent to documentserver from the caller -->
<Comod>
<!-- Default settings that are valid for all Jobs and Commands, if
they are not overwritten in the job or step -->
<defaults>
<properties command="job">
<property name="OutputMode">XML</property>
<property name="UseInMemoryProcessing">1</property>
</properties>
</defaults>
<!-- List of all jobs in this job -->
<jobs>
<job name="job1" expected-result-code="0">
<!-- List of all steps that are to be executed in this Job -->
<steps>
<step name="ipl"command="image-conversion">
<properties>
<property name="InputFilename">c:/Test/1/test.tif</property>
<property name="OutputDirectory">c:/Test/1/</property>
<property name="OutputFileNamePatterns">pattern_png_###;pattern_jpeg_prev_##;
pattern_jpeg_thumbs_##</property>
<property name="PageSelection">{ "PageRange" : "1", "Encoding" : "PNG", };{"PageRange" : "2", "Encoding" :
"JPEG", };{ "PageRange" : "1-10", "Encoding" :"JPEG", "MaxWidth" : "150" }</property>
<property name="Overwrite">true</property>
<property name="Threading">{ "SelectionThreads": "3", "RenderThreads" : "3" }</property>
</properties>
</step>
</steps>
</job>
</jobs>
</Comod>
</root>
Calling via CIB runshell
cibrsh -d request.xml