From 7842a5b27188ae4a8e7966f4ada3f4cd23135ce8 Mon Sep 17 00:00:00 2001 From: Jason McCormick Date: Fri, 27 Nov 2026 21:51:13 -0500 Subject: fix raster logo exports --- logos/raster/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'logos/raster/README.md') diff --git a/logos/raster/README.md b/logos/raster/README.md index 4df0fb9..186baac 100644 --- a/logos/raster/README.md +++ b/logos/raster/README.md @@ -2,12 +2,15 @@ Every approved SVG in the parent `logos/` directory is exported as lossless PNG and WebP on square transparent canvases at 16, 32, 48, 64, 128, 256, 512 and 1024 pixels. +Raster filenames include their dimensions so files remain identifiable outside the size directories. For example, the 256-pixel Packet Warriors dark flat exports are named `packet-warriors-flat-dark-256x256.png` and `packet-warriors-flat-dark-256x256.webp`. + - Use 16, 32 or 48 pixels for browser and compact UI contexts. - Use 64 or 128 pixels for navigation, launchers and dense application surfaces. - Use 256 or 512 pixels for avatars, profile images and app tiles. - Use 1024 pixels for high-density profiles and large application artwork. - Prefer the Carbon-backed `*-icon` assets for favicons, avatars and app tiles. Flat and monochrome assets retain transparent backgrounds. +- PNG and WebP links in the style guide open the image in a new browser tab. Save the displayed image using the browser when a local copy is needed. Packet Warriors source symbols use a 5:4 viewBox. The exports center them without distortion on the square canvas; no path geometry or internal negative space is changed. -Run `python3 tools/build_logo_assets.py` from the repository root after an approved SVG is added or changed. ImageMagick 7 is required. The generator also updates `manifest.json` and `logos/logo-library.js`, which supplies the style-guide catalogue. +Run `python3 tools/build_logo_assets.py` from the repository root after an approved SVG is added or changed. ImageMagick 7 and Pillow are required. The generator also updates `manifest.json` and `logos/logo-library.js`, which supplies the style-guide catalogue. -- cgit v1.2.3