Re: [Pharo-users] Is there a way to set form colours using a 'fuzzy' option?

2017-12-30 Thread Stephane Ducasse
Nice I learned something :). Stef On Thu, Dec 28, 2017 at 11:42 PM, Andy Burnett wrote: > Nicolai wrote > > You can draw a new form with copybits and use your own color mapping. > > First, I thought there would be a bitblt operation that you could use >

Re: [Pharo-users] Is there a way to set form colours using a 'fuzzy' option?

2017-12-28 Thread Andy Burnett
Nicolai wrote >>> You can draw a new form with copybits and use your own color mapping. First, I thought there would be a bitblt operation that you could use without explicit calculating the color mapping, a paint operation that would convert a gray-value to an alpha value. But I could find it.

Re: [Pharo-users] Is there a way to set form colours using a 'fuzzy' option?

2017-12-28 Thread Nicolai Hess
You can draw a new form with copybits and use your own color mapping. First, I thought there would be a bitblt operation that you could use without explicit calculating the color mapping, a paint operation that would convert a gray-value to an alpha value. But I could find it. In this special

[Pharo-users] Is there a way to set form colours using a 'fuzzy' option?

2017-12-27 Thread Andy Burnett
I have an image with black text, and a white background. I would like to set the white pixels to transparent. I worked out how to do this, but of course it leaves me with a white halo around the text, where the border pixels are almost white, but not quite. In googling about this, I discovered