Skip to content

Commit

Permalink
Merge pull request #3 from adwilk/adwilk-patch-1
Browse files Browse the repository at this point in the history
Fix spelling
  • Loading branch information
ahhhh6980 authored Mar 22, 2022
2 parents ce69d45 + c3a1e39 commit a1b0f06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
This currently only operates on mapping individual pixels, I am working on writing this such that it maps multiple pixels to a single palette item, which is a work in progress.

Let's say you have a collection of images, and you want to put them together in a way that resembles any image you'd like.
What this program does, is take as input, a folder of images (out palette), and an input image (what we are trying to recreate).
What this program does, is take as input, a folder of images (our palette), and an input image (what we are trying to recreate).

This basically goes through every item (image) in the palette and finds the average color for each item in the palette.
After this process, we can then go through every pixel in our image, and figure out which item from our palette msot resembles our pixel.
After this process, we can then go through every pixel in our image, and figure out which item from our palette most resembles our pixel.
Using this information, we can construct the mosaic by taking the pixels from items in our palette and writing them to a new image.

This can work with any set of images, it doesn't have to be emojis.
Expand Down

0 comments on commit a1b0f06

Please sign in to comment.