Heads up, Xojo 2016r1+ is creating *new* icons incorrectly.

<https://xojo.com/issue/45305>

If you used Xojo 2015r4 or earlier to add your icons - both document and application - then this doesn’t affect you. The bug is only while adding icons in the 2016 releases.

Here’s what’s going on. Xojo 2016r1 and newer are computing the “data” channel of the icons incorrectly when you drag an image (usually a PNG) into the editor. The data channel in these versions is nothing more than the original PNG drawn onto a white background. The mask is computed correctly. The effect of this when putting the data and mask back together is a “mask of a mask” effect. The icon editor needs to strip the mask away from the dropped image to produce a proper data channel.

The problem can be subtle. Usually something hard to notice such as shadows “ending” sooner than they should. But when full-color translucency is used, the problem is much more pronounced, usually washing out the colors or adding unnecessary grey. In the Feedback case, I’ve attached as much as I can to demonstrate the problem.

Have you tested this in 2016r3? We added a framework method specifically for this reason called Picture.CopyColorChannels which should be doing the right thing again.

Yes. That’s where I discovered it and wrote the sample project.

http://developer.xojo.com/picture

does not know about CopyColorChannels

I wanted to get some more information about what exactly CopyColorChannels do.

Also, (Feedback) case 43121 not found; not found either in Feedback Release Notes (I do ot found it).

It is no more possible to save the Feedback Release Notes ?

Right you are. Just verified that this problem has been fixed for the next release though.

[quote=288303:@Emile Schwarz]http://developer.xojo.com/picture
does not know about CopyColorChannels
I wanted to get some more information about what exactly CopyColorChannels do.[/quote]
Please file a bug report about that.

Case 43121 is private.[quote=288303:@Emile Schwarz]It is no more possible to save the Feedback Release Notes ?[/quote]
No. Release notes are no longer exported from Feedback. You can access the HTML versions directly in the Documentation folder of each IDE.

Thanks Greg.

Feedback: done.

[quote=288310:@Emile Schwarz]Thanks Greg.

Feedback: done.[/quote]

Picture.CopyColorChannels: implemented with a nice NEW 2016r3 green rectangle.