Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 825 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 825 Bytes

nodeImageCombiner

Install:

npm i

Run the program with your images:

npm run start
// images from the image folder are listed
// enter image1.png
image1.png
// enter image2.png
image2.png
// enter output image name
output.png
// image 1 and image 2 will be combined, and output as "output.png"

We're making the images the same size (which sometimes results in offset images, I'll try to fix that), then combining the images using every-other(ish) column of pixels from each image. I adapted it from my rust_image_combiner, which was a code-along to one of the freeCodeCamp tutorials.

Not really intended to be a useful program (unless you like the every-other-column-of-pixels effect). I wanted to build the same CLI program in Node, GO, and Rust.