Typically, I launch XnView MP by double-clicking on an image file. When I do this, "JPEG Lossless Transformations" are not available (the menuitem is dimmed). Performing a rotate then renders a lossy image.
If, instead, I launch XnView MP without any file specified, then search for the file within XnView, then open the desired file, "JPEG Lossless Transformations" will be available.
I performed extensive testing, and can reproduce this issue 100% of the time.
If I launch xnviewmp.exe from a command prompt, it always works.
If I launch xnviewmp.exe "image.jpg" from a command prompt, the issue always happens.
The location of the image file matters not. I have even tried moving images into XnViewMP's executable folder, and it still does not work.
I also created a file type association to launch xnviewmp.exe with .jpg files, and the same issue is present. Specifically, I assigned the command "C:\testing\xnviewmp.exe" "%1".
I performed all testing using XnView MP 0.98.4 64-bit portable on Win7 64-bit.
JPEG Lossless Transformations not available when launch XnView MP with a file in the command line
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 14
- Joined: Sat Jul 10, 2021 9:48 pm
-
- Author of XnView
- Posts: 45337
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: JPEG Lossless Transformations not available when launch XnView MP with a file in the command line
and if you wait a little, is it available?
Pierre.
-
- Posts: 14
- Joined: Sat Jul 10, 2021 9:48 pm
-
- Author of XnView
- Posts: 45337
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: JPEG Lossless Transformations not available when launch XnView MP with a file in the command line

Pierre.
-
- Posts: 14
- Joined: Sat Jul 10, 2021 9:48 pm
Re: JPEG Lossless Transformations not available when launch XnView MP with a file in the command line
That's wonderful news Pierre. I'm glad I could help you.xnview wrote: ↑Tue Jul 20, 2021 2:59 pmThanks to your detailed description I can reproduce the problem.
Thank you for the marvelous software and for the bug fix.
I'm looking forward to lossless transformations whenever you find the time to release the next version.
-
- Author of XnView
- Posts: 45337
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: JPEG Lossless Transformations not available when launch XnView MP with a file in the command line
This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Pierre.