Skip to content

ivgtr/pixel-image

Repository files navigation

Pixel Image

💾 画像をドット絵にするAPI及びWebサイト

Setup

?image= に画像の URL を指定すると、その画像をドット絵にして返します。

crop icon

https://pixel-image.vercel.app/api?image=https://github.com/ivgtr.png

Markdown ファイルにも C&P して利用できます。

[![pixel-image](https://pixel-image.vercel.app/api?image=https://github.com/ivgtr.png)](https://pixel-image.vercel.app/api?image=https://github.com/ivgtr.png)

Config

  • ?image=
    • 画像の URL を指定
    • required
  • ?size=
    • cell のサイズをpxで指定
    • default: 15
  • ?k=
    • カラーの色数を指定
    • default: 8
https://pixel-image.vercel.app/api?<url=画像の URL>&[size=cell のサイズ]&[k=カラーの色数]

Demo

Web サイトで試すことができます。

License

MIT ©ivgtr

Twitter Follow MIT License Donate

About

💾 画像をドット絵にするAPI及びWebサイト

Topics

Resources

License

Stars

Watchers

Forks

Contributors