Skip to content

Codepolice

  • ⤫

Batch Optimize Png, Jpg, and Gif images in Windows (and Visual Studio)

Posted by Judy Alvarez Posted on February 28, 2022March 3, 2022
0

A couple of days ago I found an awesome extension to Visual Studio that lets you just right-click a folder in VS and it will optimize all the images in it with the help of SmushIt and PunyPng. I have tried to find a tool like this for a long time but haven’t found anything that suits my need. I also wanted this functionality in Windows outside of Visual Studio so I downloaded the code and made an extremely simple command prompt application for it. It would, of course, be even better if you could just right-click a folder in Windows to run it but I’m a lazy person and this works for me.

Just run BatchOptimzeImage.exe <foldername> and it will optimize all the images in that folder. I won’t give so much more instructions than this. And again .. ALL credits go to Mads Kristensen for this one. I just wanted to put this out there so you don’t have to spend the hour I spent to make a console app out of it.

Categories: JavascriptTagged: .net core mvc upload file, .net core mvc vs .net framework mvc, .net mvc angular, .net mvc dropdownlist, .net mvc file upload, asp net core mvc login and registration without identity, asp net mvc 4 runtime, asp net mvc 5 tutorial pdf, asp net mvc authentication and authorization, asp net mvc checkbox list, asp net mvc code generator, asp net mvc default page, asp net mvc nuget, asp net mvc report builder, asp net mvc reporting, asp net mvc security best practices, asp net mvc single page application, asp net mvc ui, essential docker for asp net core mvc, learn .net mvc, mvc tutorial .net, net core 5 mvc, net mvc 4, net mvc form, pro asp net mvc 4, pro asp net mvc 4 pdf, push notification in asp net mvc, using angular with asp net mvc, view in asp net mvc, www asp net mvc

Post navigation

Previous Previous post: Copy a folder with Robocopy
Next Next post: Automatically switch spell check language/dictionary as you type in Firefox

Related Posts

  • What’s next for JavaScript frameworks in 2026

    #​770 — January 27, 2026 Read on the Web JavaScript Weekly Introducing LibPDF: PDF Parsing and Generation from TypeScript — LibPDF bills itself as ‘the PDF library TypeScript deserves’ and supports parsing, modifying, signing and generating PDFs with a modern API in Node, Bun, and the browser. GitHub repo. Documenso JavaScript Frameworks – Heading into 2026

    Posted by Posted on January 27, 2026
    0
  • require(esm) now stable in Node 25

    #​608 — January 22, 2026 Read on the Web Node.js 25.4.0 (Current) Released — Another gradual step forward for Node with require(esm) now marked as stable, as well as the module compile cache, along with a variety of other minor tweaks. Joyee Cheung of the Node team has written a thread on Bluesky going deeper

    Posted by Posted on January 22, 2026
    0
  • A big week for jQuery

    #​769 — January 20, 2026 Read on the Web JavaScript Weekly jQuery 4.0 Released — 20 years on from its original release, the ever-popular (in terms of actual usage) library reaches 4.0 with a migration to ES modules (compatible with modern build tools) along with dropping support for IE 10 and older. With jQuery being

    Posted by Posted on January 20, 2026
    0
  • A new guide to configuring Node packages

    #​607 — January 15, 2026 Read on the Web ⚠️ The Node.js January 13, 2026 Security Releases — Originally expected in December, these releases (of Node.js 25.3.0, 24.13.0, 22.22.0, and 20.20.0) finally landed this week, largely due to their complexity and the scope of the vulnerabilities they tackle. More on that in the next item! The Node.js

    Posted by Posted on January 15, 2026
    0
  • Can we ever fix the web dependency mess?

    #​768 — January 13, 2026 Read on the Web JavaScript Weekly Web Dependencies are Broken; Can We Fix Them? — Lea, who has worked at the heart of Web Standards for years, delivers a compelling (and educational) call to action about a problem every JavaScript developer has encountered: why is managing dependencies and introducing them

    Posted by Posted on January 13, 2026
    0
  • The story of how require(esm) became stable

    #​606 — January 8, 2026 Read on the Web 🎉 Happy New Year! Also, a quick reminder that Node Weekly is now sent every Thursday as part of a reshuffle for many of our newsletters. __Your editor, Peter Cooper npm to Implement ‘Staged Publishing’ After Turbulent Shift Off Classic Tokens — 2025 was a tricky year

    Posted by Posted on January 8, 2026
    0
Judy Alvarez

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • What’s next for JavaScript frameworks in 2026
  • require(esm) now stable in Node 25
  • A big week for jQuery
  • A new guide to configuring Node packages
  • Can we ever fix the web dependency mess?
https://flatlogic.com/generator
COPYRIGHT © 2026 - Codepolice