Skip to content
PNG to Anycubic Photon file format converter
C C++ Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
PhotonAaMatrix.h
PhotonCpp.cpp
PhotonCpp.sln
PhotonCpp.vcxproj
PhotonCpp.vcxproj.filters
PhotonDot.h
PhotonFileHeader.h
PhotonFileLayer.h
PhotonFilePreview.h
PhotonFilePrintParameters.h
PhotonInputStream.h
PhotonLayer.h
PhotonLine.h
PhotonMatrix.h
PhotonOutputStream.h
PhotonProjectType.h
PhotonRow.h
README.md
_model.photon
model.scad
model.stl
pch.cpp
pch.h
stb_image.h

README.md

PngToPhoton

Quick and dirty utility I've made to convert PNG files to Anycubic Photon 3d printer file format. It could be useful for PCB production. Source code was ported to C++ from Photon File Validator project.

Usage

PngToPhoton.exe <input-1440x2560.png> <output.photon>

To read data from STDIN use '-' as filename. To write data from STDOUT use '-' as filename.

White and transparent areas of the image are treated as voids. I insist on checking output with Photon File Validator after conversion. Use output at your own risk.

Building

There is MSVC project for Windows and Makefile for Linux and MacOS X.

You can’t perform that action at this time.