> >> You were right. I think my transparency caused the problem
> >> somehow. When I added a solid background, it was golden, but
> >> with a varying alpha levels all throughout the image it made
> >> the image look absolutely horrible.
> >> If I need to use transparency in the future, how do I avoid this?
> >
> > This sounds suspiciously like bug #1949
> >
> > http://www.fltk.org/str.php?L1949
> 
> 
> Oh, I forgot which version of FLTK you are using. FLTK 
> pre-1.1.8 uses  
> a simplified "dithered" transparancy for alphas other than 0 or 1.  
> This should be fixed for most (all?) platforms starting with 
> 1.1.8/1.1.9

STR #1949 applies to 1.1.9 / svn (and 1.3.x of course).

The alpha stuff in the fltk code is good, but configure doesn't enable
it correctly, which produces the effect the OP reported.

There's a trivial change to configure that (I think) corrects this - or
hand-patching config.h as I suggested in the previous patch works as a
quick-fix.

Cheers,
-- 
Ian


SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to