On 14/07/07, Marc Weustink <[EMAIL PROTECTED]> wrote:

What i did there was maskdraw the unscaled source, on a black alpha
image (iirc) and then alpha draw the result streched. In theory there
shouldn't be a mask color anymore, but somehow you still see some remains.

That sounds like what I had in mind. I was going to draw the original
masked bitmap to a temp canvas the same background color as the form I
want to paint to. Then enlarge that temp canvas, before I paint it to
the Form. At least that way, the blended edges are the same color as
the form's background.


this one is worse than mine:

I guess there are a few factors that could contribute to mine looking
worse. For one, I enlarged a 16x16 bitmap to 70x70 (a 4.3x
magnification). This was only a test though. The other possibility
could be what interpolation filter you use. I used Mitchel
Interpolation by default.

Regards,
 - Graeme -

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to