Crop in percent

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

Moderators: XnTriq, xnview

Post Reply
majkl

Crop in percent

Post by majkl » Thu Jul 08, 2004 2:55 pm

I can not get how to crop image by specifying change of dimensions in percents. eg I'd like to use something like
crop u% (% from up) d% (down) l% (left) r% (right)
Then
.. crop 0% 10% %0 %0
-> cut off 10% of picture at bottom
... crop 0% 0% 0% 50%
-> cut off 50% picture from right side.

Is it possible? If not, what about to add this? it is only other way how to define crop parameters.

Thank, majkl

User avatar
helmut
Posts: 8174
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: crop in percent

Post by helmut » Thu Jul 08, 2004 7:01 pm

majkl wrote:I can not get how to crop image by specifying change of dimensions in percents. eg I'd like to use something like
crop u% (% from up) d% (down) l% (left) r% (right)
Then
.. crop 0% 10% %0 %0
-> cut off 10% of picture at bottom
... crop 0% 0% 0% 50%
-> cut off 50% picture from right side.
...
Cropping borders of an image can be done by resizing the canvas (open image, then menu "Image->canvas size"). Then you can specify the new size in pixel or percent. Depending on which side(s) you want to crop you select the position of the image.

The above said refers to one image, for batch mode (Multi convert) the parameters are similar.

Perhaps this is what you're looking for...

majkl

Re: crop in percent

Post by majkl » Fri Jul 09, 2004 7:14 am

Cropping borders of an image can be done by resizing the canvas (open image, then menu "Image->canvas size"). Then you can specify the new size in pixel or percent. Depending on which side(s) you want to crop you select the position of the image.
The above said refers to one image, for batch mode (Multi convert) the parameters are similar.

Perhaps this is what you're looking for...
Definitely YES!

Thanks, Helmut.

Post Reply