Show HN: Invertornot.com – API to enhance your images in dark-mode
11–20 of 39 posts
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#12Semi-related - I saw this on https://v8.dev a while back, but `filter: hue-rotate(180deg) invert();` can be a neat CSS trick to 'dark mode' some kinds of graphics, while not screwing with the colours so much. The `hue-rotate` help a bit to keep 'blues blue' etc. It's far from perfect, but it's a neat one to have in your back pocket.
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#13How can you use or create this model for conventional non-API projects? Like to embed it within some C code?
You'd need to look at this project's code to see how it converts input data to the expected matrix format, though.
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#14Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#15Neat, as a reader, I've absolutely wanted this exact behavior many times. Do you have any examples of incorrectly classified images? As you say, the model seems quite simple, but I wonder if there are some pathological kinds of photographs that result in inversion.
https://upload.wikimedia.org/wikipedia/commons/thumb/6/69/Pr... https://upload.wikimedia.org/wikipedia/commons/thumb/f/f7/US... https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Na... https://upload.wikimedia.org/wikipedia/commons/thumb/b/bb/Li... https://upload.wikimedia.org/wikipedia/commons/thumb/a/a7/Pi...
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#16What I am interested in is a plugin/extension for Firefox/Chrome that can invert a video running on a page (darkreader is not doing that).
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#17What I am interested in is a plugin/extension for Firefox/Chrome that can invert a video running on a page (darkreader is not doing that).
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#18But I guess with ML reinforced by human feedback, trends like this manifest without having to explicitly handle them as special cases at all...
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#19As a side, I have a great frustration balancing dark mode with other things. I use flux on my Mac, not for color temp but strictly for the "darkroom" mode which inverts everything and makes the (inverted) brightness values into red. I only do this when coding at night, to help with my sleep... but the trouble is it's made for people who use light mode during the day. I use dark mode all day. So I have to get out of dark mode and change my vscode theme to light in order for it to work. Not a huge deal, but then I open up some web page with a black background and go blind from all the red.
Re: Show HN: Invertornot.com – API to enhance your images in dark-mode
#20Semi-related - I saw this on https://v8.dev a while back, but `filter: hue-rotate(180deg) invert();` can be a neat CSS trick to 'dark mode' some kinds of graphics, while not screwing with the colours so much. The `hue-rotate` help a bit to keep 'blues blue' etc. It's far from perfect, but it's a neat one to have in your back pocket.
Anyone who thought Retool should have a dark mode has come across this. Definitely a useful trick.
We did introduce dark mode in a manner where a creator can even make it dynamic for end user to choose a different theme.
While I was loggerheads with my CTO cofounder on this - I am glad someone finds this useful in the community of users.
I am curious what kind of use case you have for retool/ alternate tools where you see dark mode as a need