Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

auto-rotation doesn't work with jxl

Open litoj opened this issue 3 months ago • 5 comments

Checklist

  • [x] I can reproduce the bug with the latest version given here.
  • [x] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [x] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [x] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [x] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [x] This issue contains only one bug.
  • [x] I have read and understood the contribution guidelines.

Affected app version

1.5.1 and all other

Affected Android/Custom ROM version

android 11 - CorvusOS 16.8

Affected device model

Lenovo K10 Note

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

  1. get yourself a jpg and jxl file, jpg being in one orientation and the other two being in the other one.
  2. Flick through them with the proportion-based orientation setting

Expected behavior

same as jpg - rotate when in the incorrect orrientation for the image proportions

Actual behavior

You'll see the screen adjusts only to the jpg, not to the jxl.

Screenshots/Screen recordings

No response

Additional information

Split off of #598

litoj avatar Sep 12 '25 18:09 litoj

I can reproduce it for JXL, but not for AVIF. Can you share a sample image that doesn't rotate the screen?

Aga-C avatar Sep 12 '25 18:09 Aga-C

I can reproduce it for JXL, but not for AVIF.

Same on my side. AVIF works.

naveensingh avatar Sep 13 '25 04:09 naveensingh

In that case, I must have been wrong. My gallery is a mix of all. I should've put those files in a separate folder and test them alone, but I didn't. So it seems only jxl is affected indeed.

litoj avatar Sep 13 '25 05:09 litoj

Maybe a special case of https://github.com/FossifyOrg/Gallery/issues/417

naveensingh avatar Sep 13 '25 05:09 naveensingh

all works fine only for gif, png and jpeg. webp, avif and jxl are outsiders (sadly), even if they are better.

pettiness avatar Sep 15 '25 18:09 pettiness