pub fn encode_png(png_path: &Path) -> Result<String, PoolError>
Reads and base64-encodes a PNG file.
Returns PoolError::Rpc when the PNG cannot be read.
PoolError::Rpc