Crop in percent

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

Moderators: XnTriq, helmut, xnview

majkl

Crop in percent

Post by majkl »

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: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: crop in percent

Post by helmut »

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 »

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.