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?

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

    Yeah lemmy strips everything. This comes up with AI stuff because typically the prompt and seed are attached to EXIF with the PNG output.

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

      Stable Diffusion puts everything into a tEXt chunk not eXIf. (But this is also needlessly pedantic lol.)

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

        No no not needless. I haven’t looked into it past what I’ve seen while lurking. I’m putting together a workstation for SD, but have only used cloud instances so far and haven’t tried to use the embedded prompt. I merely noted it exists. Now I have something else to look up and reference. Thanks.

        • 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.