Or, grab a free image editor (https://www.getpaint.net/ is popular for Windows), open in one format, save in the other.
I have optimage and imageoptim on MacOS too and they are good enough at this point.
That’s why. And also because sometimes it just works. I’ve done some packet-level work recently and wanted to decode text. The tools I’ve used were some online converters, not iconv or base64. Because experimenting with their modes adds mental overhead even if I more or less can use them without man. Choosing from-to and pasting text into a textbox takes no brain capacity.
25+ years ago, when internet wasn’t very accessible, there were multiple simple windows apps to do small things like this. Now they are online, but open source and new apps world in general never figured out that users still need it - simple, discoverable, easy to use tools. I’m not gonna scroll through pages of magick options and (in case it just works based on .ext, which I also should re-figure out from the lack of such option) try to remember if there’s -i and -o required for input and output.
It is in modern operating systems. Maybe not Windows, but modern operating systems like macOS have it built in.
You can do it a number of ways, including using Automator, Preview, or even access it from the Finder. I did it about 30 times today.
Select file > right click > Quick Service > Convert
The most comprehensive solution is to download imagemagick.