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?

      • The Quuuuuill
        link
        fedilink
        621 year ago

        Pict-rs is a rust library. Lemmy is a rust program. Lemmy uses pict-rs as a dependency. Pict-rs strips exif data. Exif data is the metadata that would include GPS data. Thus, lemmy strips GPS data

      • [email protected]
        link
        fedilink
        161 year ago

        I don’t think we should be downvoting this guy. Take off your IT hats, folks, it wouldn’t mean much to people outside the industry.

  • @[email protected]
    link
    fedilink
    English
    271 year ago

    Looks that way. I just downloaded a few pictures people have uploaded and checked the meta data, there’s not much there.

  • @got2best
    link
    English
    251 year ago

    This is a great question and good to know 🙏

  • @[email protected]
    link
    fedilink
    English
    241 year ago

    It’s always best to assume nothing strips GPS data. You should strip it yourself if you care.

    • @[email protected]
      link
      fedilink
      English
      141 year ago

      Exactly. Even if the standard Lemmy software does it, there’s no guarantee that your instance admin hasn’t altered the code or done something else to keep that data.

    • Chozo
      link
      fedilink
      61 year ago

      Do you have any tips for how users can easily manage this, themselves?

      • @[email protected]
        link
        fedilink
        English
        4
        edit-2
        1 year ago

        I’m hesitant to name anything specific since time exists and tech fluctuates, but there’s definitely a small, free utility app for your device that will strip exif data from your images.

        Search for ‘remove exif’ in your App Store and see what people are saying about the top several apps listed.

        (EtA: In nongeek, ‘exif’ data includes the photo’s gps coordinates, specific type of camera or device that created the image, timestamp, and other info, and its all quite easily viewable.).

        Nerds use these apps more than most, so their reviews tend to go into some detail. There are certainly apps available that are easy to use on your device. Obviously don’t use an online service for this, either.

        • @zeppo
          link
          English
          3
          edit-2
          1 year ago

          I load an image into Gimp, scale it to a smaller size and export it with EXIF and XMP removed. Make sense also since devices these days create 3200x3200 images which is unnecessarily large for uploading.

        • Chozo
          link
          fedilink
          11 year ago

          Thanks! I’m gonna need to check these apps out, will be useful to keep on hand.

  • @j4k3
    link
    English
    161 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
      link
      fedilink
      English
      91 year ago

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

      • @j4k3
        link
        English
        61 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
          link
          fedilink
          English
          21 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
            link
            English
            11 year ago

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

            • JackbyDev
              link
              fedilink
              English
              21 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.

  • Alec
    link
    fedilink
    English
    111 year ago

    Yes, and it even causes issues with rotation. 😅

      • Joe B
        link
        31 year ago

        Hehe he probably doesn’t even know who Ja Rule is!

    • AnonymousLlama
      link
      fedilink
      21 year ago

      I’ll have a look at this when I get a sec. I know the images are re-processed on upload (and cropped etc) so I assume no useful data is preserved in that process. Good to confirm tho

      • rideranton
        link
        fedilink
        5
        edit-2
        1 year ago

        Looking in ImageRepository.php it doesn’t appear that images have their extra data stripped. Also testing it on my dev instance showed that GPS data remained in the image. Should be an easy fix since all image uploads are processed through that repository.

        Edit: In fact there’s already an issue open for it - https://codeberg.org/Kbin/kbin-core/issues/374

        • AnonymousLlama
          link
          fedilink
          21 year ago

          Great. Hopefully we can get that fix in soon. Better to not even have that data, there’s no point in keeping it.

  • @zeppo
    link
    English
    41 year ago

    You could check by downloading a bunch of photos and looking at the exif data, I suppose. Someone said the other day it isn’t, which would be definitely a problem. It’s also possible a specific instance could not strip it, which is worth checking for your own photos. I noticed that photos seem to retain the original filename which is not optimal.