Questions tagged [bitmiracle]
7 questions
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
1 answer
How to use LibTiff.NET Tiff2Pdf in .NET 6
I want to provide support to convert single-page and multi-page tiff files into PDFs. There is an executable in Bit Miracle's LibTiff.NET called Tiff2Pdf.
How do I use Tiff2Pdf in my application to convert tiff data stream (not a file) into a pdf…

usagibear
- 303
- 3
- 12
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
0 answers
BitMiracle/libtiff.net copying pages to other tiff with compression
I am trying to built a program which reads a tiff file, selects a number of pages.
extracts those pages and will put it in a List
the Original tiffs have a TiffCompressOption.Ccitt4 compression.
after extracting x pages from different files, I want…

user3507211
- 51
- 9
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
BitMiracle.LibTiff.Net Converting oJPEG tiff to Bitmap results in a negative color image
I'm using the BitMiracle.LibTiff v2.4.560.0 to convert oJPEG tiffs to Bitmap. This has worked out great until just recently. A Tiff, that I tried converting, is a document with a white background and black text. After converting the tiff, the…

Shar1er80
- 9,001
- 2
- 20
- 29
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