msstyleEditor
msstyleEditor copied to clipboard
Premultiply and un-premultiply alpha when exporting / replacing image
Is your feature request related to a problem? Please describe. PNGs inside msstyles use premultiplied alpha images, but editors expect non-premultiplied alpha
Describe the solution you'd like Automatically un-premultiply alpha when exporting image and automatically premultiply alpha when replacing.
Describe alternatives you've considered Some helper tools can do alpha pre-unpre/mutltiplication
Thanks for the info. Not sure what I'll do. Performing this step doesn't seem to be something msstyleEditor should be doing.
But I'll investigate what the common practices are in this regards and if really all styles images must be premultiplied.
Here's a crude patch for that, too bad that netfx SaveFileDialog does not allow adding checkboxes premult.patch