Does Lemmy strip photo GPS data? - eviltoast

Most mature social networks do remove this information to prevent users accidentally sharing their locations. Can someone positively say whether Lemmy is aware enough to strip extra information from photos?

  • JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Basically the PNG file format is a series of chunks. The most useful being the IDAT chunk which is the image data. IHDR has the info about the resolution too. Everything else can be removed and it should work the same as far as viewing is concerned. EXIF and TEXT are just two other chunks. I believe EXIF is for information about the camera. It seems useful for photographers. TEXT is just meant for any textual data you want to put into the image.

    • j4k3@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      How do you visualize and access all of this information within the image file?

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        This is a python tool I was making recently to do this which is why it is all so fresh on my mind. There seem to be tools on webpages to do it too but I don’t know how well they work. Here is one. They are probably easier to get going.