Posted on #!30Wed, 07 Jun 2023 15:54:00 +0800+08:000030#30Wed, 07 Jun 2023 15:54:00 +0800+08:00-3Asia/Shanghai3030Asia/Shanghaix30 07pm30pm-30Wed, 07 Jun 2023 15:54:00 +0800+08:003Asia/Shanghai3030Asia/Shanghaix302023Wed, 07 Jun 2023 15:54:00 +0800543546pmWednesday=6#!30Wed, 07 Jun 2023 15:54:00 +0800+08:00Asia/Shanghai6#June 7, 2023#!30Wed, 07 Jun 2023 15:54:00 +0800+08:000030#/30Wed, 07 Jun 2023 15:54:00 +0800+08:00-3Asia/Shanghai3030Asia/Shanghaix30#!30Wed, 07 Jun 2023 15:54:00 +0800+08:00Asia/Shanghai6#
Ideas and Methods for Font Binarization in Design
Method III:
This method can theoretically be implemented in any painting/design software that supports the adjustment of color modes as well as the input of characters and the ability to rasterize text, I use SAI2 as an example. In addition we need the pixel drawing software Aseprite.
The SAI2 side is responsible for typing the characters and rasterizing them (note that the resolution does not have to be too high), and the Aseprite side is responsible for importing the rasterized text from SAI2. Before importing, we need to perform a series of operations to provide a low-color-depth environment for the import of rasterized text.
Figure 1
Figure 2
Figure 3
(Color depth, in computer graphics, refers to the number of bits used to store 1 pixel in an image. This in turn affects the richness of the colors in the image, and by reducing the color depth, the transition colors used for antialiasing are eliminated, resulting in a jagged effect.)
Adjust the color mode of Aseprite to indexed and set the index colors to black and white (any two other colors are fine, but with some contrast), thus creating an environment with a 1-bit color depth. Can be operated when creating a new sprite (Figure 1) or adjusted in the sprite options (Figure 2), and then limit the colors in the color palette to black and white (Figure 3), this time the canvas can only be painted in black and white, the transition color will be filtered. If you are familiar with PhotoShop, you may find this treatment and PS threshold adjustment layer has a similarity. (Of course, the raster text resolution can also be reduced, using PS threshold to achieve this effect)
Before
After
So far we have obtained a binary font with impressive results, have you learned it yet?