I've found another alpha transparency / magic pink issue 
It seems like CopyTransparencyMask doesn't ignore magic pink anymore (it did in 3.3)

The raster sprite is a 32bit png with an alpha channel, the portrait is a 32bit import from a gif. In AGS 3.3 I could happily merge those two, but in 3.4 the magic pink shines through.
Code: ags

It seems like CopyTransparencyMask doesn't ignore magic pink anymore (it did in 3.3)

The raster sprite is a 32bit png with an alpha channel, the portrait is a 32bit import from a gif. In AGS 3.3 I could happily merge those two, but in 3.4 the magic pink shines through.
// Sprite 6 is the raster png
// Sprite 7 is the portrait gif
DynamicSprite *TileRaster = DynamicSprite.CreateFromExistingSprite(6, true);
TileRaster.Crop(0, 0, 37, 49);
DrawingSurface *roomSurface = Room.GetDrawingSurfaceForBackground();
DynamicSprite *temp_fg = DynamicSprite.CreateFromExistingSprite(7,true);
temp_fg.CopyTransparencyMask(TileRaster.Graphic);
roomSurface.DrawImage(10, 20, 7, 0);
roomSurface.DrawImage(50, 20, temp_fg.Graphic, 0);
roomSurface.DrawImage(100, 20, 6, 0);
roomSurface.Release();