/usr/share/gupnp-dlna-2.0/dlna-profiles/png.xml is in libgupnp-dlna-2.0-3 0.10.2-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | <?xml version="1.0"?>
<!--
TODO: We don't currently have a way to check if the image is interlaced.
Also, we can't restrict what chunks are used in the image - I think this
would be overkill, and renderers will hopefully just ignore chunks they don't
understand.
-->
<dlna-profiles>
<restrictions>
<restriction id="PNG" type="image">
<field name="name" type="string">
<value>image/png</value>
</field>
</restriction>
</restrictions>
<dlna-profile name="PNG_SM_ICO" mime="image/png">
<restriction type="image">
<parent name="PNG" />
<field name="height" type="int">
<value>48</value>
</field>
<field name="width" type="int">
<value>48</value>
</field>
</restriction>
</dlna-profile>
<dlna-profile name="PNG_LRG_ICO" mime="image/png">
<restriction type="image">
<parent name="PNG" />
<field name="height" type="int">
<value>120</value>
</field>
<field name="width" type="int">
<value>120</value>
</field>
</restriction>
</dlna-profile>
<dlna-profile name="PNG_TN" mime="image/png">
<restriction type="image">
<parent name="PNG" />
<field name="height" type="int">
<range min="1" max="160" />
</field>
<field name="width" type="int">
<range min="1" max="160" />
</field>
</restriction>
</dlna-profile>
<dlna-profile name="PNG_LRG" mime="image/png">
<restriction type="image">
<parent name="PNG" />
<field name="height" type="int">
<range min="1" max="4096" />
</field>
<field name="width" type="int">
<range min="1" max="4096" />
</field>
<!-- bgo#689355
<field name="depth" type="int" used="in-strict">
<value>1</value>
<value>2</value>
<value>4</value>
<value>8</value>
<value>16</value>
<value>24</value>
<value>32</value>
</field> -->
</restriction>
</dlna-profile>
</dlna-profiles>
|