Mass PNG to JPG on Windows 🚀

November 11, 2018

1 min read.

Introduction

Transforming a huge amount of PNGs to JPGs at the same time while working on windows can be tough, especially if you are using some sort of online web based converter that makes you wait a lot, and makes the screen go crazy with advertisements. Well there is a way for windows users to make this process easy and fun (actually transforming images is never fun but eh).

Package what?

A package manager or package management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer's operating system in a consistent manner. A package manager deals with packages, distributions of software and data in archive files. Packages contain metadata, such as the software's name, description of its purpose, version number, vendor, checksum, and a list of dependencies necessary for the software to run properly.

Chocolatey

Chocolatey is a software management solution for Windows. It focuses on simplicity, security, scalability and lets you install software right from your CMD 🚀

Installing choco

https://chocolatey.org/install

Now install imagemagick

choco install imagemagick

Now convert files

magick mogrify -format jpg *.png && del *.png

The following command looks for all PNGs in the current directory, creates copies that are JPEGs and then deletes the old PNGs. That's all folks, I wanted this to be a small article.

Go back.