I could rewrite it to use Scanline tomorrow if you want (not tonight unfortunately - been a hectic week).

EDIT: as a thought, Anders Melander (cool Delphi dude who wrote a gif component, maybe called TGifImage) has a zip somewhere out there that deals with this - it's called resample.zip or something like that. Sorry about being hazy on the details but his site has been down for a while, unfortunately (his life got too busy to maintain it IIRC from news://borland.public.graphics). It's meant to be quite good if you {$DEFINE USE_SCANLINE} or something like that. Umm, maybe this vague info will be helpful, though it may involve more than a little hunting around :?