build: Get rid of gst-convenience warning
[gupnp:gupnp-dlna.git] / data / png.xml
1 <?xml version="1.0"?>
2
3 <!--
4   TODO: We don't currently have a way to check if the image is interlaced.
5   Also, we can't restrict what chunks are used in the image - I think this
6   would be overkill, and renderers will hopefully just ignore chunks they don't
7   understand.
8 -->
9
10 <dlna-profiles>
11   <restrictions>
12     <restriction id="PNG" type="image">
13       <field name="name" type="string">
14         <value>image/png</value>
15       </field>
16     </restriction>
17   </restrictions>
18
19   <dlna-profile name="PNG_TN" mime="image/png">
20     <restriction type="image">
21       <parent name="PNG" />
22
23       <field name="height" type="int">
24         <range min="1" max="160" />
25       </field>
26       <field name="width" type="int">
27         <range min="1" max="160" />
28       </field>
29     </restriction>
30   </dlna-profile>
31
32   <dlna-profile name="PNG_LRG" mime="image/png">
33     <restriction type="image">
34       <parent name="PNG" />
35
36       <field name="height" type="int">
37         <range min="1" max="4096" />
38       </field>
39       <field name="width" type="int">
40         <range min="1" max="4096" />
41       </field>
42       <field name="depth" type="int">
43         <value>1</value>
44         <value>2</value>
45         <value>4</value>
46         <value>8</value>
47         <value>16</value>
48         <value>24</value>
49         <value>32</value>
50       </field>
51     </restriction>
52   </dlna-profile>
53 </dlna-profiles>