png-to-ico - convert png to windows ico format

  •        264

When I work on an electron project, it's always a nightmare to create ico for windows. There're so many options out there like apps that make icon for you, photoshop plugin. But none of them satisfy me. I want a JavaScript module that works like the .NET ico tool, which automatically generate different sizes for ico file.Based on jimp: An image processing library written entirely in JavaScript for Node, with zero external or native dependencies. In other words, png-to-ico is written purely in JavaScript, which is great for windows user.

https://github.com/steambap/png-to-ico#readme

Dependencies:

jimp : ^0.2.28
meow : ^3.7.0

Tags
Implementation
License
Platform

   




Related Projects

image-size - Node module for detecting image dimensions

  •    TypeScript

NOTE: The asynchronous version doesn't work if the input is a Buffer. Use synchronous version instead. If the target file is an icon (.ico) or a cursor (.cur), the width and height will be the ones of the first found image.

imaginary - Fast, simple, stateless HTTP microservice for high-level image processing with first-class support for Docker & Heroku

  •    Go

Fast HTTP microservice written in Go for high-level image processing backed by bimg and libvips. imaginary can be used as private or public HTTP service for massive image processing with first-class support for Docker & Fly.io. It's almost dependency-free and only uses net/http native package without additional abstractions for better performance.

FlipExt

  •    CSharp

FlipExt is an easy to use image converter. It converts any image to .png .bmp .jpg .gif .tif .jpeg .tiff .ico. More extensions will be added soon.

grunt-favicons - Generate favicon.ico and icons for iOS, Android and WP8

  •    Javascript

Generates all known types and sizes icons from PNG image. Uses ImageMagick. Input: square logo in png. You can also keep near the source files with resolution prefix e.g. source.16x16.png.


Crunch - Insane(ly slow but wicked good) PNG image optimization

  •    Python

Crunch is a tool for lossy PNG image file optimization. It combines selective bit depth, color type, and color palette reduction with zopfli DEFLATE compression algorithm encoding using the pngquant and zopflipng PNG optimization tools. This approach leads to a significant file size gain relative to lossless approaches at the expense of a relatively modest decrease in image quality (see example images below). Historical benchmarks with the files included in Cédric Louvrier's PNG Test Corpus versus other commonly used PNG optimization software are available in BENCHMARKS.md.

ImageMagick

  •    C++

ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

bimg - Small Go package for fast high-level image processing powered by libvips C library

  •    Go

Small Go package for fast high-level image processing using libvips via C bindings, providing a simple programmatic API. bimg is able to output images as JPEG, PNG and WEBP formats, including transparent conversion across them.

libvips - A fast image processing library with low memory needs

  •    C

libvips is a demand-driven, horizontally threaded image processing library. Compared to similar libraries, libvips runs quickly and uses little memory. It has around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, colour, resampling, statistics and others.

UPNG.js - Fast and advanced PNG (APNG) decoder and encoder (lossy / lossless)

  •    Javascript

A small, fast and advanced PNG / APNG encoder and decoder. It is the main PNG engine for Photopea image editor. UPNG.js supports APNG and the interface expects "frames". Regular PNG is just a single-frame animation (single-item array).

Sharp - High performance Node.js image processing

  •    Javascript

The typical use case for this high speed Node.js module is to convert large images in common formats to smaller, web-friendly JPEG, PNG and WebP images of varying dimensions.Resizing an image is typically 4x-5x faster than using the quickest ImageMagick and GraphicsMagick settings.

CxImage

  •    C++

CxImage is a C++ image processing library. It can load, save, display, transform images in a very simple and fast way, with transparency, multiple layers and selections, support for BMP GIF JPG PNG MNG TIF ICO TGA PCX J2K JBG RAS PNM RAW PSD

Iconizer

  •    C++

Simple MS Windows GUI application to create and edit MS Windows Icon (.ico) files, including XP and Vista compatible icons. The source images can be loaded from PNG and BMP formats. PNG translucency is supported.

JPNG - JPNG is a bespoke image file format that combines the compression benefits of JPEG with the alpha channel support of a PNG file

  •    Objective-C

In iOS and Mac OS apps there is typically a choice of two image formats: PNG format allows transparency but produces large image files and is unsuited to compressing images like photographs; JPEG is great for creating small files and provides a range of compression qualities to suit the subject matter, but doesn't allow for transparency. JPNG is a new image format that combines the best of both of the other formats. JPNG is not really a format in its own right, it's a simple file wrapper that combines a JPEG and PNG image within the same file. JPEG is used to efficiently compress the RGB portion of the image and PNG is used to store the alpha channel.

pngquant - Command-line utility and a library for lossy compression of PNG images

  •    C

pngquant is a PNG compressor that significantly reduces file sizes by converting images to a more efficient 8-bit PNG format with alpha channel (often 60-80% smaller than 24/32-bit PNG files). Compressed images are fully standards-compliant and are supported by all web browsers and operating systems.

Invoke-PSImage - Embeds a PowerShell script in the pixels of a PNG file and generates a oneliner to execute

  •    PowerShell

Invoke-PSImage takes a PowerShell script and embeds the bytes of the script into the pixels of a PNG image. It generates a oneliner for executing either from a file of from the web (when the -Web flag is passed). The least significant 4 bits of 2 color values in each pixel are used to hold the payload. Image quality will suffer as a result, but it still looks decent. The image is saved as a PNG, and can be losslessly compressed without affecting the ability to execute the payload as the data is stored in the colors themselves. It can accept most image types as input, but output will always be a PNG because it needs to be lossless.

svgexport - SVG to PNG/JPEG command-line tool and Node.js module

  •    Javascript

svgexport is a Node.js module and command-line tool for exporting SVG files to PNG and JPEG, it uses PhantomJS for rendering SVG files. datafile can be an object, an array of objects or a JSON file path, see command line usage for its format.

Batch Image Converter

  •    

Batch Image Converter Features: 1. Convert multiple images. 2. Rename images while converting. 3. Resize images. Supported Formats: jpg png bmp gif

Smith Image Converter

  •    

An easy-to-use tool to convert images format. At present, it supports bmp, png and jpeg type conversion.

html2png

  •    DotNet

A simple command line HTML to PNG (JPEG) converter written in C# .NET 2.0.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.