I can't comment on why the call is required to be pixel[x,y], but I have to ask why you couldn't just use:
my $readval=$imagetarget->Get("pixel[$xcount,$ycount]");
I tried a test with that syntax and it appears to work correctly. Did I miss something that's unique to Image Magick?
In reply to Re: Odd way of passing parameters
by Belgarion
in thread Odd way of passing parameters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |