How can I do the same as the following command line command in Perl using the ImageMagick API?
convert scotland.jpg[1x1+0+0] -depth 8 txt:
The result should look similar to this:
# ImageMagick pixel enumeration: 1,1,255,rgb
0,0: ( 48, 50, 47) #30322F rgb(48,50,47)