add new functions for zip and byte slices

This commit is contained in:
Adrian Zürcher
2026-01-07 17:04:26 +01:00
parent e6e833533e
commit 4a9397457d
4 changed files with 197 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ func Convert(chromePath, inputFile, outputFile string) error {
}
defer c.Close()
return c.Convert(input)
return c.ConvertToPdf(input)
}
// NewConverterInstance start new chrome headless shell instance