init
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
This commit is contained in:
14
Telegram/ThirdParty/xdg-desktop-portal/doc/icons.rst
vendored
Normal file
14
Telegram/ThirdParty/xdg-desktop-portal/doc/icons.rst
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Icons
|
||||
========
|
||||
|
||||
Some portal APIs accept Icon image data either as bytes or memfd sealed file descriptors.
|
||||
These icons must pass validation by ``xdg-desktop-portal-validate-icon`` in order to be used
|
||||
successfully. The requirements to pass validation are:
|
||||
|
||||
.. csv-table:: Icon Requirements
|
||||
:header: "Icon Property", "Requirement", "Description"
|
||||
|
||||
"Shape", "Square", "All icons, whether PNG, JPEG, or SVG, must be square."
|
||||
"Edge Length", "512 pixels", "For raster images, the maximum edge length is 512 pixels."
|
||||
"SVG File Size", "4096 bytes", "For SVG images, the data describing the SVG must fit within 4096 bytes."
|
||||
"Raster File Size", "4 MiB", "For raster images, the total data must fit within 4MB."
|
||||
Reference in New Issue
Block a user