imageworsener
ghostedit
imageworsener | ghostedit | |
---|---|---|
3 | 2 | |
250 | 11 | |
- | - | |
2.0 | 10.0 | |
4 months ago | about 11 years ago | |
C | JavaScript | |
GNU General Public License v3.0 or later | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
imageworsener
-
How do a compress a json to fit on neocities
Otherwise, compress the images more. https://entropymine.com/imageworsener/ is a versatile multitool with a learning curve. Many image editors have support for downscaling images and compressing JPEGs. pngquant is a PNG-specific tool, if you like PNGs a lot.
-
Text Rendering Hates You
There can be various causes for those symptoms:
1. Even if the rendering gets the subpixel order right, the subpixels are rarely equidistant on a display. They tend to be closer to each other within a logical pixel.
2. Some subpixel-AA algorithms are naive, and trade color accuracy to luminance accuracy, causing more color fringes.
3. Incorrect gamma handling.
4. If aiming for more luminance accuracy, incorrectly taking into account the relative luminance of the subpixels (what you observed with the brighter green subpixels).
Imageworsener[1] has an option to downscale with subpixel antialiasing, it's gamma correct by default, and it has an option for adjusting the subpixel offsets within a pixel (instead of the naive default of 1/3). It might be a good way to try out correct subpixel-AA, but it only works on images. I guess you can render text on high resolution and downscale that with imageworsener, but you won't get any hinting that way, but maybe that's desired.
Very few software does AA correctly, let alone subpixel-AA.
[1] https://entropymine.com/imageworsener/
- List of Color Quantization Algorithms
ghostedit
-
Ask HN: Publish old projects even though the source code embarrasses you by now?
I have a 10 year old project on Github. I even have it on my resume. The code is nothing like what I would write today, but I think that's implied by it being 10 years old. And I'm personally quite proud of what I produced, even though I would do it differently now.
Project is a WSYIWYG editor (https://github.com/nicoburns/ghostedit) if anyone is interested. I wouldn't recommend anyone use it these days, but it could be interesting as a relatively small codebase to learn from if anyone is interested in how contenteditable in web browsers works.
-
Text Rendering Hates You
Ah, that was a dark time for WYSIWYG editing on the web. I actually made my own back in that era [0] (well a little later, but when TinyMCE and CKEditor were still the goto solutions), and getting it to work cross-browser when IE6 was still a thing and had no dev tools was an absolute nightmare.
[0]: https://github.com/nicoburns/ghostedit
What are some alternatives?
msdfgen - Multi-channel signed distance field generator
K-BOOM - An Atomic Bomberman clone that runs on 80286, featuring video (1997).
Guide-to-Swift-Strings-Sample-Code - Xcode Playground Sample Code for the Flight School Guide to Swift Strings
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
ancient-3d-for-turboc
harfbuzz - HarfBuzz text shaping engine
trualias - Mentally computable verification codes for email aliases implemented as a postfix tcp table or milter; uses asyncio.
colr-gradients-spec