Notices: This section not yet converted to new layout. Download stats are rolling back out.

OptiPNG: Advanced PNG Optimizer


Package test results are passing.

This package was approved as a trusted package on 7/26/2019.

OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information. This program also converts external formats (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks and corrections.


  • Please uninstall any versions prior to version 0.7.6, otherwise you may experience problems with multiple optipng.exe file being available.

To install OptiPNG: Advanced PNG Optimizer, run the following command from the command line or from PowerShell:

C:\> choco install optipng

To upgrade OptiPNG: Advanced PNG Optimizer, run the following command from the command line or from PowerShell:

C:\> choco upgrade optipng


  • legal\LICENSE.txt Show
    Copyright (C) 2001-2016 Cosmin Truta and the Contributing Authors.
    For the purpose of copyright and licensing, the list of Contributing
    Authors is available in the accompanying AUTHORS file.
    This software is provided 'as-is', without any express or implied
    warranty.  In no event will the author(s) be held liable for any damages
    arising from the use of this software.
    Permission is granted to anyone to use this software for any purpose,
    including commercial applications, and to alter it and redistribute it
    freely, subject to the following restrictions:
    1. The origin of this software must not be misrepresented; you must not
       claim that you wrote the original software.  If you use this software
       in a product, an acknowledgment in the product documentation would be
       appreciated but is not required.
    2. Altered source versions must be plainly marked as such, and must not
       be misrepresented as being the original software.
    3. This notice may not be removed or altered from any source distribution.
  • legal\VERIFICATION.txt Show
    Verification is intended to assist the Chocolatey moderators and community
    in verifying that this package's contents are trustworthy.
    The embedded software have been downloaded from the listed download
    location on <>
    and can be verified by doing the following:
    1. Download the following <>
    2. Get the checksum using one of the following methods:
      - Using powershell function 'Get-FileHash'
      - Use chocolatey utility 'checksum.exe'
    3. The checksums should match the following:
      checksum type: sha256
      checksum: 287700CF86BB0B1B4C2BE54F98F3EBFA121FD47FB38C97CD310A212CB6D441D9
    The file 'LICENSE.txt' has been obtained from <>
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    $toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    if (Test-Path "$toolsPath\optipng-*win32") {
      # Remove the directory from a previous installation
      Remove-Item -Force -Recurse -ea 0 "$toolsPath\optipng-*win32"
    $packageArgs = @{
      packageName    = $env:ChocolateyPackageName
      fileType       = 'zip'
      file           = "$toolsPath\"
      destination    = $toolsPath
    Get-ChocolateyUnzip @packageArgs
    Remove-Item -Force -ea 0 $packageArgs.file
  • tools\ Show
    md5: BFABA1548AE5B52F2ACB1D6800DCD936 | sha1: 2A1484D27BF63C7A15C3494EEA95A2C804F5BDBC | sha256: 287700CF86BB0B1B4C2BE54F98F3EBFA121FD47FB38C97CD310A212CB6D441D9 | sha512: DEA0EF2E7DD739BB72AE90A0F478A83DDEB75A27FFF50A160BC770D378AF28B66C9053C748528C30B526DA432D8B2A0343FD054990DEEE26856ED40A5D471843

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • Cosmin Truta


Cosmin Truta 2001-2012


Release Notes

Software Changelog
Package Changelog

Version History

Version Downloads Last updated Status
OptiPNG: Advanced PNG Optimizer 0.7.6 1271 Tuesday, July 18, 2017 approved
OptiPNG: Advanced PNG Optimizer 4403 Saturday, October 4, 2014 approved
OptiPNG : Advanced PNG Optimizer 0.7.5 2145 Tuesday, March 25, 2014  
OptiPNG : Advanced PNG Optimizer 0.7.4 2153 Tuesday, September 10, 2013  
OptiPNG : Advanced PNG Optimizer 4346 Thursday, September 13, 2012  
OptiPNG : Advanced PNG Optimizer 0.7.1 723 Thursday, September 13, 2012  

Discussion for the OptiPNG: Advanced PNG Optimizer Package

Ground rules:

  • This discussion is only about OptiPNG: Advanced PNG Optimizer and the OptiPNG: Advanced PNG Optimizer package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or OptiPNG: Advanced PNG Optimizer, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.