summaryrefslogtreecommitdiff
path: root/data/png.xml
diff options
context:
space:
mode:
authorMark Ryan <mark.d.ryan@intel.com>2012-11-14 13:18:10 +0100
committerMark Ryan <mark.d.ryan@intel.com>2012-11-14 13:18:10 +0100
commite97a49176d8a41aad6f64eee854510bad90743ee (patch)
tree71e7ba5f47b3b40d8ff7c9b8db45e9fa4fbaac15 /data/png.xml
downloadGUPnP-DLNA-e97a49176d8a41aad6f64eee854510bad90743ee.tar.gz
GUPnP-DLNA-e97a49176d8a41aad6f64eee854510bad90743ee.tar.bz2
GUPnP-DLNA-e97a49176d8a41aad6f64eee854510bad90743ee.zip
Initial Submission of GUPnP-DLNA to Tizen IVIsubmit/2.0alpha/20121126.135509
Submitting version 0.6.6 ( fae1d4e )
Diffstat (limited to 'data/png.xml')
-rw-r--r--data/png.xml79
1 files changed, 79 insertions, 0 deletions
diff --git a/data/png.xml b/data/png.xml
new file mode 100644
index 0000000..c4c98b5
--- /dev/null
+++ b/data/png.xml
@@ -0,0 +1,79 @@
+<?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>
+ <field name="depth" type="int">
+ <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>