0.84: Crop profiles problems

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
phaolo
Posts: 69
Joined: Tue Dec 29, 2015 11:40 pm

0.84: Crop profiles problems

Post by phaolo » Mon Mar 27, 2017 12:27 pm

XnView: MP 0.84 - 64 bit
OS: Windows 7 - 64bit

View mode, Editing, "Crop" profiles problems on images with height>width:
- ratios seems swapped. For example, 4:3 creates a 3:4 area.
- some pixel measures aren't applied correctly. For example, 720x1280px (9:16) has become 2276x1280px.

Effect: wrong images

To reproduce:
- open an image with height>width
- try the profiles O_o

Actual behaviour (bug): a wrong crop area :bug:

Expected behaviour: a defined crop area

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

Re: 0.84: Crop profiles problems

Post by helmut » Mon Mar 27, 2017 9:34 pm

Thank you for your bug report, phaolo. This problem might be related to problem 0.84: JPEG lossless cropping is completely off.
Could you please check with XnView 0.85 beta 2 whether your problem still occurs?

phaolo
Posts: 69
Joined: Tue Dec 29, 2015 11:40 pm

Re: 0.84: Crop profiles problems

Post by phaolo » Mon Mar 27, 2017 10:27 pm

helmut wrote:Thank you for your bug report, phaolo. This problem might be related to problem 0.84: JPEG lossless cropping is completely off.
Could you please check with XnView 0.85 beta 2 whether your problem still occurs?
I'm not that sure, this problem appears before even cropping.
Also, please no betas, I hate them :bug: :( :bug:

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

Re: 0.84: Crop profiles problems

Post by helmut » Tue Mar 28, 2017 11:12 pm

phaolo wrote:
helmut wrote:Thank you for your bug report, phaolo. This problem might be related to problem 0.84: JPEG lossless cropping is completely off.
Could you please check with XnView 0.85 beta 2 whether your problem still occurs?
I'm not that sure, this problem appears before even cropping.
Sorry, I linked a related but wrong topic. Here's the correct link, http://newsgroup.xnview.com/viewtopic.php?t=33671
phaolo wrote:Also, please no betas, I hate them
O.k.. You can check once the 0.85 final is available.

phaolo
Posts: 69
Joined: Tue Dec 29, 2015 11:40 pm

Re: 0.84: Crop profiles problems

Post by phaolo » Sun Apr 09, 2017 10:18 am

Mm.. this still happens in 0.85

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.84: Crop profiles problems

Post by Erixx haxx » Sun Apr 09, 2017 1:29 pm

phaolo wrote:Mm.. this still happens in 0.85
Confirmed, Happens here too, and it is related to the first bug. Maybe it didn't get fixed. I tried with 0.85-b-2 and same problem.
:arrow: H x W Get Flipped sometimes with selection tool.

It seems dependent on exif info or something, because not all .jpg cause this.
I don't have time to track it down, but I think Xntriq had it figured out in the OEM post.


Thanks

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.84: Crop profiles problems

Post by Erixx haxx » Wed Apr 12, 2017 11:59 pm

Hi,

I found the OEM bug report where Xntriq better explains what might be going on.
Here:
viewtopic.php?f=104&t=33671

It was in the fixed section,

[Note:]
I have 2 different pics, 1 works correct, the other has H x W flipped for selection or cropping in fullscreen.



Thanks

User avatar
xnview
Author of XnView
Posts: 29572
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Crop profiles problems

Post by xnview » Sat Apr 15, 2017 12:39 pm

Erixx haxx wrote: I found the OEM bug report where Xntriq better explains what might be going on.
Here:
viewtopic.php?f=104&t=33671
but this problem is fixed
Pierre.

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.84: Crop profiles problems

Post by Erixx haxx » Sat Apr 15, 2017 5:37 pm

xnview wrote:
Erixx haxx wrote: I found the OEM bug report where Xntriq better explains what might be going on.
Here:
viewtopic.php?f=104&t=33671
but this problem is fixed
I'll see if I can get a sample pic for you to repo with.
Right now, all the pics i'm dealing with can not be sent.

@ phaolo do you happen to have a sample pic you can upload ??

Thanks

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.84: Crop profiles problems

Post by Erixx haxx » Sun Apr 16, 2017 3:24 am

OK, Here's a test pic.

To repo:
Go to fullscreen
Select crop = 16 x 9
Now crop
:arrow: Effect is Crop and/or selection is always flipped to 9 x 16
Crop_Test_AG.7z
(265.79 KiB) Downloaded 20 times
Note: Other files work correct for some reason.
Thanks

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

Re: 0.84: Crop profiles problems

Post by helmut » Sun Apr 16, 2017 3:24 pm

Thank you for providing a sample file, Erixx Haxx. I just tried to reproduce the problem using this sample file. When selecting ratio "16:9" the selection is 9:16. When cropping the cropped area matches the selection and is also 9:16.

Is this the behaviour you experience, Erixx Haxx? I think this behaviour is correct because the image has orientation "Portrait". The selection ratio specifies the ratio between <long side>:<short side> and for ease of use it automatically uses the orientation (landscape / portrait) of the image.

Note:
If you want to swap selection ratio you can press "W" key, click on "<>" in crop toolbar, or select "Edit > Selection - Swap width & height".

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.84: Crop profiles problems

Post by Erixx haxx » Mon Apr 17, 2017 4:40 am

Hi, Thanks for the reply. I have 2 issues then.

**First**
This is really an annoying/unwanted action for me.
1.) When I select 16;9, means I need a 16:9 Crop.
2.) We already have a 9:16 option
3.) I'm cropping for monitor screens, not for picture frames
4.) I think the OP had the same complaint.
5.) This messes up Zoomed select also.

