Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@deboer-tim
Copy link
Collaborator

When the CMS started exporting contest archives I had to rewrite the prior logic that pulled from the CMS file attachment format, and the last piece that I hadn't updated was team photos. This removes the old CMS-folder-structure team photo logic and reuses the same contest format function we do for logos and person photos.

While I was doing that I fixed a few other things:

  • Stop warning when team or person photos don't have transparency (code was there for logos).
  • Fix out of date class header.
  • Remove the MAX_IMAGE_SIZE image generation. It was there for a couple cases where we've had logos that were >4000px, but it is now already handled by generating a 1080p (desktop) logo.

When the CMS started exporting contest archives I had to rewrite the prior logic
that pulled from the CMS file attachment format, and the last piece that I hadn't
updated was team photos. This removes the old CMS-folder-structure team photo
logic and reuses the same contest format function we do for logos and person
photos.

While I was doing that I fixed a few other things:
- Stop warning when team or person photos don't have transparency (code was there
  for logos).
- Fix out of date class header.
- Remove the MAX_IMAGE_SIZE image generation. It was there for a couple cases
  where we've had logos that were >4000px, but it is now already handled by
  generating a 1080p (desktop) logo.
@deboer-tim deboer-tim merged commit cf9382c into icpctools:main Sep 21, 2024
@deboer-tim deboer-tim deleted the image-gen branch September 21, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants