in reply to Re^2: Reading an image palette
in thread Reading an image palette

What do you want returned? Identify prints it's output to the terminal. If you want to capture the output for regexing, run the c command thru backticks or a piped open.
#my $return = `identify -verbose $file`; #print $return; my $pid = open(my $fh,"identify -verbose $file |"); while(<$fh>){print }

I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^4: Reading an image palette
by leocharre (Priest) on Oct 03, 2008 at 15:40 UTC

    I thought my post made it very clear that's just what I was already doing- Looking back at it, I made a poor job of stating that.

    zentara, you must see my confusion with the fact that Identify() method specifically outputs to (STDERR? Or tty?). I guess this would be the most 'funny' thing I've ever seen Image::Magick do. That's saying a lot.

    I mean, really? Method Identify().. so that it may output to the tty (must be STDERR) exactly what cli identify would do? Really? Let's just put in a method called 'Trasparentize' that prints empty strings to "QWERTY"..

    Thanks for the piped open example.