fallout-grub-theme icon indicating copy to clipboard operation
fallout-grub-theme copied to clipboard

making icons that will fit with fallout theme

Open thunkadelic opened this issue 3 years ago • 1 comments

I love your Fallout theme! I've been adding some distributions that don't already have Fallout icons. Took a while to figure out how and where to put the icons and class distros to use them, both in Grub2 and with the BLS (boot loader specification) in Fedora. Got that working! They don't quite fit your Fallout style though.

Here's my thought: I'd like to add icons for some distros that don't already have them. I can probably manipulate what I've got to approximate your Fallout style, but I thought that if you already have some sort of filter that you apply to existing icons, I could use that to produce some that really fit in.

Longer term idea: if it's some kind of automatable filter, I'd like to set something up so that the Fallout theme, and others themes, if their creators so desired, could use such a filter to grab icons and produce matching ones automatically. Still working on that thought. In any case, starting with how you produce your icons might be a good first step.

Thanks for your thoughts, and for an awesome theme!

(picture of my grub/BLS menu with my handmade icons attached) grub-BLS menu with added icons

thunkadelic avatar May 27 '21 08:05 thunkadelic

Making progress on the conformity to the Fallout icon style, and on the automation of creating the icons. Can't seem to get that shade of green right, though.

GraphicsMagick command for turning ordinary, everyday icons (in this case the KDE neon icon) into a Fallout theme icons:

(Edit: Oops. Didn't paste that command in, did I? Here it is now.)

gm convert neon-larger.png -resize 32x32 -bordercolor transparent -border 10x10 -colors 2 -fuzz 50% -fill '#63DA72ff' -opaque blue 1neon.png

MakingProgress

thunkadelic avatar May 30 '21 12:05 thunkadelic

command not for me can you help me ?

Teknoist avatar Nov 23 '22 19:11 Teknoist

kaspersky2

Teknoist avatar Nov 23 '22 19:11 Teknoist

kaspersky

Teknoist avatar Nov 23 '22 19:11 Teknoist

Hello Teknoist, my command isn't working for you? Well, if that's the icon that you want converted, I'll work on it. (Sometime soon, but not at this moment.)

For making my command easier to use, can you tell me what exact command you used and what output you got?

thunkadelic avatar Nov 28 '22 13:11 thunkadelic

ı use gm convert neon-larger.png -resize 32x32 -bordercolor transparent -border 10x10 -colors 2 -fuzz 50% -fill '#63DA72ff' -opaque blue 1neon.png code and give me that first photo ı uploaded

Teknoist avatar Nov 29 '22 08:11 Teknoist

Hey guys :wink: I did icons conversion some years ago, so I don't remember exact command, but I would try one of these:

  • GIMP → Color → Colorize → Color → HTML notation → 67d97a
    For batch processing with GIMP use BIMP* gimp-drawable-colorize-hsl with hue: 130, saturation 60, lightness 25.5. These HSL values are from GIMP Colorize dialog for #67d97a, with hue value converted to degrees by multiplying it by 360.
  • coloration -h 130 -s 60 -l 25.5 in.png out.png from Fred's ImageMagick Scripts
  • convert in.png -colorspace RGB -colorspace Gray -fill '#67d97a' -tint 100 out.png
  • convert in.png -colorspace RGB -colorspace Gray +level-colors black,'#67d97a' out.png
    You might also want to increase brightness with -brightness-contrast x, with x in range from -100 to +100, 0 leaves brightness as is, and +100 turns any color white (max brighten):
    convert in.png -colorspace RGB -colorspace Gray -brightness-contrast +100 +level-colors black,'#67d97a' out.png

Use for loop for batch processing with CLI tools.
For example this will colorize all png files in current directory and put them into out directory:

mkdir -p out; \
for f in *.png; do \
  convert "$f" -colorspace RGB -colorspace Gray +level-colors black,'#67d97a' "out/$f"; \
done

#67d97a is a font color used in theme.txt, you can replace it and corresponding HSL values with those you see fit, of course.

* Easiest way to use BIMP on Linux is probably Flatpak, GIMP and BIMP are available on Flathub, see flatpak search gimp

shvchk avatar Dec 01 '22 05:12 shvchk

image Thanks

Teknoist avatar Dec 01 '22 06:12 Teknoist

You are welcome : ) I've updated my comment above with more details. Example:

convert k.png -colorspace RGB -colorspace Gray -brightness-contrast +65 +level-colors black,'#67d97a' k.colorized.png

k colorized

shvchk avatar Dec 01 '22 18:12 shvchk