Skip to content
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

no color shown #123

Open
joprice opened this issue Jan 22, 2025 · 2 comments
Open

no color shown #123

joprice opened this issue Jan 22, 2025 · 2 comments

Comments

@joprice
Copy link

joprice commented Jan 22, 2025

I'm trying to overlay a shield with shield: "1.0-11-orange", but not seeing the orange color. The same parameters work for the img.shields.io endpoint, so unsure why the color is being lost:

Image
@joprice
Copy link
Author

joprice commented Jan 22, 2025

Oddly, if I pass no_badge, the color shows up.

@joprice
Copy link
Author

joprice commented Jan 22, 2025

This seems to be some compat issue with the underlying imagemagick binding library. I was using imagemagick installed via nix, and it seems it was silently failing. After removing it from my nix profile, it works as expected, but adding some params like shield_geometry throws gm composite: unable to resize image (Non-zero width and height required). Is there a version of imagemagick that is known to work with all the used transforms?

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

No branches or pull requests

1 participant