Use pcb-stackup to generate svg data from gerber files and then use sharp to generate a png file from the svg buffer