Each row corresponds to one painting, and the rgb color values at each pixel are in each column. With a $$20\times20$$ image, this leads to $$400\times3=1200$$ columns.