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]
Versions [RSS] [faq] 0.1.0, 0.1.1, 0.1.2
Change log ChangeLog.md
Dependencies base (==4.13.*), JuicyPixels (==3.3.*), lens (==4.18.*), optparse-applicative (==0.15.1.*), 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
Distributions NixOS:0.1.2
Executables pixel-printer-exe
Downloads 151 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2021-03-23 [all 3 reports]


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


Maintainer's Corner

For package maintainers and hackage trustees


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.


  • [x] v0.1 - Reads file given on command line, outputs .scad code to stdout. Height, width, length predefined
  • [ ] v0.2 - Command line options for:
    • [x] invert height
    • [ ] pixel width, pixel length, mutally exclusive with
    • [x] 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