Compare commits

...

13 Commits
1.0.1 ... main

Author SHA1 Message Date
DrMaxNix 671c9564c4 📝 migrate to git.tjdev.de 2023-03-22 20:55:06 +01:00
DrMaxNix c7cc044282 🙈 remove useless gitignore 2023-03-22 20:52:25 +01:00
DrMaxNix 7beceec022
fix typo 'a html image-element' 2021-05-31 23:34:36 +02:00
DrMaxNix 4909606ed7
add notice for examples to top 2021-05-31 23:28:53 +02:00
DrMaxNix 75d71483e4
add usage example skyicon.drmaxnix.de 2021-05-31 23:24:06 +02:00
DrMaxNix 4f6e5d3ed9
Update README.md 2021-05-14 08:30:36 +02:00
DrMaxNix 1fc75fdd40
Create LICENSE 2021-05-14 08:26:49 +02:00
DrMaxNix 826b353ea6
Update README.md 2021-05-14 08:26:07 +02:00
DrMaxNix fa1ca1c6a2
Delete LICENSE 2021-05-14 08:25:43 +02:00
DrMaxNix cb7f2f953c
Update README.md 2021-05-07 08:30:19 +02:00
DrMaxNix 85f9c48f81
Merge pull request #1 from DrMaxNix/DrMaxNix-patch-1
Dr max nix patch 1
2021-05-04 18:55:40 +02:00
DrMaxNix 4be82e0866
Create LICENSE 2021-05-04 18:55:02 +02:00
DrMaxNix ea266b1136
Delete LICENSE 2021-05-04 18:53:11 +02:00
2 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View File

@ -1 +0,0 @@
examples/

View File

@ -1,9 +1,13 @@
# Pixelimg.js
[![GitHub release](https://img.shields.io/badge/release-v1.0.1-orange)](https://github.com/DrMaxNix/pixelimgjs)
[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/DrMaxNix/pixelimgjs/blob/main/LICENSE)
[![Release](https://img.shields.io/badge/release-v1.0.1-orange)](https://git.tjdev.de/DrMaxNix/pixelimgjs/releases/tag/1.0.1)
[![License](https://img.shields.io/badge/license-MIT-green)](https://git.tjdev.de/DrMaxNix/pixelimgjs/src/branch/main/LICENSE)
[![Maintaner](https://img.shields.io/badge/maintainer-DrMaxNix-blue)](https://www.drmaxnix.de)
Pixelimg.js is a rather small js-library to display code-generated pixel images inside of a html image-element.
Pixelimg.js is a rather small js-library to display code-generated pixel images inside of an html image-element.
Used at [skyicon.drmaxnix.de](https://skyicon.drmaxnix.de).
**[Code examples can be found at the bottom of this README!](https://git.tjdev.de/DrMaxNix/pixelimgjs#examples)**
## Installation
@ -127,7 +131,7 @@ An object storing red, green, blue and alpha data for a color (all _Range: `0-25
# Examples
## 1. 2x2 Red, Green, Yellow and Blue pixels
![Output](https://raw.githubusercontent.com/DrMaxNix/pixelimgjs/main/examples/2x2-Red-Green-Yellow-and-Blue-pixels.png "Output")
![Output](https://git.tjdev.de/DrMaxNix/pixelimgjs/raw/branch/main/examples/2x2-Red-Green-Yellow-and-Blue-pixels.png "Output")
```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/DrMaxNix/pixelimgjs@1/pixelimg.min.js"></script>
@ -163,7 +167,7 @@ An object storing red, green, blue and alpha data for a color (all _Range: `0-25
## 2. 64x64 RGB color-palette
![Output](https://raw.githubusercontent.com/DrMaxNix/pixelimgjs/main/examples/64x64-RGB-color-palette.png "Output")
![Output](https://git.tjdev.de/DrMaxNix/pixelimgjs/raw/branch/main/examples/64x64-RGB-color-palette.png "Output")
```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/DrMaxNix/pixelimgjs@1/pixelimg.min.js"></script>