Joke of the day

I’m a big fan of whiteboards. I find them quite re-markable.

  • Naomikho ( Naomikho@monyet.cc ) 
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Interesting… thanks for the information! Please let me use your post as reference while opening the ticket Previously it seems like it could the auto orient issue, as the ansible-playbook is using asonix/pictrs:0.3.1 but Lemmy’s dependency for pict-rs is written as pict-rs = { version = “0.4.0-rc.3”, optional = true } :/ I’m not exactly sure what’s going on here

    • zen ( zen@monyet.cc ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      if you are referring to https://github.com/LemmyNet/lemmy/blob/0.18.0-rc.4/Cargo.toml#L140 then it most likely has something to do with lemmy having its own embedded pict-rs, which is at version 0.4.0; whereas the ansible-playbook is still using an external pict-rs 0.3.1, maybe due to some issues with the 0.3 to 0.4 migration

      to check if lemmy is using its embedded pict-rs, I think you can see if lemmy was started with the –features embed-pictrs command line option

      • Naomikho ( Naomikho@monyet.cc ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        Oh… that’ll probably be in the docker container log. I’m not sure if I can dig back that far… probably not :(

        Yep aarrrrrghhhh it’s at when the container is initialized. Too late T_T Maybe I can tell if I manage to start a separate instance, but I’m not sure if there’s enough hardware resources on my side to try. But I’ll open the ticket first regardless based on Crabby’s findings

    • I hope i can understand what that line mean so i can help you further but alas, i’m just a car mechanic 😂

      But i have a feeling that it’s because of height limit, the top picture in portrait mode is 2250x4000 while the bottom one is 1080x1985. Maybe it exceed the height limit so it turn to portrait mode?

      Edit: Okay i tested using a picture with height = 3965 and it displayed portrait, so maybe the height limit is 4k?

      • Naomikho ( Naomikho@monyet.cc ) 
        link
        fedilink
        arrow-up
        1
        ·
        3 years ago

        Ooh… good find! I think you’ll make a good tester lol 😝I never thought about finding the height limit, but yeah that’s a really good find. In quality assurance there’s a lot of boundary testing done and I guess they didn’t do that

        Now I can post the issue

            • Annoyed_🦀  ( Annoyed_Crabby@monyet.cc ) 
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              3 years ago

              Initially i thought so too because i simply resized it just a tiny bit to test the theory, thought it could be it but now i learned it might not be the case, and could be the camera app issue, some encoding of sort idk. Lets take this two pic for example:

              This is the original, unedited. It rotated

              This is the edited but without resize, it didn’t rotated

              Both image is same sized, both displayed in my phone gallery as portrait. So it could be…something. I haven’t tried using other camera app or another phone tho.

              edit: tried using pro cam x lite and it also get rotated :\