Comments (3)
Hey, thanks for the kind words. I am constantly looking for good new features to add while keeping the library very lightweight and fast and with no external dependencies. The latter especially requires some trade offs, by far the most confusing bit for the users is that library returns bitmap array instead of for example jpeg
or png
bytes that they can just save to a disk or something along these lines. All of that was done because I really do not want to add System.Drawing
dependency to the core library which would add requirements to setup GDI
dependencies on linux
systems which is always annoying if you are running inside a container or just on bare metal. But I like this idea just adding some bitmap array post processors that you can optionally inject to format the output for transparency or greyscale might be useful to many. Will investigate more next time around I am working on some improvements.
from docnet.
Thanks a lot
Keen to see transparency or greyscale options update
Have a great day
from docnet.
Hey, I have released a new version of docnet 2.0.0 with few breaking API changes. It also includes image transparency removal behavior, I decided against implementing greyscale support since that would modify the returning byte array from BGRA mode to something else thus it would be confusing for the users if the return type differs, but feel free to modify the returning image without transparency however you see fit
from docnet.
Related Issues (20)
- Split pages of a document into individual PDF files HOT 4
- Ability to rotate a page in a document
- left coordinate can't be more than right coordinate HOT 2
- Page Dimensions HOT 4
- Page Dimensions HOT 1
- pdfium.dll locked by IIS/IIS Express HOT 1
- Performance comparison to other pdfium based libs HOT 3
- The type or namespace name 'Docnet' could not be found in net45 HOT 1
- Support rendering of forms input HOT 2
- Docnet Cannot open valid issues with certain characters (ſ) HOT 1
- Are there any examples that uses SkiaSharp to save and manipulate the PDF image? HOT 3
- Apple M1 pdfium library support HOT 12
- System.DllNotFoundException: Unable to load shared library 'pdfium'
- docReader.GetPageReader starts with 0 in windows in linux it is 1
- Does support convert doc to pdf? HOT 1
- feature: Reading PDF comments HOT 3
- feature: Reading bookmarks HOT 1
- Better memory allocations when creating images from the pdf HOT 3
- Generate PDF
- Problem with obtaining image size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docnet.