Cropping with border

Ideas for improvements and requests for new features in XnView MP

Moderators: helmut, XnTriq, xnview

Post Reply
Major Tom
Posts: 10
Joined: Fri Jan 13, 2017 2:23 pm

Cropping with border

Post by Major Tom »

Hi,

it would be great, If you can implement a function (new button) into the cropping tool to switch the ratio between landscape and portrait - like in acdsee.
I often cut landscape out of a portrait format.

Also it would be great, if it would be possible to define a border in percent (or pixel). See attached file.
I often print pictures for a picture frame in standard format (e.g. 10x15cm). Many picture frames do not show the whole picture. xx percent are not visible. Because of this, a definable border will be very helpful to see the visible area.

I hope I could well describe what I mean?

Best regards.
Tom
Attachments
Border.jpg
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Optimize cropping tool

Post by helmut »

Major Tom wrote:it would be great, If you can implement a function (new button) into the cropping tool to switch the ratio between landscape and portrait - like in acdsee.
I often cut landscape out of a portrait format.
In cropping mode you can click on <> in the toolbar to swap width & height.
Major Tom
Posts: 10
Joined: Fri Jan 13, 2017 2:23 pm

Re: Optimize cropping tool

Post by Major Tom »

Ahh, I'am blind ... sorry :D

Then "only" the border.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Optimize cropping tool

Post by helmut »

Major Tom wrote:Ahh, I'am blind ... sorry :D
I think it's a bit hidden but once you know it's easy.
Major Tom wrote:Then "only" the border.
FAIK, currently this is not supported. But a possible future enhancement. In the meantime you might crop your images to the desired size and then use the batch processing to add a border for all images.
Major Tom
Posts: 10
Joined: Fri Jan 13, 2017 2:23 pm

Re: Optimize cropping tool

Post by Major Tom »

In the meantime you might crop your images to the desired size and then use the batch processing to add a border for all images
Thank you! Not perfect but a good workaround :)
...But a possible future enhancement...
It would be great, to see it in a near future release.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Optimize cropping tool

Post by helmut »

Major Tom wrote:
In the meantime you might crop your images to the desired size and then use the batch processing to add a border for all images
Thank you! Not perfect but a good workaround :)
Good to read that this workaround works for you, Major Tom. :)
Major Tom wrote:It would be great, to see it in a near future release.
It's hard to support every possible use case while keeping a software simple. But "Cropping with border" sounds like a more common use case to me. I guess the toolbar of the cropping tool has to be partly redesigned, anyway, e.g. it's very hard to differentiate width/height and x/y position and to identify what the "<>" button does.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Cropping with border

Post by m.Th. »

the toolbar of the cropping tool has to be partly redesigned, anyway e.g. it's very hard to differentiate width/height and x/y position and to identify what the "<>" button does.
Not enough space for texts - we need tooltips.
But "Cropping with border" sounds like a more common use case to me.
Yes.

How to do it:

Add another two (or one?) edit widgets for Border Width (and Height) and just draw inside the actual crop a rectangle offseted with BorderHeight, BorderWidth and with Width = Crop.Width-2*BorderWidth; Height = Crop.Height - 2*BorderHeight;

Add another checkbox for show/hide border.

Test for the extreme cases (small dimensions).
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Cropping with border

Post by helmut »

m.Th. wrote:
the toolbar of the cropping tool has to be partly redesigned, anyway e.g. it's very hard to differentiate width/height and x/y position and to identify what the "<>" button does.
Not enough space for texts - we need tooltips.
Yes, tooltips plus small graphics next to the field(s) which indicate the funcationality are the way to go.
Post Reply