• T156@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    18 days ago

    FFmpeg and handbrake do the latter two quite handily. The latter even has a nice program interface, rather than needing commands.

    ImageMagick is capable of the first. I’ve had it go the other way before, and I should be most surprised if it couldn’t convert a PDF to a jpg.

    • Ulrich@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      8
      ·
      18 days ago

      I don’t have the knowledge or the time to learn to use these tools.

          • Captain Aggravated@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            18 days ago

            Let me tell you a little bit about all those various file converter tools, be it ffmpeg, pandoc, imagemagick, whatever.

            The majority of them can be used like this: magick inputfile.bmp outputfile.jpg. If all you need is this file in that format, that’s how you do it. They’re ridicluously capable, you can do editing and compositing and such with them and whatever. If you have a use case where you do that a lot, like you just always put a watermark on images or you always desaturate them or whatever, you can write a script, then just run that script.

            They’re basically all like that. Fairly simple to use for basic format translation, shockingly capable if you want to write a script.

      • sugar_in_your_tea@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        ·
        18 days ago

        Handbrake has a GUI, and it’s relatively straightforward to use. VLC also works well. You can also use ffmpeg on the CLI like so:

        ffmpeg -i input_video.mp4 output_video.avi
        

        imagemagick isn’t really that hard, in most cases it’s:

        convert <file1> <file2>
        

        For example:

        convert file.pdf file.jpg
        

        If that doesn’t work, try pdftoppm:

        pdftoppm input.pdf outputname -png
        

        I don’t know of a good GUI for it, I recommend just learning to use either imagemagick or pdftoppm.

        • Ulrich@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          11
          ·
          18 days ago

          Handbrake has a GUI, and it’s relatively straightforward to use

          I downloaded it and it immediately did not work so I’m gonna have to disagree with you there, champ.

          You can also use ffmpeg on the CLI like so:

          I’ve lost far too many hours to the CLI. I don’t fall for that trick anymore.

          • sugar_in_your_tea@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            7
            arrow-down
            2
            ·
            18 days ago

            You do you, I guess. Those are incredibly simple commands I provided, and you can intuit pretty easily how to tweak them for other formats.

            I guess it’s up to you. You can gamble with random services online, or you can spend a few minutes and learn to use a tool that’s all but guaranteed to not have malware.

            • Ulrich@feddit.org
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              10
              ·
              edit-2
              18 days ago

              or you can spend a few minutes

              This is just a fucking lie and I’m tired of hearing it. What did I just say?

              I’ve lost far too many hours to the CLI.

              I’ve tried to learn this shit. It’s a fucking rabbit hole. I type these commands, letter for letter, the terminal returns some completely useless error that provides me with no diagnostic information whatsoever, I spend hours searching and trying to understand why and come up empty-handed. I don’t have time for that anymore. I already have multiple jobs. It’s not how I prefer to spend my free time. And frankly, I don’t believe it anymore when software engineers feed me this bullshit.

              You know what those web services do? I just click a button and it does what the button says. Why is that so hard?

              • sugar_in_your_tea@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                6
                ·
                18 days ago

                You know what those web services do? I just click a button and it does what the button says. Why is that so hard?

                There’s also a pretty big chance that they’ll do more than what the button says, like inject malware. That’s the whole point of the article.

                • Ulrich@feddit.org
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  arrow-down
                  5
                  ·
                  18 days ago

                  I understand that but that’s beside the point. It does what they advertise. It’s incredibly simple and easy to use. Why can no one make something comparable that’s FOSS?

                  • sugar_in_your_tea@sh.itjust.works
                    link
                    fedilink
                    English
                    arrow-up
                    4
                    ·
                    18 days ago

                    They did, it’s often a CLI interface because it’s incredibly flexible. ffmpeg and imagemagick are quite easy for basic things.

                    Building a cross-platform GUI is a pain, and hosting a website costs money. Building a cross-platform CLI is incredibly easy, which is why it’s so popular.

                    Some of these tools have GUI frontends or alternatives, some don’t. The more niche you go, the harder it’ll be to find a reasonable GUI, and I consider PDF to JPEG pretty niche.