Icon Alias

miker1264 · 503

AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #15 on: March 02, 2021, 08:25:51 AM
This other theme


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #16 on: March 02, 2021, 03:30:38 PM
This other theme

Very nice! Do the icons have neon blue glow borders for the Blue and Black Theme? I see blue tabs on the icons.  :)



AMIGASYSTEM

  • Senior Member
  • ****
    • Posts: 450
    • Karma: +25/-1
Reply #17 on: March 02, 2021, 04:19:36 PM
I am not a graphic designer but with a simple graphic program and IconEditor you can create beautiful icons, if you are interested this is my procedure, see video tutorial:

https://drive.google.com/file/d/1IqEakOodpnDOuFS060xRt_rx3_Gx4Ri5/view


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #18 on: March 02, 2021, 11:17:48 PM
I accepted the challenge by magorium to automate making mask templates then analyzed the results. There are issues.

The author used a base image different than the default drawer. So I can extrapolate back to that original base image. But a big problem remains. It was not a direct rgb composite. Instead, it was a compositing using alpha blending which complicates it. So I would have to find out how to remove the alpha blending to only consider rgb values that are significantly different than the base image.

I believe I can convert to hsl and use a method I would call "hsl subtraction" by which I only consider hue and saturation. And I give it an acceptable range of h+-2 and s+-2. That forces the pixel value to be significantly different to be considered. If we exclude 32bit pixels with alpha less than 255 that excludes the glow border and alpha mask.

Whew! That involves a lot of work but it could save a lot of time.

Update : The results are in but the conclusion isn't satisfactory. Although it would be nice to automate the mask making process it isn't feasible because of alpha blending. So it seems there is no substitute for the human eye when it comes to making mask templates.  :)



« Last Edit: March 03, 2021, 02:34:41 AM by miker1264 »



miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #19 on: March 05, 2021, 05:16:19 PM
Changing the Glow Border Tint works now. I wonder if that is something that can be added to a library function.

I wrote a new function for Icon Library: GetIconAliasName to display Alternate Icons. I'll test it later today.

Now I need to make more colored icons. Maybe I'll start with the "Blue And Black" Theme I mentioned earlier. That's the first of several. I have more Icon Themes in mind such as "Christmas Theme" with red and Green. :)



magorium

  • Senior Member
  • ****
    • Posts: 253
    • Karma: +7/-0
  • Convicted non contributor
Reply #20 on: March 06, 2021, 04:20:30 PM
I accepted the challenge by magorium to automate making mask templates then analyzed the results. There are issues.
Uhm... it was not my intention to put you to work, just an idea.



Quote
Whew! That involves a lot of work but it could save a lot of time.
It indeed can save a lot of time....

Quote
Update : The results are in but the conclusion isn't satisfactory. Although it would be nice to automate the mask making process it isn't feasible because of alpha blending. So it seems there is no substitute for the human eye when it comes to making mask templates.  :)
.. that is why it is very unfortunate that you could not get it to work with the glow-icons you are currently working with.


In that case i am very sorry to have put you up to this. I could have prevented that by analysing the icons with some professional picture editing software.


It does make me wonder though.. the original author does not have time to spent to do all this manually, so (s)he must have been using a drawing tool (border-lasso or something similar) in order to determine the border for glow-area and then apply the glow-pattern. So that should at least give/provide a recurring glow-pattern. At least that is how i understand for these kind of things to work (so i might be totally off there as well)


Thank you for making the effort and reporting on your findings miker :thumbsup: (sorry for my delayed response)


miker1264

  • Legendary Member
  • *****
    • Posts: 627
    • Karma: +26/-2
Reply #21 on: March 07, 2021, 01:54:04 AM
Actually hand painting a mask for each icon image only takes a minute or two. And it's more accurate than using just software.

I can easily select the glow border using hsl. That's how I change the tint to blue by using HSL Color Rotation. But it's more like Hue Rotation because Saturation and Luminance remain the same. Only the Hue changes. To tint the yellow glow border blue it gets a new rotation of 145 degrees which gets added to each pixel of the original glow border. The result is neon Blue! I like it.