read images directly into PDL