Downloads:
59
Downloads of v 1.1.0:
59
Last Update:
24 Jul 2024
Package Maintainer(s):
Software Author(s):
- Paul Renard
Tags:
png-to-ico ico icon convert conversion- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
png-to-ico (Install)
- 1
- 2
- 3
1.1.0 | Updated: 24 Jul 2024
- Software Specific:
- Software Site
- Software Source
- Software License
- Software Docs
- Software Issues
- Package Specific:
- Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
59
Downloads of v 1.1.0:
59
Maintainer(s):
Software Author(s):
- Paul Renard
png-to-ico (Install) 1.1.0
Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Paul Renard. The inclusion of Paul Renard trademark(s), if any, upon this webpage is solely to identify Paul Renard goods or services and not for commercial purposes.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Deployment Method: Individual Install, Upgrade, & Uninstall
To install png-to-ico (Install), run the following command from the command line or from PowerShell:
To upgrade png-to-ico (Install), run the following command from the command line or from PowerShell:
To uninstall png-to-ico (Install), run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download png-to-ico.install --internalize --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade png-to-ico.install -y --source="'INTERNAL REPO URL'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade png-to-ico.install -y --source="'INTERNAL REPO URL'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install png-to-ico.install
win_chocolatey:
name: png-to-ico.install
version: '1.1.0'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'png-to-ico.install' do
action :install
source 'INTERNAL REPO URL'
version '1.1.0'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller png-to-ico.install
{
Name = "png-to-ico.install"
Version = "1.1.0"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'png-to-ico.install':
ensure => '1.1.0',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
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.
This package was approved by moderator flcdrg on 02 Sep 2024.
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
.
$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
}
}
$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)"}
}
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>
md5: 3CCC04F039E67284DA9CF1260CE9F8A9 | sha1: 964BCBE32DFB970FB3A12605C9F402938C345B72 | sha256: F86EECEE236CF5E1DDCDD61688334D911394746B9657D6C93546247807716CC5 | sha512: 95A0741A8FD6A979E7103BA375B9477A1036F5DC16514D1AC457A3FCF629BE5D8BBAB89C7DE24A28B140F4E72D333788EF6EE63E239B67ACD306822543C7EDE3
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.
- png_to_ico_setup.exe (f86eecee236c) - ## / 74
- png-to-ico.install.1.1.0.nupkg (eebe6668dee1) - ## / 68
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.
Public domain
- Fix stretching of non-square icons
- Update ImageMagick to v7.1.1-31 Q16 HDRI x64
This package has no dependencies.
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.