Per wrote:Many of the buttons in Warzone lack a 'disabled' (greyed out) variant, and I need some of them now. Is there a quick way to generate them, for example by using imagemagick to convert normal buttons into the greyed out variant?
Unfortunately, I'm not aware of any programs that would straight-forwardly do that without affecting the colors of the entire image. Basically you could play with it's Brightness/Contrast properties, but that could leave the whole button itself darker &/or lighter as well which would work technically, but may not match the Lightness/Darkness & Hue Saturation of the UI scheme overall (if that matters; your call). So that's the quick & dirty approach.
One way to achieve a better result is, I would isolate the icon from the button with the select tools, then cut and paste it on a separate layer above so that the button itself is on the first original layer below (usually referred to as "Background" by default). From here, you can adjust the icon's Brightness & Contrast independently from the button on this second layer so that you can more accurately match the color scheme of the UI overall. I personally sometimes would also go to the extent of adjusting the Hue and Saturation for more accuracy or even finding another greyed out button to pull the colors from it's pixels and match the colors by hand.
Also, one thing to keep in mind is if you're looking to make these buttons match the same "disabled" look as the recycle button you've linked; that image in particular has every other pixel of the icon itself, deleted/transparent. I'm not entirely sure of a better way to explain that, so here's the same image scaled up x1000%:
So basically, if you want these new buttons to have this mesh look, you'd essentially have to paint/cut out every other pixel of the icons in the same manner. No big deal really, just a slightly tedious process without special tools and/or techniques.