Giter Club home page Giter Club logo

svg_to_ico's People

Contributors

dependabot[bot] avatar ortham avatar

Stargazers

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

Watchers

 avatar  avatar

svg_to_ico's Issues

Could you publish version 1.1.0 to crates.io ?

I want to use this library on build scripts, but current latest version on crates.io has some bugs. Thankfully its seems to was solved already on latest commit, so I using patch to use current latest version.

# on Cargo.toml
[patch.crates-io]
svg_to_ico = { git = 'https://github.com/Ortham/svg_to_ico' }

If you publish to crates.io, I don't need to use this patch anymore! Thank you for your consideration ๐Ÿ™

Wish there was a color depth option

I need to create .ico files from a .svg master in various sizes (which svg_to_ico supports), but also in various color depths. For example 16x16 16 colors, 16x16 256 colors, and then for 32x32 and 48x48, 4 bpp (bits per pixel), 8-bpp, 24-bpp, and for 128x128 and 256x256, 24-bpp.

thread 'main' panicked at 'called `

thread 'main' panicked at 'called Result::unwrap() on an Err value: ParseError', src\libcore\result.rs:999:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

$RUST_BACKTRACE=1
E:\svg_to_ico.exe -d 141 -o E:\FF\folder.svg -i E:\FF\folder.ico

Thread 'main' panicked at 'Invalid width (was 347, but range is 1-256)'

Full console:
C:\Tools\scripts>svg_to_ico.exe -i "C:\Tools\icons\00 To Create\svg\coding.svg" -o "C:\Tools\icons\00 To Create\svg\coding.ico" thread 'main' panicked at 'Invalid width (was 347, but range is 1-256)', C:\Users\appveyor\.cargo\registry\src\github.com-1ecc6299db9ec823\ico-0.1.0\src\lib.rs:435:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

Here is a zip of the SVG file I want to convert:
coding.zip

Running W10 Pro, 21H1 (OS Build 19043.1348)

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.