Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

22

Downloads of v 1.1.0:

22

Last Update:

24 Jul 2024

Published Date:

24 Jul 2024

Reviewed Date:

19 Jul 2024

Reviewer:

gravatar

Package Maintainer(s):

Software Author(s):

  • Paul Renard

Tags:

png-to-ico ico icon convert conversion

png-to-ico (Install)

(Ready for review)

  • 1
  • 2
  • 3

1.1.0 | Updated: 24 Jul 2024

Downloads:

22

Downloads of v 1.1.0:

22

Published:

24 Jul 2024

Reviewed:

19 Jul 2024

Reviewer:

gravatar

Maintainer(s):

Software Author(s):

  • Paul Renard

png-to-ico (Install) 1.1.0

(Ready for review)
  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged as a Warning:

At least one file within this package has between 5 and 10 detections

Details
NOTE

This package is likely a meta/virtual (*) or an installer (*.install) or portable (*.portable) application package.

  • Meta/virtual (*) - has a dependency on the *.install or the *.portable package - it is provided for discoverability and for other packages to take a dependency on.
  • Portable (*.portable/*.commandline (deprecated naming convention)/*.tool (deprecated naming convention)) - usually zips or archives that require no administrative access to install.
  • Install (*.install/*.app (deprecated naming convention)) - uses native installers, usually requires administrative access to install.

Learn more about chocolatey's distinction of installed versus portable apps and/or learn about this kind of package.

IMPORTANT

This version is in moderation and has not yet been approved. This means it doesn't show up under normal search.

  • Until approved, you should consider this package version unsafe - it could do very bad things to your system (it probably doesn't but you have been warned, that's why we have moderation).
  • This package version can change wildly over the course of moderation until it is approved. If you install it and it later has changes to this version, you will be out of sync with any changes that have been made to the package. Until approved, you should consider that this package version doesn't even exist.
  • You cannot install this package under normal scenarios. See How to install package version under moderation for more information.
  • There are also no guarantees that it will be approved.
WARNING

There are versions of this package awaiting moderation (possibly just this one). See the Version History section below.

virginviolet (maintainer) on 17 Jul 2024 03:42:38 +00:00:

User 'virginviolet' (maintainer) submitted package.

chocolatey-ops (reviewer) on 17 Jul 2024 04:14:23 +00:00:

png-to-ico.install has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • Binary files (.exe, .msi, .zip) have been included. The reviewer will ensure the maintainers have distribution rights. More...

chocolatey-ops (reviewer) on 17 Jul 2024 04:36:13 +00:00:

png-to-ico.install has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/303f934fbcfc93d28f53bbbe25d03f39 for details.
This is an FYI only. There is no action you need to take.

chocolatey-ops (reviewer) on 17 Jul 2024 05:46:19 +00:00:

png-to-ico.install has been flagged as part of automated virus scanning.
Package virus scanning found that at least 1 file within, or downloaded by, the package has between 1 and 5 VirusTotal detections associated with it.
This is not enough detections to prevent the approval of this package version.

jpruskin (reviewer) on 19 Jul 2024 10:25:45 +00:00:

You've got some comments at the top of your install script that start with # IMPORTANT: Before releasing this package. I'm not saying you need to run them exactly, but I'd suggest removing them.

Also, is there a specific reason you're closing setup/uninstall processes in the beforeModify? Have you seen that being a problem for this software?

virginviolet (maintainer) on 19 Jul 2024 20:18:41 +00:00:

User 'virginviolet' (maintainer) submitted package.

virginviolet (maintainer) on 19 Jul 2024 20:19:24 +00:00:

Hi!
Thank you for reviewing.

How silly of me to have removed every comment but the comment that says to remove comments. That powershell code to remove comments didn't work for me for whatever reason, so I removed the comments manually. I got rid of those lines now.
The docs doesn't really go over how to update a submitted package (at least not what I found), but I think I'm supposed to just choco push again.

No, there isn't really a reason for closing the setup process in beforeModify. I saw it as an edge case where someone might run the setup while a setup is already running. I'm new to this, and to powershell as well, so I wanted to experiment and I saw no harm in adding that pice of code. But I can remove those lines, or that whole file, if you think it'd be better.

I guess I should say that the icon I used isn't strictly an official icon. The program uses a icon from %system32%/shell32.dll for the context menu entry, which is not free. So I created a free alternative, similar looking icon, basically from scratch (I used a public domain svg for the arrows). And it's so simple and generic that I'd say it's probably in the open domain.
Here is a screenshot showing the original icon.
image

I mentioned it to the author yesterday in an issue: https://github.com/FoxP/PNG-to-ICO/issues/14

I'm thinking the icon I added could still be useful in helping people identify the program, and also less boring.

chocolatey-ops (reviewer) on 19 Jul 2024 20:50:25 +00:00:

png-to-ico.install has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • Binary files (.exe, .msi, .zip) have been included. The reviewer will ensure the maintainers have distribution rights. More...

chocolatey-ops (reviewer) on 19 Jul 2024 21:27:16 +00:00:

png-to-ico.install has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/8cac394da73df73b2912dd18995924e4 for details.
This is an FYI only. There is no action you need to take.

chocolatey-ops (reviewer) on 19 Jul 2024 21:38:58 +00:00:

png-to-ico.install has been flagged as part of automated virus scanning.
Package virus scanning found that at least 1 file within, or downloaded by, the package has between 1 and 5 VirusTotal detections associated with it.
This is not enough detections to prevent the approval of this package version.

virginviolet (maintainer) on 22 Jul 2024 21:52:34 +00:00:

User 'virginviolet' (maintainer) submitted package.

virginviolet (maintainer) on 22 Jul 2024 21:53:41 +00:00:

Fixed typo in VERIFICATION.txt.

chocolatey-ops (reviewer) on 22 Jul 2024 22:25:08 +00:00:

png-to-ico.install has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • Binary files (.exe, .msi, .zip) have been included. The reviewer will ensure the maintainers have distribution rights. More...

chocolatey-ops (reviewer) on 22 Jul 2024 22:35:53 +00:00:

png-to-ico.install has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/3ae2711ff70d57d4c60ef1826710d348 for details.
This is an FYI only. There is no action you need to take.

chocolatey-ops (reviewer) on 22 Jul 2024 22:49:05 +00:00:

png-to-ico.install has been flagged as part of automated virus scanning.
Package virus scanning found that at least 1 file within, or downloaded by, the package has between 1 and 5 VirusTotal detections associated with it.
This is not enough detections to prevent the approval of this package version.

virginviolet (maintainer) on 24 Jul 2024 12:09:32 +00:00:

User 'virginviolet' (maintainer) submitted package.

chocolatey-ops (reviewer) on 24 Jul 2024 12:45:00 +00:00:

png-to-ico.install has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.

Notes

Notes typically flag things for both you and the reviewer to go over. Sometimes this is the use of things that may or may not be necessary given the constraints of what you are trying to do and/or are harder for automation to flag for other reasons. Items found in Notes might be Requirements depending on the context. A package version can be approved without addressing Note comments.

  • Binary files (.exe, .msi, .zip) have been included. The reviewer will ensure the maintainers have distribution rights. More...

chocolatey-ops (reviewer) on 24 Jul 2024 12:57:19 +00:00:

png-to-ico.install has passed automated package testing (verification). The next step in the process is package scanning.
Please visit https://gist.github.com/choco-bot/e977c78899cfe1ecb855de7532c4538b for details.
This is an FYI only. There is no action you need to take.

chocolatey-ops (reviewer) on 24 Jul 2024 13:31:19 +00:00:

png-to-ico.install has been flagged as part of automated virus scanning.
Package virus scanning found that at least 1 file within, or downloaded by, the package has between 6 and 10 VirusTotal detections associated with it.
This package version cannot be approved without an exemption from a Moderator.

Description

A program that converts images from PNG, GIF, BMP, SVG or JPG to multi-resolution ICO files, and is run simply by right-clicking on an image and selecting "PNG to ICO". You can batch convert many images by selecting them before right clicking, or run the program on a folder with images.

The default installation directory is %AppData%\PNG-to-ICO.


tools\chocolateybeforemodify.ps1
$ErrorActionPreference = 'Continue'

# Let's close the .bat file if it is running (edge case, unconfirmed if it would actually
# interfere with installation)

# Name or path of .bat file to terminate
$targetBatFile = "png_to_ico.bat"

# Get all cmd processes
$cmdProcesses = Get-WmiObject -Query "SELECT * FROM Win32_Process WHERE Name = 'cmd.exe'" -ea 0

foreach ($process in $cmdProcesses) {
    # Get the command line arguments of the process
    $commandLine = $process.CommandLine

    # Check if the command line contains the target .bat file
    if ($commandLine -like "*$targetBatFile*") {
        Write-Host "Terminating process $($process.ProcessId) running $targetBatFile"
        # Terminate the process
        Stop-Process -Id $process.ProcessId -Force -ea 0
    }
}
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'
$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = Join-Path $toolsDir 'png_to_ico_setup.exe'
$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  unzipLocation = $toolsDir
  fileType      = 'EXE'
  file64         = $fileLocation

  softwareName  = 'png-to-ico'

  checksum64    = 'F86EECEE236CF5E1DDCDD61688334D911394746B9657D6C93546247807716CC5'
  checksumType64= 'sha256'

  silentArgs    = '/S'
  validExitCodes= @(0)
}

Install-ChocolateyInstallPackage @packageArgs
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  softwareName  = 'PNG-to-ICO'
  fileType      = 'EXE'
  silentArgs   = '/S'
  validExitCodes= @(0)
}

[array]$key = Get-UninstallRegistryKey -SoftwareName $packageArgs['softwareName']

if ($key.Count -eq 1) {
  $key | % {
    $packageArgs['file'] = "$($_.UninstallString.Trim('"'))"
    $packageArgs['silentArgs'] = "$($_.PSChildName) $($packageArgs['silentArgs'])"

Uninstall-ChocolateyPackage @packageArgs
  }
} elseif ($key.Count -eq 0) {
  Write-Warning "$packageName has already been uninstalled by other means."
} elseif ($key.Count -gt 1) {
  Write-Warning "$($key.Count) matches found!"
  Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
  Write-Warning "Please alert package maintainer the following keys were matched:"
  $key | % {Write-Warning "- $($_.DisplayName)"}
}
tools\LICENSE.txt
From: https://github.com/FoxP/PNG-to-ICO/blob/master/LICENSE

LICENSE

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <http://unlicense.org>
tools\png_to_ico_setup.exe
md5: 3CCC04F039E67284DA9CF1260CE9F8A9 | sha1: 964BCBE32DFB970FB3A12605C9F402938C345B72 | sha256: F86EECEE236CF5E1DDCDD61688334D911394746B9657D6C93546247807716CC5 | sha512: 95A0741A8FD6A979E7103BA375B9477A1036F5DC16514D1AC457A3FCF629BE5D8BBAB89C7DE24A28B140F4E72D333788EF6EE63E239B67ACD306822543C7EDE3
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The installer has been downloaded from the official GitHub repository <https://github.com/FoxP/PNG-to-ICO/releases>
and can be verified like this:

1. Download the following installer:
<https://github.com/FoxP/PNG-to-ICO/releases/download/v1.1/png_to_ico_setup.exe>
2. You can use one of the following methods to obtain checksums:
  - Use powershell function 'Get-Filehash'
  - Use chocolatey utility 'checksum.exe'
  
  checksum type: sha256
  checksum64: F86EECEE236CF5E1DDCDD61688334D911394746B9657D6C93546247807716CC5

3. Obtain the checksum of both the installer you downloaded in step 1, and of the installer that came with this package (in the same folder as VERIFICATION.txt). If they have the same hash, you have successfully verified this package.
4. You can also have a look at the scripts, chocolateybeforemodify.ps1, chocolateyinstall.ps1 and chocolateyuninstall.ps1. Open a file in a text editor or IDE and see if it looks clean. If you want to learn more about this, check out the Chocolatey docs on creating packages <https://docs.chocolatey.org/en-us/create/create-packages/>

The license in 'LICENSE.txt' is obtained from <https://github.com/FoxP/PNG-to-ICO/blob/master/LICENSE>

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
png-to-ico (Install) 1.1.0 22 Wednesday, July 24, 2024 Ready

  • Fix stretching of non-square icons
  • Update ImageMagick to v7.1.1-31 Q16 HDRI x64

This package has no dependencies.

Discussion for the png-to-ico (Install) Package

Ground Rules:

  • This discussion is only about png-to-ico (Install) and the png-to-ico (Install) 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 png-to-ico (Install), 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