- Code: Select all
Image emf = doc.SaveAsImage(0, Spire.Pdf.Graphics.PdfImageType.Metafile);
Image emf = doc.SaveAsImage(0);
when I try to use the first SaveAsImage method in Azure Function App It's crashing, but when I use the second option It's working. It reneders a picture, but it's doing it in horrible quality.
If I use it locally(the first option) everything works like a charm, only in azure it's a difficulty. Is there any other option to scale an image without saving it first?
Thank You,
Ig