Giter VIP home page Giter VIP logo

Comments (10)

ricardoV94 avatar ricardoV94 commented on August 26, 2024 1

Thanks @markgreene74 yes the smaller size and both pictures make sense!

from pymc.

markgreene74 avatar markgreene74 commented on August 26, 2024 1

As pymc-devs/brand#29 has been merged I think this issue can be closed now? I just had a quick look at one of the PRs using the banners and the new size looks ok.

from pymc.

twiecki avatar twiecki commented on August 26, 2024

You're probably right.

from pymc.

markgreene74 avatar markgreene74 commented on August 26, 2024

Hi! I just had a quick go at it with ImageMagick.

$ identify BannerCongratulations*
BannerCongratulations.jpg JPEG 3634x1930 3634x1930+0+0 8-bit sRGB 466734B 0.000u 0:00.000
BannerCongratulations_resized_1815.jpg JPEG 1815x964 1815x964+0+0 8-bit sRGB 155276B 0.000u 0:00.000
BannerCongratulations_resized_910.jpg JPEG 910x483 910x483+0+0 8-bit sRGB 65279B 0.000u 0:00.000
$ identify BannerThanks*
BannerThanks.jpg JPEG 3634x1930 3634x1930+0+0 8-bit sRGB 637049B 0.000u 0:00.000
BannerThanks_resized_1815.jpg JPEG 1815x964 1815x964+0+0 8-bit sRGB 206000B 0.000u 0:00.000
BannerThanks_resized_910.jpg JPEG 910x483 910x483+0+0 8-bit sRGB 79989B 0.000u 0:00.000

I did the resize on the width and let ImageMagick figure out the rest. Not sure if you have a strong preference between 1815 or 910 or have another size in mind, but if you let me know I am happy to raise a PR in pymc-devs/brand. In my opinion 910x483 is more than enough.

I think it would be just easier to make the change in a single place (replace the older, bigger image with the new, smaller one but keep the filename) unless you want to keep the original and the resized images with a suffix in the name (in which case changes will also be needed in config.yml).

Examples of different sizes (right-click and open in a new tab):
910
BannerCongratulations_resized_910

1815
BannerCongratulations_resized_1815

And finally, the code 😄

convert -resize 1815x BannerCongratulations.jpg -quality 90 BannerCongratulations_resized_1815.jpg

from pymc.

markgreene74 avatar markgreene74 commented on August 26, 2024

I would also like to suggest to apply the same changes to BannerWelcome.jpg, which has a similar size at the moment.

from pymc.

markgreene74 avatar markgreene74 commented on August 26, 2024

hi @ricardoV94 just want to be sure I understand correctly 😄

both pictures make sense!

So keep both pictures (the original and the resized version) in pymc-devs/brand and make changes to config.yml so that the resized version is used from now on?

from pymc.

ricardoV94 avatar ricardoV94 commented on August 26, 2024

I don't think we need to keep the original, it exists elsewhere?

from pymc.

markgreene74 avatar markgreene74 commented on August 26, 2024

I don't think we need to keep the original, it exists elsewhere?

Sorry, I wasn't sure which way you preferred 😄 I will make the changes to pymc-devs/brand#29 now and close #7394

from pymc.

reshamas avatar reshamas commented on August 26, 2024

@ricardoV94 Is the larger image size impacting CI/CD or other items?

If yes, this will help to know because these images are used in various other GitHub organizations.

from pymc.

ricardoV94 avatar ricardoV94 commented on August 26, 2024

@ricardoV94 Is the larger image size impacting CI/CD or other items?

If yes, this will help to know because these images are used in various other GitHub organizations.

I don't think it impacts CI/CD. It could impact email storage, if the pictures are actually sent, but I think only the link. It mostly bothered me because it was rather large when scrolling through issues

from pymc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.