libansilove

Library for converting ANSI, ASCII, and other formats to PNG
Log | Files | Refs | README | LICENSE

commit 4857106e469ae4842f5324d8b95bba87b4cd9b12
parent ddc0d4d824df10aea8e6f79a6408d9e1c61a6156
Author: Frederic Cambus <fred@statdns.com>
Date:   Tue, 29 Sep 2020 21:21:04 +0200

Fix regression in the Tundra loader, it needs gdImageCreateTrueColor().

Diffstat:
Msrc/loaders/tundra.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/loaders/tundra.c b/src/loaders/tundra.c @@ -122,7 +122,7 @@ ansilove_tundra(struct ansilove_ctx *ctx, struct ansilove_options *options) } /* allocate buffer image memory */ - canvas = gdImageCreate(width, height); + canvas = gdImageCreateTrueColor(width, height); if (!canvas) { ctx->error = ANSILOVE_GD_ERROR;