I suspect the program works similarly to all those deep fry filters.
Maybe you already read the part of the readme on github where I try to manage expectations, but you can really see the limitations when either using a real life picture or mono color schemes.
But since I can see how much approval the program has received, I'll try to create a final version before my semester starts.
I did take a look at IGN-pip by now, but tbh python isn't my cup of tea. I recon I'd do more harm than good. Anyway, if I find something worth adding to your project, I'll happily do. You can also see with my program, that I did cut some corners for "performance"
The algorithm sorts colors according to their highest rgb value. This results in a list with mostly red colors, green colors, blue colors and "gray" colors (the compromise is shorter computing time at the expense of not using monochrome color schemes). The new color is determined by calculating the smallest difference in r, g and b values.
It may be trivial, but important to note, that the second highest r, g or b value has a far greater impact on the color than the lowest r, g or b value. Meaning: If I want to replace (150, 100, 50) with either v1=(150, 140, 10) or v2=(150, 80, 110), I could treat them as vectors and search for the smallest distance. In this case, v2 would have the shortest distance to the original. However, v2 is no longer orange, but rather purple, which means that v1 would be a better match, since it's still some kind of yellow. That's why I think there's still lots of room for improvement.
Using interpolation for the shading problem is definitely a great suggestion! I'll look into that
Done. You can now use "-t=path/to/file" to select, e.g. your config files as source. The program will match all character sequences with exactly 6 hex numbers.
It uses color schemes from https://mayccoll.github.io/Gogh/ to change each pixel of the original image with the best matching color from the selected theme.
I don't really have intentions of polishing it more, depends on if there are a lot of bugs/people actually wanting to use it :)
[SOLVED] I dont know why this happend, i did cat /etc/localtime to check if it was created and suddenly this happend. I already tried a couple of commands but so far everything looks still the same. Help is appreciated.
I suspect the program works similarly to all those deep fry filters.
Maybe you already read the part of the readme on github where I try to manage expectations, but you can really see the limitations when either using a real life picture or mono color schemes.
But since I can see how much approval the program has received, I'll try to create a final version before my semester starts.
Go for it! This is the reason why it's open source. And there's lots to improve :)
Thanks for the idea and the script! I'll add an interactive mode at some point
I did take a look at IGN-pip by now, but tbh python isn't my cup of tea. I recon I'd do more harm than good. Anyway, if I find something worth adding to your project, I'll happily do. You can also see with my program, that I did cut some corners for "performance"
That's what I call marketing. Wasn't aware of your project, I hope you don't mind anyway. IGN definitly looks like it is way more thought through
Figured I'd screw up the garbage collection and actually make it slower
https://www.reddit.com/r/unixporn/comments/pnc52k/oc_i_made_a_small_program_to_change_the_theme_of/hcopl72?utm_source=share&utm_medium=web2x&context=3
Thanks for the kind words!!
The algorithm sorts colors according to their highest rgb value. This results in a list with mostly red colors, green colors, blue colors and "gray" colors (the compromise is shorter computing time at the expense of not using monochrome color schemes). The new color is determined by calculating the smallest difference in r, g and b values.
It may be trivial, but important to note, that the second highest r, g or b value has a far greater impact on the color than the lowest r, g or b value. Meaning: If I want to replace (150, 100, 50) with either v1=(150, 140, 10) or v2=(150, 80, 110), I could treat them as vectors and search for the smallest distance. In this case, v2 would have the shortest distance to the original. However, v2 is no longer orange, but rather purple, which means that v1 would be a better match, since it's still some kind of yellow. That's why I think there's still lots of room for improvement.
Using interpolation for the shading problem is definitely a great suggestion! I'll look into that
Don't remember where I originally got it, but I saved it in my dotfiles
That's true. Didn't even think about that lmao
Done. You can now use "-t=path/to/file" to select, e.g. your config files as source. The program will match all character sequences with exactly 6 hex numbers.
Edit: Thanks for the suggestion btw :)
i just searched for astronaut with jellyfish
Not yet. Although I guess it wouldn't be too hard to add
source
Source and the jar download.
It uses color schemes from https://mayccoll.github.io/Gogh/ to change each pixel of the original image with the best matching color from the selected theme.
I don't really have intentions of polishing it more, depends on if there are a lot of bugs/people actually wanting to use it :)
[entfernt]
I just sold my soul to the Arch Linux Gods and promised them my firstborn, now I can read it to :)
It worked I love you (no homo)
[SOLVED] I dont know why this happend, i did cat /etc/localtime to check if it was created and suddenly this happend. I already tried a couple of commands but so far everything looks still the same. Help is appreciated.
End of this list.
Back to top