pixel-printer: A program for turning pixel art into 3D prints

[ gpl, image, library, program ] [ Propose Tags ]

Pixel-printer is a utility for turning pixel art into 3d prints.

[Skip to Readme]


  • Geometry
  • Options
    • Options.Output
  • PixelTransform
  • Scad


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.1.0, 0.1.1, 0.1.2
Change log ChangeLog.md
Dependencies base (>=4.13 && <4.14), JuicyPixels (>=3.3 && <3.4), lens (>=4.18 && <4.19), optparse-applicative (>=0.15.1 && <0.15.2), pixel-printer [details]
License GPL-3.0-only
Copyright 2021 Zachary Sarver
Author Zachary Sarver
Maintainer Zachary.Sarver@gmail.com
Category Image
Home page https://github.com/ZSarver/pixel-printer#readme
Bug tracker https://github.com/ZSarver/pixel-printer/issues
Source repo head: git clone https://github.com/ZSarver/pixel-printer
Uploaded by ZacharySarver at 2021-03-23T03:50:13Z
Executables pixel-printer-exe
Downloads 415 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2021-03-23 [all 3 reports]

Readme for pixel-printer-0.1.2

[back to package description]


Pixel-printer is a utility for turning pixel art into 3d prints.


Use stack install pixel-printer or cabal install pixel-printer


stack run filename or cabal run pixel-printer-exe filename will output OpenSCAD code to standard out to do as you please. To get a file, redirect like so stack run filename > filename.scad or cabal run pixel-printer-exe filename > filename.scad. To get an STL from here, open the OpenSCAD code in OpenSCAD.

Any filetype supported by JuicyPixels will work.


  • v0.1 - Reads file given on command line, outputs .scad code to stdout. Height, width, length predefined
  • v0.2 - Command line options for:
    • invert height
    • pixel width, pixel length, mutally exclusive with
    • total width, total length
    • height
    • output to a file
  • v0.3 - stl output
    • ascii
    • binary
  • v0.4 - Presets
    • lithophane mode
  • v1.0 - same height pixel output, useful for painting the final product
    • paint by pixels