Closed dillonkh closed 2 months ago
Welcome! Thanks for posting your first issue. The way things work here is that while customer issues are prioritized, other issues go into our backlog where they are assessed and fitted into the roadmap when suitable. If you need to get this done, consider buying a license which also enables you to use it in your commercial products. More information can be found on https://unidoc.io/
@dillonkh Hello, we have fixed this transparency issue and it will be included in the next release of UniPDF.
We will notify you when the next release will be available.
Thanks for reporting the issue.
@dillonkh The UniPDF version 3.57 https://github.com/unidoc/unipdf/releases/tag/v3.57.0 is available and it fixes your issue.
Closing this ticket, feel free to re-open it or open a new one in case of any problems.
Description
Using
device.Render
to convert a page of a pdf to an image does so without transparency.Expected Behavior
When the input PDF has transparency, the image rendered should have the same transparency.
Actual Behavior
Running the following PDF (or any PDF with transparency) through the device.Render gives me an image that does not respect the transparency of the original PDF.
Attachments
Here is my code for an example:
Original PDF: transparent_watermark.pdf
Output image:![unidoc_page_to_img](https://github.com/unidoc/unipdf/assets/43145893/ed7c2316-58c0-4d90-b1ba-6dc96f5d297c)