NReco is a collection of reusable components for .NET platform (.NET Framework and .NET Core)
Questions tagged [nreco]
143 questions
0
votes
1 answer
NReco phantomjs run script async with input and output streams
I'm currently using the NReco phantomjs wrapper and all is well. I call an existing JavaScript file and use a stream to pass in data and an output stream to get the results which I can then turn in to a PNG and insert it into a document.
The code…

Ben Thomson
- 1,083
- 13
- 29
0
votes
0 answers
Image not getting loaded in odt file after exporting using Nreco
I am using Nreco in mvc dotnet to export Html to Odt(Open office) file. But after getting exported image is not getting loaded in odt File. I have tried for Html to Pdf, which is working perfectly fine, but not in Html to Odt. Please look into the…

Puneet_2696717
- 221
- 6
- 14
0
votes
1 answer
Display different HTML header on first page compared to other pages
I'm using a HTML to PDF Library called Nreco to convert HTML Pages to PDF. The task includes setting the same header on every page, apart from the first page which contains the Recipient Address as part of the header.
I'm wondering what is the best…

demoncrate
- 390
- 2
- 14
0
votes
1 answer
NReco CustomWkHtmlArgs bearer token
Working with NReco.PdfGenerator.HtmltoPdfConverter and recently implemented OAuth with Bearer tokens. After implementing and securing my ApiControllers the converter started throwing the following error.
WkHtmlToPdfException: Exit with code 1 due…

Jeremy Bond
- 159
- 1
- 15
0
votes
1 answer
What to make NReco work on pages that require authentication?
I'd like to make several pdfs from pages that are sitting behind a login page. When I try doing the basic info from their page:
var htmlToPdf = new HtmlToPdfConverter();
htmlToPdf.GeneratePdfFromFile("url-of-page", null,…

cybera
- 351
- 2
- 17
0
votes
2 answers
Merge pdfs with NReco PdfGenerator
In the features section on NReco's site, in the examples list: there is a line about MergePdf.
I have looked in the API-reference and using the intellisense in visualstudio but I can't find anything.
I wan't to merge several pdf's before I sent…

Aronsson
- 25
- 6
0
votes
1 answer
NReco FFPMegConverter: The path is not of a legal form
I'm using the NReco FFMPegConverter, and when I try to get a thumbnail, I get the error:
System.ArgumentException: The path is not of a legal form.
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32 maxPathLength,…

Black Dynamite
- 4,067
- 5
- 40
- 75
0
votes
2 answers
How to get video duration from mp4,m3u8 or any other file
I found the NReco.VideoInfo library to be the best option and simpler
1] Find the NReco.VideoInfo library in NuGet Package Manager and import it in your project
2] After that import the namespace "using NReco.VideoInfo"
3] Add the below line of code…

Pritam Gupta
- 1
- 2
0
votes
1 answer
NReco imagegenerator doesn't write barcodes correctly
I'm trying to convert HTML code to JPEG image. It kinda work, but it doesn't when I try to do it with barcodes.
Server side, I'm using :
I'm encoding an EAN133 barcode with CODE128 protocol, it works when I want to show it on a web page (I use…

alexay68
- 172
- 10
0
votes
1 answer
Nreco pdf generator: issue with text-align: justify and word-break
I'm using Nreco PDF Generator. If I try to generate a PDF file using the following HTML, the text is out of margins.

Sandro Novelli
- 3
- 4
0
votes
1 answer
Not able to generate more than 20 pages in wkhtmltopdf (approx)
I am trying to generate pdf with 30-35 pages using wkhtmltopdf, but there are blank pages after 20 pages(sometimes 21/22). To confirm this I have tried to generate same page 35 times using a loop (please note there is no error in html file).
I am…

Anand
- 1
- 2
0
votes
1 answer
Access to StandardInput from NRECO.VideoConverter?
I'm currently using the answer to this question to pipe a string of bitmaps into ffmpeg. It requires redirecting StandardInput stream and writing to it.
Is something similar available with NRECO.VideoConverter? Is there a way to get either access…

DanTheMan
- 3,277
- 2
- 21
- 40
0
votes
1 answer
NReco PDF (Lite) and password protect
Using NReco PDF Lite (which I am using in a .NET Core project), how do I secure the PDF with a password? If I cannot use Lite, which version and will it work on .NET Core?

Outside the Box Developer
- 1,279
- 3
- 15
- 32
0
votes
2 answers
NReco build Pivot Table chart
I am using NReco to build PivotTables and I wanted to display a chart that corresponds to the data shown in the table. I'm trying to accomplish this with c3 charts(really like the look), but another kind of chart is welcomed.
I'm sending the NReco…

zriv
- 19
- 1
- 4
0
votes
1 answer
Convert HTML to Image on Azure
I have tried two HTML to Image conversion packages HiQPd and NReco.
Both libraries work beautifully when run from Visual Studio on my local PC.
When I deploy to an Azure-hosted website, both packages fail thusly:
HiQPdf throws Exceptions when…

Tim Mackey
- 21
- 3