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.
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.
There is MSVC project for Windows and Makefile for Linux and MacOS X.