Coder Social home page Coder Social logo

pdfiumlight's People

Contributors

iamcarbon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdfiumlight's Issues

Error using with project that targets '.NETFramework,Version=v4.6.1'

OS: Windows 7
IDE: VS Studio 2017
.Net Framework: v4.6.1
mode of installation: Nugget

Error:

Severity	Code	Description	Project	File	Line	Suppression State
Error		Could not install package 'PdfiumLight 0.0.4'. 
You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.1',
but the package does not contain any assembly references or content files that are compatible
with that framework. For more information, contact the package author.				

Update to support netstandard/Azure Functions V2

Hey, great work. I love this wrapper and I would like to use it in my app.
I tried to use your library on Azure Functions V1 (.NET framework) and it works great.
I only had to remove PdfiumViewer.Native nuget and copy DLLs manually as the Functions runtime uses slightly different folder structure then the default Visual Studio bin output.

My questions is if you would be willing to update your library to support netstandard (and also Azure Functions V2). It would mean some small breaking changes but I believe it would highly increase the list of supported scenarios.

Here is what I beleive needs to be done

  • Remove dependency on PdfiumViewer.Native. This is Azure Functions specific and can be workarounded by some copy/delete in a build script so not a must have. (VS build copies DLLs to bin folder, but AzFunctions require it to have in "bin/netstandard2.0/bin")
  • Remove dependency on System.Drawing. This is currently a blocker that limits the library to Windows. System.Drawing is Windows/.NET framework specific library that does not work in netstandard (There is a way how to run it in .NET Core but it is not 100%). It would be nice if PdfiumLight only fills some byte buffer with pixel data and external code passes this buffer to image library of choice. Something that https://github.com/ArgusMagnus/PDFiumSharp does - have independent PdfiumLight library + PdfiumLigh.System.Drawing, PdfiumLigh.ImageSharp, ....

I can make some PRs if you agree to this change.

Question

Does this work on another platform different from windows

Samples

Thanks for creating this fabulous package.
Please could you provide some samples.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.