Kartik - I'm sorry I didn't give a better explanation of how to access individual elements in the bitmap using PDL's notation. After thinking about it for a bit, I realized that this seems overly obvious to me because Karl and company use image processing as their demonstration example in the e-boook, PDL - Scientific Programming in Perl. You can find a link to download the pdf under the second bullet here: http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Main_Page#External_Resources
If you read Chapter 1, you'll hopefully have a much clearer idea of how to use PDL, and since it uses image processing and analysis, I'm sure you'll see many possible extensions to SDL. Don't worry, it's a good read. I'd recommend the whole book except that it's not finished. :) David