2021-09-19 03:14:03
Hi hi! Here's an update!
As I said in the previous message, the image library was very limited...
So I came up with an idea: rendering images with Flutter
But how?
I wrote a library for Flutter apps, which starts a webserver of which you can configure the endpoints, each endpoint will render a widget, which will be the image you want to render, written with Flutter.
Then, once everything is rendered, the library takes a screenshot with Flutter built-in methods and return it in the API response as bytes.
Everything runs in a desktop application (Flutter runs on desktop too), and it runs headless on a Linux server.
You can find the implementation here.
(Repos are still not documented yet, and you'll need Hoyolab data for the second one, but this is a topic for the next post)
So now I have a really flexible and high quality image generator!
How much high quality? Judge by yourself!
Character images cannot be upscaled, they are limited by their original resolution, focus on the quality of text and lines!
(If you're on mobile it may take a while to render the image, if it's blurry give it some time to load...)
4.1K viewsKaikyu Lotus, 00:14