Skip to content

HashLips Art Pixelator is a tool used to convert multiple images to pixelated images.

License

Notifications You must be signed in to change notification settings

HashLips/hashlips_art_pixelator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

​​# Welcome to HashLips 👄

All the code in these repos was created and explained by HashLips on the main YouTube channel.

To find out more please visit:

📺 YouTube

👄 Discord

💬 Telegram

🐦 Twitter

ℹ️ Website

HashLips Art Pixelator 🔥

HashLips Art Pixelator is a tool used to convert multiple images to pixelated images.

Installation 🛠️

If you are cloning the project then run this first, otherwise you can download the source code on the release page and skip this step.

git clone https://github.com/HashLips/hashlips_art_engine.git

Go to the root of your folder and run this command if you have yarn installed.

yarn install

Alternatively you can run this command if you have node installed.

npm install

Usage ℹ️

In order to convert images into pixelated images you would need a list of images that you want to convert. Place all these images that will be converted in the /input directory.

Then simply run this command:

node index.js

All your images will be outputted in the /build directory. If you want to change the ratio of the pixelation then you can update the ratio property on the pixelFormat object in the src/config.js file. The lower the number on the left, the more pixelated the image will be.

const pixelFormat = {
  ratio: 5 / 128,
};

That's it, now you have pixelated images.

Hope you create some awesome artworks with this code 👄

About

HashLips Art Pixelator is a tool used to convert multiple images to pixelated images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published