How to do 'Crop to Content'? like in GIMP/Photoshop

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
Intellectual123
Posts: 12
Joined: Tue Mar 07, 2023 3:38 am

How to do 'Crop to Content'? like in GIMP/Photoshop

Post by Intellectual123 »

See attached photo/screenshot.
Attachments
Copy of 20231210_055413A.jpg
Last edited by Intellectual123 on Sun Dec 10, 2023 1:10 pm, edited 1 time in total.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to do 'Crop to Content' and 'Crop to Selection'? like in GIMP/Photoshop

Post by cday »

Crop to selection -- Edit > Crop... shortcut Shift + X works well for me.

Crop to content -- XnView Classic has an Autocrop function, but I'm not sure whether it has been implemented yet in XnView MP, or if it has where it is located?

The autocrop algorithm used in any case only works reliably in reasonably benign conditions, stray pixels outside the desired image area in my experience easily affecting operation even when the slightly obscure tolerance setting is adjusted.

Edit: Batch convert, at least, and XnConvert support have Automatic crop actions, and accept single files as input.
Intellectual123
Posts: 12
Joined: Tue Mar 07, 2023 3:38 am

Re: How to do 'Crop to Content'? like in GIMP/Photoshop

Post by Intellectual123 »

Thanks, how you're describing it is not like GIMP or photoshop, which, when one crops to content, it crops to the layers borders. But does XnView even have layers? Thats what i'm trying to do.
cday
XnThusiast
Posts: 4397
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: How to do 'Crop to Content'? like in GIMP/Photoshop

Post by cday »

Intellectual123 wrote: Sun Dec 10, 2023 1:16 pm Thanks, how you're describing it is not like GIMP or photoshop, which, when one crops to content, it crops to the layers borders. But does XnView even have layers? Thats what i'm trying to do.
No XnView software currently supports layers, although at least some versions of Adobe Photoshop PSD files can be viewed.
Post Reply