Files
allhaileris afb81b8278
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
init
2026-02-16 15:50:16 +03:00

15 lines
714 B
ReStructuredText

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."