annotate pdfimages.xml @ 1:1ba934f8c35b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
author iuc
date Mon, 11 Aug 2025 12:29:13 +0000
parents fe8e52e52961
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
1 <tool name="pdfimages" id="pdfimages" version="@TOOL_VERSION@+@VERSION_SUFFIX@" profile="24.2" license="GPL-2.0-only">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
2 <description>Extract images from a PDF file</description>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
3 <macros>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
4 <import>macros.xml</import>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
5 </macros>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
7 <expand macro="creators"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
9 mkdir ./outputs/ &&
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
10 pdfimages
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
11 #if str($f) != ""
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
12 -f $f
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
13 #end if
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
14 #if str($l) != ""
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
15 -l $l
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
16 #end if
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
17 $p
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
18 #if $output_format != 'ppm'
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
19 $output_format
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
20 #end if
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
21 '$input_file' './outputs/$output_prefix'
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
22 ]]></command>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
23 <inputs>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
24 <param name="input_file" type="data" format="pdf" label="Input PDF file"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
25 <param name="output_format" type="select" label="Select desired image format">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
26 <option value="ppm" selected="true">ppm</option>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
27 <option value="-png">png</option>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
28 <option value="-tiff">tiff</option>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
29 </param>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
30 <param argument="-f" type="integer" min="1" label="First page" optional="true"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
31 <param argument="-l" type="integer" min="1" label="Last page" optional="true"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
32 <param argument="-p" type="boolean" truevalue="-p" falsevalue="" label="Include page numbers in output file names"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
33 <param name="output_prefix" type="text" value="image" label="Output name prefix">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
34 <validator type="regex" message="Use only letters (A–Z, a–z), numbers, underscores (_), or dashes (-).">^[A-Za-z0-9_-]+$</validator>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
35 </param>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
36 </inputs>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
37 <outputs>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
38 <collection name="ppm_output_collection" type="list" format="ppm" label="${tool.name} on ${on_string}: Extracted images in ppm format">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
39 <filter>output_format == "ppm"</filter>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
40 <discover_datasets pattern="(?P&lt;designation&gt;.*).ppm" recurse="true" format="ppm" directory="outputs" />
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
41 </collection>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
42 <collection name="png_output_collection" type="list" format="png" label="${tool.name} on ${on_string}: Extracted images in png">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
43 <filter>output_format == "-png"</filter>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
44 <discover_datasets pattern="(?P&lt;designation&gt;.*).png" recurse="true" format="png" directory="outputs" />
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
45 </collection>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
46 <collection name="tiff_output_collection" type="list" format="tiff" label="${tool.name} on ${on_string}: Extracted images in tiff format">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
47 <filter>output_format == "-tiff"</filter>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
48 <discover_datasets pattern="(?P&lt;designation&gt;.*).tif" recurse="true" format="tiff" directory="outputs" />
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
49 </collection>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
50 </outputs>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
51 <tests>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
52 <test expect_num_outputs="1">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
53 <param name="input_file" value="test.pdf"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
54 <param name="output_format" value="ppm"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
55 <param name="p" value="false"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
56 <param name="output_prefix" value="image"/>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
57 <output_collection name="ppm_output_collection" type="list" count="3">
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
58 <element name="image-000" ftype="ppm">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
59 <assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
60 <has_size value="3145745"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
61 </assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
62 </element>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
63 <element name="image-001" ftype="ppm">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
64 <assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
65 <has_size value="3145745"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
66 </assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
67 </element>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
68 <element name="image-002" ftype="ppm">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
69 <assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
70 <has_size value="3145745"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
71 </assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
72 </element>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
73 </output_collection>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
74 </test>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
75 <test expect_num_outputs="1">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
76 <param name="input_file" value="test.pdf"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
77 <param name="output_format" value="-tiff"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
78 <param name="p" value="true"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
79 <param name="output_prefix" value="image"/>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
80 <output_collection name="tiff_output_collection" type="list" count="3">
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
81 <element name="image-001-000" ftype="tiff">
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
82 <assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
83 <has_size value="3149004"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
84 </assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
85 </element>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
86 <element name="image-002-001" ftype="tiff">
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
87 <assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
88 <has_size value="3149004"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
89 </assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
90 </element>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
91 <element name="image-003-002" ftype="tiff">
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
92 <assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
93 <has_size value="1049542"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
94 </assert_contents>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
95 </element>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
96 </output_collection>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
97 </test>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
98 <test expect_num_outputs="1">
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
99 <param name="input_file" value="test.pdf"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
100 <param name="output_format" value="-png"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
101 <param name="f" value="1"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
102 <param name="l" value="2"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
103 <param name="p" value="true"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
104 <param name="output_prefix" value="output_prefix-0"/>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
105 <output_collection name="png_output_collection" type="list" count="2">
0
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
106 <element name="output_prefix-0-001-000" ftype="png" file="output_prefix-0-001-000.png"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
107 <element name="output_prefix-0-002-001" ftype="png" file="output_prefix-0-002-001.png"/>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
108 </output_collection>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
109 </test>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
110 </tests>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
111 <help><![CDATA[
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
112 **What it does**
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
113
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
114 `pdfimages` extracts images from a PDF file. This tool is useful for retrieving high-quality embedded images from PDFs for further analysis or reuse.
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
115
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
116 **Inputs**
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
117
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
118 - **Input PDF file**: The source PDF from which images will be extracted.
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
119 - **Output format**: Choose the desired output format (`ppm`, `png`, or `tiff`).
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
120 - **First page / Last page** (optional): Limit extraction to a specific page range.
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
121 - **Include page numbers**: Adds page numbers to the output filenames for better traceability.
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
122 - **Output name prefix**: Sets a custom prefix for all extracted image files.
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
123
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
124 **Outputs**
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
125
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
126 A collection of images in the selected format, named according to the specified prefix and page/image order.
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
127 ]]></help>
fe8e52e52961 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit 6f5af0db756df0cf9cc62dc1d5866a9f10c4346c
iuc
parents:
diff changeset
128 <expand macro="citations"/>
1
1ba934f8c35b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pdfimages/ commit bbf307ebb324e2b3278338b2b15672f071c98edc
iuc
parents: 0
diff changeset
129 </tool>