Questions tagged [nreco]

NReco is a collection of reusable components for .NET platform (.NET Framework and .NET Core)

NReco website

143 questions
0
votes
1 answer

NReco.VideoConverter.ConvertLiveMedia

I get an exception when trying to write a raw image to ConvertLiveMedia: System.IO.IOException: "Канал был закрыт. System.IO.IOException: "The channel has been closed." var ffMpeg = new NReco.VideoConverter.FFMpegConverter(); var frame =…
0
votes
0 answers

Mail sending in C#is not working in release version

Please I have a working code which send mails correctly only when I execute the application from visual studio, but when I generate the .exe file and install it, I'm not able to recieve the email ! I think it's not problem coming from code, but…
user9994801
0
votes
1 answer

NReco.PdfGenerator.WkHtmlToPdfException: exit code: -1073741521

I working on a pdf generator with NRec PdfGenerator and it works fine at the start when I working with local, once I package up and deploy to server it fail and show the error message Cannot generate PDF: (exit code: -1073741521) --->…
Dean
  • 668
  • 12
  • 32
0
votes
0 answers

c# NReco.VideoConverter Ubuntu 16.04

I'm trying to use the functionality of the NReso library. VideoConverter. The program is launched from Ubuntu OS 16.04 in the MonoDevelopment environment. The operating system is 64 charging. I installed the application FFMpeg and it works fine. And…
Neyt Chi
  • 1
  • 1
0
votes
1 answer

Nreco ConvertMedia with settings VB.Net

Hello i am trying to make the below code work... but i am getting the error at conv.convertmedia line Value of type 'String' cannot be converted to 'FFMpegInput()' Dim conv = New NReco.VideoConverter.FFMpegConverter() AddHandler…
fuujinnn
  • 1
  • 1
  • 1
  • 4
0
votes
1 answer

LINQ Expressions: the Nreco Framework give compile error

It is the first time I use nuget and I am trying to compile a dynamic lambda parser example from NRecoFramework as shown below: var lambdaParser = new NReco.LambdaParser(); var varContext = new Dictionary(); …
Roger S
  • 15
  • 4
0
votes
1 answer

.NET Threads are not separate?

I have a sub which gets the duration of a video file. Async Sub GetDuration(folder As String) Dim ffP As New FFProbe Dim vInfo As MediaInfo Dim totalSecs As Double = Await Task.Run(Function() vInfo =…
swabygw
  • 813
  • 1
  • 10
  • 22
0
votes
1 answer

NReco Error: "The specified executable is not a valid application for this OS platform"

I'm using the NReco to convert videos. I declare the converter like the following, and add a handler to ConvertProgress. Dim vid_Convert As New FFMpegConverter AddHandler vid_Convert.ConvertProgress, Sub(sender, e)…
swabygw
  • 813
  • 1
  • 10
  • 22
0
votes
1 answer

While generating video thumbnail, Image automatic rotate into landscape

While generating video thumbnail from c#, when video in portrait mode then that video thumbnail image automatic convert into landscape mode. I am using NReco.VideoConverter.FFMpegConverter library Below is my code snippet var ffMpeg = new…
0
votes
1 answer

C# MVC generate PDF from View with NReco.PdfGenerator

I'm currently working on a project where I need to create a "dashboard" which can be exported as pdf. I wanted to use Rotativa but as our application uses .NET framework 4.0 it's not possible. So I found the NReco PdfGenerator. Now that's the code…
Sascha Lois
  • 133
  • 1
  • 2
  • 11
0
votes
1 answer

I receive 500 status code when I GET an Azure Function

I am trying to make a Get request to an Azure Function (v1) that uses NReco HtmlToImageConverter, but for some reason I get the 500 status code with the following message No MediaTypeFormatter is available to read an object of type 'Object' from…
nmrlqa4
  • 659
  • 1
  • 9
  • 32
0
votes
1 answer

How to align text in HTML label vertical for NReco PdfGenerator

I'm working on a WPF application with VS2015 and C#. In that application i have a function which converts a HTML to a PDF with NReco PdfGenerator. In my PDF i got some labels which text can be aligned horizontally and vertically. Horizontal…
Patrick Pirzer
  • 1,649
  • 3
  • 22
  • 49
0
votes
0 answers

Pdf generation in Asp.net mvc with NReco.PdfGenerator

Im new in NReco.PdfGenerator.We have partial view and it's carrying html tags what we need. In our partial view html: We're exporting pdf without this image and get this…
MFARKAN
  • 226
  • 2
  • 3
  • 12
0
votes
1 answer

Embed attachment into PDF

I am generating PDF using NRECO Pdf generator, it works by converting HTML template to PDF document. However I have one more requirement that is to add multiple attachments (images, word document or any other PDF) in Pdf being generated. In case of…
0
votes
2 answers

Html To PDF using Nreco wrong rendering

I am doing a HTML to PDF program and i found nreco is the best out there. Because the converted pdf contains proper font name. Not like those i tested. The font names are a random letters. Here is my code for the conversion. But the problem is it…
mecocopy
  • 187
  • 1
  • 3
  • 14