chore: reduce memory usage
This commit is contained in:
4 files changed
+17
-9
No files matched your search
@@ -61,6 +61,7 @@ class GithubUserCommand : BaseCommand() {
|
||||
}
|
||||
g2d.drawString("114514/1919810", 40, 560)
|
||||
g2d.drawCustomImage(userAvatar, 40, canvasHeight / 2 - 250, 170.0, 170.0, true)
|
||||
g2d.dispose()
|
||||
return canvas.toByteArray().encodeToBase64()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user