Questions tagged [docotic.pdf]

6 questions
4
votes
0 answers

Determining Best compression algorithm for given PDF file

I'm currently using Docotic PDF library to write a compression program for a PDF file server hosting large scanned documents. (Intention is to get the smallest size in black and white that maintains a readable document- mostly legal briefs) In…
bumble_bee_tuna
  • 3,533
  • 7
  • 43
  • 83
3
votes
2 answers

c# - Pdf file using by an other process eror on Bitmiracle.Docotic.Pdf

I am trying to modify the metadata of a PDF file using Bitmiracle.Docotic.Pdf. I derived the following example from BitMiracle's Github page. Metadata.pdf is an existing PDF document in my PC. string pathToFile = "Metadata.pdf"; using (PdfDocument…
Quince
  • 144
  • 11
1
vote
2 answers

c# - PdfDocument.GetTextWithFormatting() does not take all pages

I'm trying to open a big PDF file but with this code using BitMiracle.Docotic.Pdf; PdfDocument pdf = new PdfDocument("document.pdf") string document = pdf.GetTextWithFormatting(); the string document take the firsts 87 pages (of 174). Why it takes…
Gicminos
  • 912
  • 3
  • 10
  • 32
0
votes
1 answer

MemoryStream fails to write to other MemoryStream

I am having an issue when writing from one memory stream to another. I am using a NuGet package to convert PDFs to pngs. I have a need to save the images as base64 string. When I read the pdf in, it properly creates the pdf object with the correct…
Nyra
  • 859
  • 1
  • 7
  • 27
0
votes
1 answer

C#: Open password protected PDF with Docotic.Pdf library

I have a code which extracts text from PDF documents, As such some PDFs are password protected, I need a way to Identify if a PDF is password protected I am using.BitMiracle.Docotic.Pdf library. Purpose:- If I find the PDF as password protected…
Lucifer
  • 1,594
  • 2
  • 18
  • 32
0
votes
1 answer

Merging PDF and Compressing files .net

i am trying merge and compress PDF files using bitmiracle.docotic.pdf library(trial version) and for a merged file of size 700MB i am facing "out of memory exception", below is my code /// /// Open file for copy. ///
RayK
  • 41
  • 2
  • 10