Writer in the right way, I should have some knowledge about them first.— stdlib packages:
—— x/image/font
—— x/image/font/opentype
—— x/image/font/sfnt
— Docs, Articles, blogs, etc.
—— Naming table (OpenType)
—— Naming table Example
—— FreeType Glyph Conventions
🔹 This post will be edited until I start the implementation.
.
Please open Telegram to view this post
VIEW IN TELEGRAM
Realtime Colors
Visualize your color palettes on a real website.
⚡ Realtime Colors
🔹 You may already know it. But I finally used it tonight, and it's so damn good!
🪄 https://www.realtimecolors.com
.
🔹 You may already know it. But I finally used it tonight, and it's so damn good!
🪄 https://www.realtimecolors.com
.
🤡7 5👎1 1 1 1
⭐️ TGO is now stable!
🔹| Its Bot API is now on v7.0 (which was released just ~3 hours ago!)
🔹| Almost all of its methods and types are fully documented (thanks to the contributors)
🤪 | And ready to use in production!
🪄 https://github.com/haashemi/tgo
🔹| Its Bot API is now on v7.0 (which was released just ~3 hours ago!)
🔹| Almost all of its methods and types are fully documented (thanks to the contributors)
🪄 https://github.com/haashemi/tgo
Please open Telegram to view this post
VIEW IN TELEGRAM
✨ Painter is now using NRGBA
Yesterday, I've been trying to do a color conversion on some images [here]. Everything seemed to be right, except the output images. (see the example image)
After about an hour of struggling with the code, I found out that it's because of Golang's PNG encoder!
🔸 but why? Well, the Go team has already described it (way better than I possibly could) in their blog post at the end of the Colors and Color Models section.
🪄 Blogpost: https://go.dev/blog/image
— 🎨 Painter —
Yesterday, I've been trying to do a color conversion on some images [here]. Everything seemed to be right, except the output images. (see the example image)
After about an hour of struggling with the code, I found out that it's because of Golang's PNG encoder!
🔸 but why? Well, the Go team has already described it (way better than I possibly could) in their blog post at the end of the Colors and Color Models section.
🪄 Blogpost: https://go.dev/blog/image
— 🎨 Painter —
🔹 Drawing methods will be +1.3 times faster after doing some API changes. (more details, soon)
🔹 The change is planned to be pushed within the next week.
🪄 [github.com/haashemi/painter]
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 This update came for just two reasons:
— More simplicity
— More performance
🔥 Release notes: [CLICK HERE]
🪄 [Painter]
Please open Telegram to view this post
VIEW IN TELEGRAM
haashemi.dev
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Well... Yeah, the implementation of Writer has been cancelled, but Painter will still get its updates!
🔸 Its performance is the same as linear gradient; on the R9 5900HS, it is ~10ms for a single 1920x1080 image.
🔻 There are still a few small differences in the orientations compared to Adobe Photoshop, but it works for now! (I have to do research about it for sure.)
🪄 [Painter]
Please open Telegram to view this post
VIEW IN TELEGRAM
.
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 What's writer?
— Writer is an easy-to-use Harfbuzz wrapper to write any text on images.
🔹 I decided to make it as simple as possible, but also make it flexible enough to add more and more features to it instead of basic one-line text writing. (bi-directional texts are planned too)
Please open Telegram to view this post
VIEW IN TELEGRAM
haashemi.dev
bi-directional texts are planned
🔹 Loading fonts, creating faces, getting basic text bounds, writing on image with bidi support are all done!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Using standard Go's font package, you are able to pass an image instead of a color for your text. The good news is that you can do the same thing with writer too!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Writer is a simple and easy-to-use package to write texts on images.
🔹 Its goal is to make writing any text in any language possible with least effort, without even depending on multiple packages! writer tries its best to do it all for you.
🪄 https://github.com/haashemi/writer
Please open Telegram to view this post
VIEW IN TELEGRAM
🔹 Now you can use any OpenType feature you want! Most of the common features have already been added to the package!
🪄 https://github.com/haashemi/writer
Please open Telegram to view this post
VIEW IN TELEGRAM