cj-holmes / ggboy

Simulating the retro aesthetic of low resolution ordered image dithering cameras.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggboy

Lifecycle: experimental

ggboy simulates the retro aesthetic of low resolution ordered image dithering cameras.

It is built upon the ggplot2 and magick packages for plotting and image processing.

  • Images are cropped (centrally by default) to have pixel dimensions of width = 128 and height = 112
  • A 16 pixel border is applied to all sides, meaning the final image will have width = 160 and height = 144
  • Final images consist of only 4 colours
  • ggboy is meant to be a bit of fun. My attempt at ordered dithering may offend some experts/purists!
library(ggboy)
img <- "https://cdn.mos.cms.futurecdn.net/Y2LzofeX2X7zP77bS6mMaE.jpg"

ggboy(img)

Animated GIFs

It’s experimental and a bit slow

ggboy_gif("https://i.gifer.com/9R9V.gif")
#> Processing GIF (26 frames)
#> Running ggboy on all GIF frames
#> Animating GIF

About

Simulating the retro aesthetic of low resolution ordered image dithering cameras.

License:GNU General Public License v3.0


Languages

Language:R 100.0%