imagemagick - Specify a pixel in image magick -


where can find documentation this?

i trying option:

-format "%[pixel: u.p{1,1}]" 

and gets pixel 1,1.

how pixel @ 100% of image, tried:

-format "%[pixel: u.p{100%,100%}]" -format "%[pixel: u.p{-1,-1}]" 

i reading this, difficult understand pixel entry says:

p = pixel use (absolute or relative current pixel) 

context

the complete command using is:

color=`convert ~/desktop/my_image.png -format "%[pixel: u.p{-1,-1}]" info:` 

and trying color in last pixel of image.

by looking @ documentation suggest try u.p{w-1,h-1}


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -