On Thu, Jul 04, 2002 at 07:06:36PM +0200, Simon Budig wrote: > This is not correct. Please note that the data pointer still points > inside the complete tile. By simply accessing the pixel data linearily > you might leave the region indicated by the pixel region. To do this > properly you have to iterate over the rows separately (select_rgn.w * > select_rgn.bpp bytes) and then add select_rgn.rowstride to the adress > where line starts. Have a look at > http://www.home.unix-ag.org/simon/gimp/guadec2002/gimp-plugin/html/efficientaccess.html > > there is a small graphics illustrating this. Sample code is also there. Thanks 1e6 for that Simon! This is a very useful resource - so useful in fact that I decided to scrap my existing plug-in and use the example as a new starting point. It's now progressing quite nicely. Thanks again. Best wishes, Bill.