Adding frame to pictures in batch mode with nConvert

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, xnview

Post Reply
diablotim

Adding frame to pictures in batch mode with nConvert

Post by diablotim » Wed Jun 30, 2004 7:15 pm

Hullo everybody, Bonjour à tous,

What a nice piece of software we have here ! Personnally I find the batch feature a must!
Starting to put loads of pics online, I kinda use nconvert a lot. But I used to add a frame to my pictures when I was working only with Photoshop, and now with nconvert I haven't found quite yet how to get the same result that is : a frame with a constant width all around the picture.

I'm using of course the -canvas switch, but the only options are absolut or percentage values, which won't do if you're batching pictures of different size (portrait and landscape for instance).

Would it be difficult to implement the use of a relative value, like:

Code: Select all

-canvas "+14" "+14"
(wich would add 7px wide frame the color of -bgcolor all around the frame) or even

Code: Select all

-canvas "-6" "-8"
(to remove a bad looking frame :mrgreen: ) ?

Of course I might have missed the perfect switch to achieve that but I've been looking quite thouroughly at the 'nconvert -help' details...

What do you think ??

diablotim

Post by diablotim » Thu Jul 01, 2004 1:02 pm

oh yess, I forgot : I'm using NConvert 4.20

And I'm Timothée btw. :D

.tim

Post Reply