I was trying to create a 32 bits image by removing parts of the alpha channel of the background. But to my surprise when i went to save to png only 24 bits, 256 colors and black-white is supported, in the save dialog. Please add support for 32 bits with alpha channel.
I found out the reason why the modified alpha channel wasn't taken into account when saving. The reason is the way I modified it through scanline does not affect tthe property Full of the alpha channel that remains true. When the alpha channel Full property is true the images get saved as without alpha channnel. So i found a trick I modify one pixel of the alpha channel using Pixels_ie8 and then set it back, and that sets the full property to false.
SyncFull is much slower because it goes through all the pixels. The trick I use is much faster, just setting 1 pixel two times. I would like that the Full property was read-write, so that we don't have to call syncfull or make tricks.