On Wed, 2010-07-14 at 14:17 +0300, Mart Raudsepp wrote: > Op:PictOpAdd, Src:PICT_a8 Mask:0 Dest:PICT_a8 Okay, this is really really easy to do - it's a saturating addition: d = MIN(s + d, 255); That should solve your immediate problem. -- ------ From: Jonathan Morton jonathan.morton at movial.com