• zen!th@lemmy.worldEnglish
    94·
    4 months ago

    what about recreating the image pixel by pixel from scratch?

      • thisbenzingring@lemmy.sdf.org
        211·
        4 months ago

        that would be renaming the file extension but keeping the same format opening it up in an app that breaks it totally, then saving that and sharing it with a Windows user and spending an hour with them trying to make it work because they have to see it!!!

        • Natanael@infosec.pub
          10·
          4 months ago

          You’ll quickly learn which software trusts extensions and which uses MIME type detection

          • PennyJim@lemmy.worldEnglish
            1·
            3 months ago

            I still laugh at learning that some random files in my friends Factorio mod were misnamed when Factorio changed the library they used in 2.0

      • somenonewho@feddit.org
        10·
        4 months ago

        You know who used to do that? Microsoft Teams. I would take photos with my phone and upload them via Teams, Teams would display them just fine but saving them teams would name them .png (even though they were jpeg) and I couldn’t open them with the gnome image viewer (this is also how I found out that the image viewer prioritizes extension over magic byte (which seems stupid to me).

    • communism@lemmy.ml
      18·
      4 months ago

      That’s not on the chart because it doesn’t convert it. It only renames it. A JPEG ending with .png is still a JPEG

      • x00z@lemmy.worldEnglish
        33·
        4 months ago

        That’s what the mimetype cult wants you to believe.

      • blind3rdeye@lemm.ee
        52·
        4 months ago

        One could argue that they have converted it, but it was done poorly.

        In a similar sense, the screenshots and phone photos are not conversions. They are entirely new images.

        • communism@lemmy.ml
          2·
          4 months ago

          I would say that’s not comparable. One process (screenshotting or taking a photo as PNG) results in a PNG as the output. The other process results in an image of the same format as the output. I guess at best you could make a philosophical argument as to what is ontologically a PNG: is it something that ends in .png, or is it a file that follows the PNG format? I think most people would say the latter, so if we say the definition of something is just a description of how it’s used, then the former process results in a PNG and the latter process does not.

          Also, how is screenshotting an “entirely new image” in a way that e.g. putting it into GIMP and exporting to PNG isn’t? That’s doing the same thing. You know there isn’t some “canonical” JPEG to PNG algorithm, right?

  • HelloRoot@lemy.lolEnglish
    49·
    4 months ago

    What’s always missing is nomacs - the best image viewing and light editing toolkit app on linux.

    Nobody ever mentions it. Why is that? Why? It supports all the formats. It has the best slideshow options. The UI is as minimal or as informative as you set it to be. WHYYYYYY DOES NOBODY TALK ABOUT IT??? Who paid you to be silenced?

    (and yes, it can convert the formats)


    https://nomacs.org/

    https://github.com/nomacs/nomacs

    • Metz@lemmy.worldEnglish
      27·
      4 months ago

      I used it for a long time years ago and it is indeed very great. But its only maintainer stopped around 2021/2022 because he got a new job or something along that line. As far i see he partially returned later but is still looking for more contributors. so the future of the project is not really secure. e.g. see https://github.com/nomacs/nomacs/issues/987

      So more eyes on Nomacs would be indeed good.

      • 56!@lemmy.ml
        12·
        4 months ago

        Doesn’t really seem like the sort of thing that needs regular updates though. Should keep working fine while Qt6 is available.

      • Kanda@reddthat.com
        10·
        4 months ago

        It’s so crazy to me that guy was unemployed and is spending his days making a high quality software product for free

    • Successful_Try543@feddit.org
      9·
      4 months ago

      For some reason it’s not included in Debian Bookworm (currently stable) and Bullseye. It previously was in Buster and will hopefully again be in Trixie (currently testing).

    • scrion@lemmy.world
      8·
      4 months ago

      I’m absolutely in the market for a new image viewer. One with a sensible gallery / (sub-) folder view.

      I’ll try nomacs out today.

    • LiveLM@lemmy.zipEnglish
      4·
      4 months ago

      This sounds pretty sweet and it’s indeed the first time I’ve ever heard about it so… keep spreading that word brother???

  • Emma Liv@lemmy.caEnglish
    31·
    4 months ago

    Mint has an “Action” for that, what does that make me?

  • Australis13@fedia.io
    17·
    4 months ago

    It’s missing the “take a screenshot on your mobile phone” (which drives me nuts when people do this instead of sending me the link or the original photo).

      • Scrollone@feddit.it
        2·
        4 months ago

        lol you triggered me hard

        But to be honest sometimes the Google app is bugged and it doesn’t let you save the image, no matter how many times you open the long-tap menu and tap on “Save image”. It makes me furious.

        • LiveLM@lemmy.zipEnglish
          2·
          4 months ago

          That’s a bug? I thought they had done it on purpose

          • Scrollone@feddit.it
            1·
            4 months ago

            Why would they have a “save image” button? Also, sometimes it works, sometimes it doesn’t.

    • Deebster@programming.dev
      7·
      4 months ago

      Look at bottom centre

      Edit: I’m getting upvotes but I’m not technically in the right here…

      • Famko@lemmy.world
        14·
        4 months ago

        Bottom centre is like taking another phone to photograph the one displayed on your phone.

        No wonder it’s pure evil.

      • Ihmes@lemmy.world
        1·
        4 months ago

        I unironically take “printscreens” with Lens (basically “scan”) from monitors of offline or limited connectivity computers.

        My pet peeves are cropping-by-Snipping-tool snapshots of photos, which take huge space as PNGs in picture-heavy documents.

  • x0x7@lemmy.world
    16·
    4 months ago

    I’m the ffmpeg guy. It’s the pandoc of binary media, except it actually does do everything.

    Hmmm. I need to write an PR for converting mardown to jpeg.

  • Blackmist@feddit.ukEnglish
    12·
    4 months ago

    Where does “just change the extension to .png” fit in this chart?

  • TurboWafflz@lemmy.world
    10·
    4 months ago

    I needed to crop a couple of images a few days ago and completely forgot about graphical editors. I spent like 10 minutes repeatedly using imagemagick with slightly tweaked parameters until I liked the crop

    • Klear@sh.itjust.works
      3·
      4 months ago

      I needed to do the same, but for 6500 images. Worked out great.

  • Treczoks@lemmy.world
    101·
    4 months ago

    For one or two images, I am true neutral. If it is a whole set, anything but lawful good would be stupid or Windows user level.

  • katy ✨@lemmy.blahaj.zone
    8·
    4 months ago

    download from chrome

    go into files

    select file

    press f2

    change webp to png

    die inside

    • Omega@discuss.online
      6·
      4 months ago

      people hate webp but the issue is more on windows and partially on Google

      Google killed jpegxl (webp but compatible) which would’ve made everything easy to work with, and Microsoft didn’t even bother adding webp as a format which is just crazy

  • silenium_dev@feddit.org
    8·
    4 months ago

    Decode the image with ffmpeg, pipe it to imagemagick and encode it again

  • finitebanjo@lemmy.world
    81·
    4 months ago

    Why is ffmpeg Chaotic? I use it for video edits sometimes, too. Like if you need to stack videos in rows and columns, FFMPEG is my go-to.

    • Kazumara@discuss.tchncs.de
      9·
      4 months ago

      Using the video tool for a single still image is a bit chaotic, but it’s still a tool made for the job so it’s good. Chaotic Good. Makes sense to me.

    • FauxLiving@lemmy.world
      3·
      4 months ago

      It’s a hugely powerful tool.

      However, as we all know, some people treat the terminal as if it is the very inky blackness, in which, writhes the tentacles of C’thulu itself.