From:
<jue...@go...> - 2023-11-14 08:15:27
|
Hello Andrew, Evgeny's change adds just one line containing a function call. After this change all PNG files will be saved with an alpha translucency channel. I think this is a good idea. Thanks to Evgeny for caring about this advanced feature and to Andrew for caring about the GIT stuff that causes me to acquire a spontaneous a skin rash whenevever I think about GIT. Juergen Kahrs > Hi, > > In bug https://sourceforge.net/p/gawkextlib/bugs/8/, Evgeny is proposing the > attached patch. Is anybody able to evaluate whether this makes sense? I'm not > familiar with the GD API and extension. It passes "make check" for me, but I > have no ability to validate it beyond that. > > Regards, > Andy > > ----- Forwarded message from Evgeny Dobromilsky <nes...@us...> ----- > > Date: Sat, 11 Nov 2023 16:27:13 -0000 > From: Evgeny Dobromilsky <nes...@us...> > To: "[gawkextlib:bugs] " <8...@bu...> > Subject: [gawkextlib:bugs] #8 gawk-gd translucency fix > > Sorry for my bad English. Alpha channel was ignored WHILE saving a PNG-file, > but with gdImageSaveAlpha(im, 1) the file is saving with alpha-channel. > > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > > [bugs:#8] gawk-gd translucency fix > > Status: open > Group: v1.0_(example) > Created: Sat Nov 11, 2023 04:24 PM UTC by Evgeny Dobromilsky > Last Updated: Sat Nov 11, 2023 04:24 PM UTC > Owner: nobody > Attachments: > > • gd.c (19.2 kB; text/x-csrc) > > The gawk-gd library ignored alpha-channel due saving PNG-files, I've added this > line to a gd.c source: > gdImageSaveAlpha(im, 1); // save full alpha channel > Tested. Works great. > Please, update it in repo. > > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > > Sent from sourceforge.net because you indicated interest in > https://sourceforge.net/p/gawkextlib/bugs/8/ > > ----- End forwarded message ----- > > > _______________________________________________ > Gawkextlib-developer mailing list > Gaw...@li... > https://lists.sourceforge.net/lists/listinfo/gawkextlib-developer |