Improve map image generation #50

Merged
buckbanzai merged 2 commits from image-improvements into main 2024-08-25 12:04:52 -07:00
Owner
  • Switched to using WebP for the image, which results in a smaller filesize, but without losing too much quality at the new rendering resolution
  • Switched to @2x tiles (512x512px), over the standard resolution ones
  • Rendering a 1024x1024 image for the map now
  • Removed the outage center marker, as this was mostly just for debugging/investigating how staticmap was generating the centerpoint coordinates, and then when we made the move to shapely
  • Included the Public Sans font for rendering the attribution text without the janky kerning we were seeing before, we could also just pre-render this component in the future if we wanted to
- Switched to using WebP for the image, which results in a smaller filesize, but without losing too much quality at the new rendering resolution - Switched to @2x tiles (512x512px), over the standard resolution ones - Rendering a 1024x1024 image for the map now - Removed the outage center marker, as this was mostly just for debugging/investigating how staticmap was generating the centerpoint coordinates, and then when we made the move to shapely - Included the [Public Sans](https://github.com/uswds/public-sans) font for rendering the attribution text without the janky kerning we were seeing before, we could also just pre-render this component in the future if we wanted to
buckbanzai added 2 commits 2024-08-25 12:04:25 -07:00
Map image improvements
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/vulnerability-scan Pipeline was successful
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/vulnerability-scan Pipeline was successful
004373034a
buckbanzai scheduled this pull request to auto merge when all checks succeed 2024-08-25 12:04:50 -07:00
buckbanzai merged commit afd40616ea into main 2024-08-25 12:04:52 -07:00
buckbanzai deleted branch image-improvements 2024-08-25 12:05:01 -07:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: buckbanzai/seattlecitylight-mastodon-bot#50
No description provided.