sonmezonur / initials.rs Goto Github PK
View Code? Open in Web Editor NEWInitials avatar generator for Rust
Home Page: https://iavatar.herokuapp.com
License: MIT License
Initials avatar generator for Rust
Home Page: https://iavatar.herokuapp.com
License: MIT License
When running the api
and setting the Gaussian Blur attribute to 0.0, the upstream image handler library panics.
thread 'arbiter:cbfdb3bc-c80e-4c09-8fda-ed071b613d98:actix-net-worker-3' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'arbiter:9cce60d5-0d0b-48d5-9a49-6e9863a2daf9:actix-net-worker-4' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:a5d9aedc-09bc-478d-a227-ebde6e5b3efb:actix-net-worker-5' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:84f380cd-806f-406d-b45e-534db7db2dd1:actix-net-worker-6' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:54cde202-1eb3-4be2-96f9-b892266a318d:actix-net-worker-7' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:0af1561e-af5a-4055-9cd5-6d9a30f0423d:actix-net-worker-0' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:c3edbad8-562d-4a93-8715-44f3e00a005e:actix-net-worker-1' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:208d35e5-8eb8-4ab2-b5d0-1e563f2b292f:actix-net-worker-2' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
thread 'arbiter:f4bc9ff9-ae2e-4a1c-a7e3-d8f01523eecc:actix-net-worker-8' panicked at 'called `Option::unwrap()` on a `None` value', XXX/.cargo/registry/src/github.com-1ecc6299db9ec823/image-0.19.0/./src/imageops/sample.rs:266:17
Hi, this is a pretty cool library with some nice code. I took a look and I can see some improvements that can be made to how the color is stored in the Avatar
struct. Like using u8
instead of i64
, and avoiding Vec
. Would you be interested in a PR?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.