Windows 1.3, Jpeg Lossless Rotation Not Working

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

metal450
Posts: 150
Joined: Sun Apr 28, 2019 6:01 am

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by metal450 »

So then by "i've tried [...] all is ok...", is he trying to say "I cannot reproduce the behavior in the same mode/configuration as shown in the video"? If so, I'm not sure how else I can communicate the bug. I just tried it on a 2nd PC, & the behavior is the same.
cday
XnThusiast
Posts: 4395
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by cday »

I haven't been following the thread, I just tried to clarify what I thought Pierre meant, maybe someone else can help if you are lucky! :wink:
metal450
Posts: 150
Joined: Sun Apr 28, 2019 6:01 am

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by metal450 »

Kk...well, that's the only way I can interpret it.

In any event, I just tested it on a VM as well, and the behavior is the same.

So in other words, the bug is reproducible on my PC, another PC, and a Virtual Machine. I also tried it with a fully default config. In all cases, the bug is present, as shown in my video above.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by xnview »

metal450 wrote: Fri Dec 16, 2022 3:58 pm So then by "i've tried [...] all is ok...", is he trying to say "I cannot reproduce the behavior in the same mode/configuration as shown in the video"? If so, I'm not sure how else I can communicate the bug. I just tried it on a 2nd PC, & the behavior is the same.
which pathname/filename do you have?
Pierre.
metal450
Posts: 150
Joined: Sun Apr 28, 2019 6:01 am

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by metal450 »

xnview wrote: Sun Dec 18, 2022 9:27 am which pathname/filename do you have?
The same as both you & I previously quoted:

Code: Select all

D:\_Pics+Vids_\PicsToSort\2020-02) Covid (Covey,Kingston,Iceland,Kauai,Baltic)\2022-07-26) EU (UK,Finland,Estonia,Lithuania,Belarus,Poland)\2022-08-04) Estonia - Tallinn Pharmacy; Creative City; Prison; Coastal Bikeride (Compressed)\4803 - 20220804_120509 (Glo).jpg
Proof: https://jiij.cc/snaps/2022-12-18_08.16.46.mp4
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by XnTriq »

This is the path to 4803 - 20220804_120509 (Glo).jpg in the file properties of Explorer on Windows 10:

Code: Select all

\\?\D:\_Pics+Vids_\PicsToSort\2020-02) Covid (Covey,Kingston,Iceland,Kauai,Baltic)\2022-07-26) EU (UK,Finland,Estonia,Lithuania,Belarus,Poland)\2022-08-04) Estonia - Tallinn Pharmacy; Creative City; Prison; Coastal Bikeride (Compressed)
Just an observation…
https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#win32-file-namespaces wrote:For file I/O, the "\\?\" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it straight to the file system. For example, if the file system supports large paths and file names, you can exceed the MAX_PATH limits that are otherwise enforced by the Windows APIs. For more information about the normal maximum path limitation, see the previous section Maximum Path Length Limitation.

Because it turns off automatic expansion of the path string, the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path.

Many but not all file I/O APIs support "\\?\"; you should look at the reference topic for each API to be sure.

Note that Unicode APIs should be used to make sure the "\\?\" prefix allows you to exceed the MAX_PATH
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by xnview »

ok, i can reproduce if 'make backup' is disabled, Issue reopened
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.4.1. Please check and confirm the bug fix here.
Pierre.
metal450
Posts: 150
Joined: Sun Apr 28, 2019 6:01 am

Re: Windows 1.3, Jpeg Lossless Rotation Not Working

Post by metal450 »

Confirmed, it's fixed.
Post Reply