-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripted Logo Generation #3764
Scripted Logo Generation #3764
Conversation
24af50c
to
7adb0e0
Compare
This is now ready for review, whenever there is time. It should ideally have @abooton 's review for content, and @tkknight 's review for sphinx integration. Proposal (left) compared to current logo (right)
|
I suggest updating your branch as there have been a few documentation related changes merged to master since youre branch was created, including conf.py |
@abooton what are your feelings on me rebasing? There's a lot of useful content in this PR so I'd be reluctant to create a new one just to get the latest changes, especially since the new PR might also stay un-merged for a week or two (during which time master will change some more). |
ee64e59
to
923a375
Compare
@tkknight done |
923a375
to
83f25a8
Compare
A "What's New" entry will be provided in a separate PR once this one is approved. |
Closing, since this is non-essential and there is limited interest |
Something I've been working on in my spare time for fun (don't judge)... This PR proposes generating Iris' logos via a script, rather than holding fixed image files in the repository. I appreciate integrating this will be a lower priority given our current projects.
For an idea of what the script can generate: see the comment below or run the script yourself 🙂
Advantages over existing method
No reliance on fixed files that are created using un-traceable methods (typically via a GUI graphics program)
Script is fully visible to version control
Image configuration easily adjustable (colours, transparency, gradients etc.)
Iris' logo is made from relatively few elements with mostly simple configurations
Title image includes parameterised text - particularly useful if we continue to modularise Iris and need an matching title logo for each package
SVG format renders crisply at any resolution
Also doesn't blur in PDF's, unlike rasters (even high def ones)
SVG format means very small generated file sizes (<30kB)
Pythonic, in line with the rest of Iris' code
Don't need to hold multiple versions of the same image - all generated by a single script
Rotation
The script also generates a zip archive of rotated-earth images, and a README, that can be used to generate a rotating GIF logo - useful for publicity (e.g. see this tweet). (Experiments were tried with animated SVG but those are not really designed for frame-based animation and caused high CPU demand.)
To do
I've got as far as I can solo. Should we proceed with this, here is what I would need help with:
I did my best to reverse engineer from Iris7_1_trim_full.png, but a few things are a bit off since I didn't have access to the original Inkscape file (see advantage number 1). I believe @abooton has the original file for the current logo?
(Tephi's README is a good example of this)