-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
We are developing solutions for our client, that includes usage of MuPDF.NET library and two functionalities – recolor and convert to pdf functions.
Our license and engineering code is 370.
If we convert attached svg file, converted pdf won't have any colors (it will be in black and white).
Do you have an idea what could be causing the issue?
Here are also code snippets how we are using the recolor and convert methods.
private byte[] ConvertCommand(byte[] byteArray)
{
var muPDFDocument = new MuPDF.NET.Document(stream: byteArray);
return muPDFDocument.Convert2Pdf();
}
private byte[] RecolorCommand(byte[] byteArray)
{
var muPDFDocument = new MuPDF.NET.Document(stream: byteArray);
muPDFDocument.Recolor(0, "CMYK");
return muPDFDocument.Write();
}
Kind regards,
Bojan