All Projects → eleby → pixelizer

eleby / pixelizer

Licence: Apache-2.0 license
An efficient image pixelizer written in go

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to pixelizer

dpixel
A Pixel Art Remastering Tool using classic algorithms
Stars: ✭ 42 (-59.22%)
Mutual labels:  pixel-art, gif
piskel
A simple web-based tool for Spriting and Pixel art.
Stars: ✭ 9,109 (+8743.69%)
Mutual labels:  pixel-art, gif
PixelShape
Pixel editor that comes in handy when creating pixel art images and animations
Stars: ✭ 29 (-71.84%)
Mutual labels:  pixel-art, gif
Aseprite
Animated sprite editor & pixel art tool (Windows, macOS, Linux)
Stars: ✭ 14,832 (+14300%)
Mutual labels:  pixel-art, gif
8192px
A collaborative pixel art experiment
Stars: ✭ 64 (-37.86%)
Mutual labels:  pixel-art
p5.gif
P5.js gif helper
Stars: ✭ 36 (-65.05%)
Mutual labels:  gif
TerminalMediaViewer
An utf-8/truecolor image and video viewer for the terminal
Stars: ✭ 105 (+1.94%)
Mutual labels:  terminal-graphics
alfred-imagemin
Alfred workflow - Minify images with Imagemin
Stars: ✭ 29 (-71.84%)
Mutual labels:  gif
gif-creator
To create a GIF image with user specified duration. [简单实用] 生成自定义延时的GIF图像。
Stars: ✭ 32 (-68.93%)
Mutual labels:  gif
UnityGiphy
Library for using the GiphyAPI in Unity to get and play random Gifs as MP4s
Stars: ✭ 35 (-66.02%)
Mutual labels:  gif
ios-nd-gif-maker-objc
Resources for Udacity's Gif Maker app in Objective-C.
Stars: ✭ 17 (-83.5%)
Mutual labels:  gif
gephi twitter media downloader
A small script designed to take either a .csv of Tweet ids, or the export from Gephi's TwitterStreamingImporter Plugin and download related Tweet media.
Stars: ✭ 41 (-60.19%)
Mutual labels:  gif
crunchygif
EZPZ VIDEO TO GIF CREATOR
Stars: ✭ 33 (-67.96%)
Mutual labels:  gif
slip
Select and upload screenshots, gifs, and screencasts to imgur and gfycat with help of slop.
Stars: ✭ 25 (-75.73%)
Mutual labels:  gif
darkest-pixel-dungeon
Traditional roguelike game with pixel-art graphics and simple interface
Stars: ✭ 66 (-35.92%)
Mutual labels:  pixel-art
pixelart.js
punks.js - draw punk (pixel) art images using any design (in ascii text) in any colors; incl. 2x/4x/8x zoom for bigger sizes and more
Stars: ✭ 132 (+28.16%)
Mutual labels:  pixel-art
pxlsrt.js
Node.js module for pixel sorting.
Stars: ✭ 46 (-55.34%)
Mutual labels:  pixel-art
jekyll-theme-8bit
👾 A Jekyll theme inspired by classic 8bit games.
Stars: ✭ 24 (-76.7%)
Mutual labels:  pixel-art
TermGL
2D & 3D graphics engine in the terminal [C/C++]
Stars: ✭ 219 (+112.62%)
Mutual labels:  terminal-graphics
imagemin-gifsicle
Imagemin plugin for Gifsicle
Stars: ✭ 105 (+1.94%)
Mutual labels:  gif

Pixelizer

Pixelizer is an image pixelizer written in go. It allows very simple and intuitive CLI pixelization.

Installation

To install Pixelizer, you need to :

  • Install Go here
  • Run this command :
$ go get -u github.com/eleby/pixelizer/...
  • Optional - Install the package to use a cmd shortcut : First navigate to your go sources repository, then :
$ cd github.com/eleby/pixelizer/main

Then build the package (No install, since go install doesn't allow renaming) :

$ go build -o pixelize

And move it to your $GOBIN or $GOPATH/bin :

$ sudo mv pixelize [your $GOBIN or $GOPATH/bin]

Usage

Pixelizer is meant to be simple to use, error-free and intuitive. To be reminded of the usage, you can sure read this readme, but you can also open your terminal and use :

$ pixelize / $ pixelize man / $ pixelize help

This will print the manual.

Here is how it works :

  1. Pixelize an image (Basic syntax) :
$ pixelize [imageName] [X] [Y] [Z] [...]
  • imageName = path and name of the image to pixelize.
  • X = Width of each group of pixels to fuse (Ex : 5 will fuse every group of 5*5 pixels from the image)
  • Y = Number of results, with increasing X at each result (Ex : 5 3 will print 3 results while fusing groups of 5*5 pixels for the first result, 6*6 for the second, etc)
  • Z = Change to the step increase between each result (Ex : 5 3 5 will print 3 results while fusing groups of 5*5 pixels for the first result, 10*10 for the second, etc)
  • ... = Secondary arguments

If not set, X, Y and Z will default to 1, meaning that "pixelize img.png" will output one image with a pixelization level of 1.

  1. Secondary arguments to add to modify the basic syntax's behavior :
  • Log the essential of the program activity in terminal :
$ pixelize [basic syntax] [log]
  • Log more of the program activity in terminal :
$ pixelize [basic syntax] [verb]
  • Print every result image in terminal using ANSI codes and register these in the program save directory (HomeDirectory/pixelizer) :
$ pixelize [basic syntax] [print]
  • Reduce the size of the image so each pixelized group of colors will display as a pixel.
$ pixelize [basic syntax] [pixel]

The pixel argument cannot be used while outputting gifs. If both are specified, only the pixel one will be taken into account.

  • Output a gif containing all of the result images :
$ pixelize [basic syntax] [gif] [reverse] [full]

You can add the optional parameter "reverse" or "full" to change the gif animation.

The "reverse" parameter will reverse the animation.

The "full" parameter will add the reversed animation to the normal one and make a loop of them.

  1. Clear the folder of the result files :
$ pixelize clear
  1. Redo the last pixelization :
$ pixelize redo

The "clear" and "redo" parameters can be used with the "log" or "verb" secondary arguments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].