border width and height units of measure

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
MajorDan

border width and height units of measure

Post by MajorDan »

sorry if this is a 'too simple' question but I can't find an answer anywhere in the documentation :
for " convert <file> -border 5x5 .." for instance, what is the unit of measure of the height and width of border - 5 whats ?
I have found that bigger numbers make wider borders but I can't figure out the unit type.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: border width and height units of measure

Post by snibgo »

The unit is "pixels". Pretty much everything in IM is measured in pixels.
snibgo's IM pages: im.snibgo.com
MajorDan

Re: border width and height units of measure

Post by MajorDan »

thanks. I was coming to that conclusion. much appreciated.
Post Reply