started on added methods for getting pixel data in blocks to avoid memory issues
started on added methods for getting pixel data in blocks to avoid memory issues