in reply to How to fill the contents of a 2D piddle?
Simplest way is to do what you did previously and then assign the array to a piddle:
my $img2Dpdl = pdl @image2D; [download]
David