How to create a pre-multiplied png

Hier findet man Beispielbilder
Here you can find sample images
Benutzeravatar
Herbert123
Mitglied
Beiträge: 2172
Registriert: Sa 12 Mai 2012 21:38

How to create a pre-multiplied png

Beitrag von Herbert123 »

Sometimes (especially in game dev and video) you require a pre-muliplied alpha channel in your PNGs (either with black or white). Although there is no direct option in Photoline's png export to include one (and png officially does not support this feature anyway), it is quite simple to create one yourself.

For more info on this topic, and the advantages of pre-multiplied alpha channels for certain applications, read up on them here:
http://blogs.msdn.com/b/shawnhar/archiv ... alpha.aspx

I prepared a 1min:30sec long video tutorial for your viewing pleasure.

http://www.estructor.biz/trainingvids/premultiply.mp4
/*---------------------------------------------*/
System: Win10 64bit - i7 920@3.6Ghz, p6t Deluxe v1, 48gb (6x8gb RipjawsX), Nvidia GTX1080 8GB, Revodrive X2 240gb, e-mu 1820, 2XSamsung SA850 (2560*1440) and 1XHP2408H 1920*1200 portrait