I'm not familiar with Asphyre but usualy delphi image classes expose 'scanline' property, it's faster than 'pixels'