border color
Posted: 2009-10-03T14:31:05-07:00
Hi,
I am writing a script to pad the file I have with a border so that the final size is close to a square. I would like to be able to sample a pixel on the border (edge pixel?) of the existing file and use that as argument to -bordercolor. Reading through the documentation, I did not find anything about how to do such sampling. Anyone?
Thanks,
--Z
I am writing a script to pad the file I have with a border so that the final size is close to a square. I would like to be able to sample a pixel on the border (edge pixel?) of the existing file and use that as argument to -bordercolor. Reading through the documentation, I did not find anything about how to do such sampling. Anyone?
Thanks,
--Z