in reply to Odd way of passing parameters

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?

Replies are listed 'Best First'.
Re: Re: Odd way of passing parameters
by Anonymous Monk on May 04, 2004 at 20:17 UTC
    No you didn't , it was a general question about the form of the expression. Thanks Belgarion, now you rewrite it with interpolating double quotes I can see what's going on, the append(dots) were confusing me. Respects, Andy.