# HG changeset patch # User Matti Hamalainen # Date 1525920920 -10800 # Node ID 61a486e25dc7ec60046d110e7b35694e67a341c5 # Parent c1f59416d713b5b4e3b247dc085aea9702649a59 24bit PCX writing does not work correctly, so return DMERR_NOT_SUPPORTED in the writer function. At least until the problem is analysed and fixed. diff -r c1f59416d713 -r 61a486e25dc7 tools/libgfx.c --- a/tools/libgfx.c Thu May 10 05:53:08 2018 +0300 +++ b/tools/libgfx.c Thu May 10 05:55:20 2018 +0300 @@ -911,6 +911,10 @@ memcpy(&spec, pspec, sizeof(DMImageConvSpec)); spec.planar = TRUE; + // XXX: 24bit PCX does not work yet .. + if (!spec.paletted) + return DMERR_NOT_SUPPORTED; + // Create output file pcx.buf = NULL; pcx.header = &hdr;