Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yingzhuo/avatar-generator
avatar-generator for java.
https://github.com/yingzhuo/avatar-generator
avatar avatar-generator java
Last synced: 25 days ago
JSON representation
avatar-generator for java.
- Host: GitHub
- URL: https://github.com/yingzhuo/avatar-generator
- Owner: yingzhuo
- License: apache-2.0
- Created: 2020-08-23T01:14:26.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-06T22:17:25.000Z (over 1 year ago)
- Last Synced: 2024-04-16T07:57:49.228Z (7 months ago)
- Topics: avatar, avatar-generator, java
- Language: Java
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License](http://img.shields.io/badge/License-Apache_2-red.svg?style=flat)](http://www.apache.org/licenses/LICENSE-2.0)
[![JDK](http://img.shields.io/badge/JDK-v8.0-yellow.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
[![Build](http://img.shields.io/badge/Build-Maven_2-green.svg)](https://maven.apache.org/)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.yingzhuo/avatar-generator.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.github.yingzhuo%22%20AND%20a:%22avatar-generator%22)# avatar-generator
### 依赖
```xml
com.github.yingzhuo
avatar-generator
${version}```
### 使用```java
public static void main(String[] args) {
final Avatar avatar = IdenticonAvatar.newAvatarBuilder()
.layers(new ColorPaintBackgroundLayer(Color.WHITE))
.build();
final BufferedImage image = avatar.create(123456L);
}
```### 作者
* 应卓 - [github](https://github.com/yingzhuo)