If we had an option like Fast Stone to "flip" or a way to turn this action on off would be much better.
I hope I don't have to keep hitting "W" key just for a "zoomed select"

**Second***
Not all pictures act this way. I have other Tall pic's that crop just fine. Same h x w, Also I have know way of knowing what way it will decide to select now.
Now I guess I need to find a sample where this action doesn't work.

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

Re: 0.84: Crop profiles problems

Post by helmut » Mon Apr 17, 2017 1:23 pm

Erixx haxx wrote:Hi, Thanks for the reply. I have 2 issues then.

**First**
This is really an annoying/unwanted action for me.
1.) When I select 16;9, means I need a 16:9 Crop.
2.) We already have a 9:16 option
3.) I'm cropping for monitor screens, not for picture frames
4.) I think the OP had the same complaint.
5.) This messes up Zoomed select also.

If we had an option like Fast Stone to "flip" or a way to turn this action on off would be much better.
I hope I don't have to keep hitting "W" key just for a "zoomed select"
The use case that was discussed many years ago was cropping images from 3:2 to 4:3 ratio for example. For this use case it's convenient that selection ratio depends on the image's orientation/ratio. This is the way XnView Classic works and this is the way XnView MP is supposed to work.
Maybe it's a good idea to introduce a setting. Could you please start a seperate topic in suggestions with a link to this bug report?
Erixx haxx wrote:**Second***
Not all pictures act this way. I have other Tall pic's that crop just fine. Same h x w, Also I have know way of knowing what way it will decide to select now.
Now I guess I need to find a sample where this action doesn't work.
As written above, selection ratio follows the orientation of the image. If you should find an image with different behaviour of the selection this would be a remaining bug. This bug report can be reopened, then.

:arrow: Closed

User avatar
XnTriq
Moderator & Librarian
Posts: 5238
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: 0.84: Crop profiles problems

Post by XnTriq » Mon Apr 17, 2017 9:45 pm

helmut wrote:The use case that was discussed many years ago was cropping images from 3:2 to 4:3 ratio for example.
:arrow: Suggestion for Selection Ratio

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

Re: 0.84: Crop profiles problems

Post by helmut » Tue Apr 18, 2017 7:12 am

Thanks for searching the forum and providing this valuable links. Interesting to read these intensive discussions held 12 years ago. :)

Post Reply