HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/gupnp-dlna-2.0/dlna-profiles/png.xml
<?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>