Bad performance convert tif to pdf using ITextSharp

后端 未结 7 1315
猫巷女王i
猫巷女王i 2021-02-15 17:03

Summary: How can I reduce the amount of time it takes to convert tifs to pdfs using itextsharp?

Background: I\'m convertin

7条回答
  •  心在旅途
    2021-02-15 17:09

    Modify GetInstance method argument to

    GetInstance(bm, ImageFormat.Tiff) 
    

    this might increase the performance

    iTextSharp.text.Image img =  iTextSharp.text.Image.GetInstance(bm, ImageFormat.Tiff);
    

提交回复
热议问题