Allow transparency in GIF images

Thanks to preperation work done by Harald
This commit is contained in:
Robin Stuart 2020-08-03 17:13:25 +01:00
parent 13f4a3547d
commit fa0c89a43a
2 changed files with 29 additions and 11 deletions

View file

@ -420,7 +420,7 @@ will give different results for PNG and SVG. Experimentation is advised!
Also note that these options don't work properly with Maxicode yet.
In addition the --nobackground option will simply remove the background from
PNG, SVG, EMF and EPS files.
PNG, GIF, SVG, EMF and EPS files.
4.8 Rotating the Symbol
-----------------------
@ -931,8 +931,9 @@ int main(int argc, char **argv)
return 0;
}
Background removal for PNG, SVG, EMF and EPS files can be achieved by setting
the background alpha to "00" where the values for R, G and B will be ignored:
Background removal for PNG, GIF, SVG, EMF and EPS files can be achieved by
setting the background alpha to "00" where the values for R, G and B will be
ignored:
strcpy(my_symbol->bgcolour, "55555500");