Improve Poppler Support For Custom Image Annotations
This should be the branch for my future work for my GSoC Project to add support for custom images stamp, I'll keep updating the description and creating to do lists for the work that should be finished as I go.
Here's what has been implemented in this MR:
-
Implemented a new Helper class called AnnotStampImageHelper to create Image XObject that Poppler will understand -
Modified the current Annot and AnnotStamp classes implementation to support the new helper class -
Added new APIs to the Qt5 wrapper/frontend to support the new Poppler behavior -
Added new APIs to wrap up in it the annotation appearance so that users have the ability to store it
Here is a screenshot of the work done:
Also, here is a video of the work done using Okular and mupdf: https://youtu.be/9mrkgRHvoOc