Skip to content

Fixed bug #3048 Indexed image BG always 0 when exporting PNG

Ghost User requested to merge (removed):bug3048 into master

Indexed images always had a BG index of 0 because the index of the color currently set as the BG was not known. This fix iterates through the colormap assigned to the png and finds the matching color, then sets the BG index to that index.

Fixed code style issues and applied patch to master branch.

Merge request reports

Loading