Repository navigation
Logo: keep the drawing as the source, generate every variant with ffmpeg - #44
Merged
Merged
Conversation
The only logo in the repo was the raw charcoal-on-paper scan, used as-is in the README and, at 105 KB, as the picture in the Max help patches. It moves to assets/logo/zerr-logo-paper.png and stays untouched; tools/make-logo-variants.sh derives everything else from it: - black/white ink on transparent, black-on-white, white-on-black, grey ink - 512..32 px copies of the two transparent variants, a 16..256 px .ico - versions trimmed to the ink bounding box, disc-masked avatars - maxmsp/media/zerr_logo.png, the 256 px copy the help patches load (now 41 KB) One luminance stretch (black point 0.16, white point 0.81; paper measures 208-239, solid ink 0-63 on the 1024 px source) turns the scan into an ink mask; every variant is that mask over a colour. The output is deterministic: rerunning the script reproduces all 25 files byte for byte. assets/logo/README.md says which file is for what. The README shows the black-ink version and switches to the white-ink one in dark mode via <picture>. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The raw charcoal-on-paper scan was the only logo in the repo, used as-is in the README and as the 105 KB picture in the Max help patches. It moves to
assets/logo/zerr-logo-paper.pnguntouched, andtools/make-logo-variants.shderives everything else from it with ffmpeg: black/white ink on transparent, opaque black-on-white and white-on-black, grey ink, 512–32 px sizes, a multi-size.ico, trimmed versions, disc-masked avatars, and the 256 pxmaxmsp/media/zerr_logo.pngthe help patches load (now 41 KB).assets/logo/README.mdsays which file is for what. The root README shows the black-ink version and switches to white ink in dark mode.Review
zerr_logo.pngby name through the packagemedia/folder, whichmaxmsp/CMakeLists.txtalready installs, so they pick up the smaller copy with no patch change..DS_Storefiles in the new folders are already gitignored.ffprobe, which it uses, and a comment no longer points at a histogram "in the commit message".🤖 Generated with Claude Code