Recently I’ve faced interesting task and would like to share solution with community. Task sounds quite simple: «merge two images with (a,r,g,b) components (i.e. 24-bit) into single image, preserving right transparency and color values (for example as Photoshop does)». The…