Code Monkey home page Code Monkey logo

png-to-ico's People

Contributors

drabspirit avatar foxp avatar wheresmytyphone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

png-to-ico's Issues

I made an icon

The program uses an icon from shell32.dll for the context menu, which is fine. For the Chocolatey Community Repository, I made a free alternative icon, inspired by Microsoft's icon. Feel free to copy it to your repo. Perhaps you can use it as a favicon for the GitHub pages.

As of writing, my package has not been accepted. There is a very long queue.

I don't think it's explicitly disallowed to use not-technically-official-icons for community packages, but, I think it's reasonable. If you or the choco admins, however, disapprove, then I will remove the icon from the package.

It's silly that a program named PNG to ICO doesn't have its own icon!

Icon: https://github.com/virginviolet/chocolatey-packages/tree/main/manual/png-to-ico.install/icon
Chocolatey package: https://community.chocolatey.org/packages/png-to-ico.install

The installer does not ask where to install

Dear @FoxP,

Thanks for your project.

I have a problem, the installer does not ask where I would like to install.
I can not to install in default software folder -> Program Files for example.
Can you create a good install which permit to select where to install and by default in Program Files ?

Thanks in advance.

Scaling with Photoshop produces better results

Photoshop has the scaling option "Bicubic Sharper (reduction)", which produces less blurry, more legible images, compared to PNG to ICO. It's more noticable the smaller the image, and on 16x16, it can make a huge difference.

Here are two comparisons

Comparison screenshots

Open in different tabs or something to compare.

PNG to ICO:

Java (PNG to ICO)

Bicubic Sharper:

Java (PBicubic Sharper)

PNG to ICO:

Woman (PNG to ICO)

Bicubic Sharper:

Woman (Bicubic Sharper)

In the Java image, at 256x256, it's actually much sharper than the original image. So, I guess it comes at the cost of authenticity, and it might get oversharpened in some cases. But at lower resolutions, the sharpening is needed. Icons should be legible. There have been cases where I've manually sharpened a photo to a sweet spot in Photoshop, saved it at 256x256, looked fine, then converted with PNG to ICO, and it became way too blurry at lower resolutions.

Image Magick does not have Bicubic Sharper. I tried Lanczos and Box, hardly any difference. But a developer named Jason Summers has managed to imitate Bicubic Sharper rather faithfully with Image Magick. See Notes on Photoshop’s image resize algorithms.
I removed the crop parts of the command (because I did not have time to figure that out), and changed convert to magick (IM says convert is depricated), and the result is barely indistinguishable from Photoshop!

Screenshot

Bicubic Sharper imitation

Java (Bicubic Sharper imitation)

I don't know why that last picture is 256x255. The command prompt says I entered 256x256.

A compromise could be to sharpen at resolutions 128x128 (or 96x96) and below, but use normal resizing on the higher resolutions. I have done it like that one or two times when scaling manually with Photoshop, when I wanted authenticity.

Here are the original pictures:

Download URL

https://drive.google.com/file/d/1PyA9RvyP6e6pK-LkbkVkEIVDW8omRQQX/view

(The Java image is public domain, the woman is free to use under the Unsplash license, published by the user see plus.)

Hide CMD window when converting image

I'm pretty new to Github so I'm sorry if this is not where to add suggestions. I think it'd be a good idea to add the option to hide the CMD window that appears when converting the images. It takes your focus out of the file explorer and it takes a second, would be more convenient not to have it appear in the first place.

I've used it a lot and it's of great help though, so thank you! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.