Hi Dominik,
Very good. Thank you very much for committing the code.
I'll be testing podofoimpose a bit more on a large set of different
PDFs. Maybe I'll find some other things :)
Best regards,
Chris
On 1/24/21 12:35 PM, Dominik Seichter wrote:
Hi Chris,
Thank you very much for your valuable contribution. I committed all
four patches to SVN.
Kindest regards,
Dominik
On Fri, Jan 22, 2021 at 5:56 PM <pod...@cbmx.ch
<mailto:pod...@cbmx.ch>> wrote:
Hi,
Thanks for such a great tool (PoDoFo in general).
I made a few improvements to the podofoimpose tool. Hope they are
useful
to others as well. Here a short explanation for each patch.
- 1_Allow_to_set_the_bounding_box_with_the_legacy_plan_reader.patch
Also allow to set the bounding box with the legacy plan reader.
- 2_Return_none_zero_return_code.patch
If an exception happens, return none zero return code.
- 3_Allow_scaling_of_inserted_pages.patch
This is the biggest change. With this change it is possible to
scale an
inserted page (one by one with different scaling). I tried to make
sure,
that all additional parameters are optional and the previous
behavior is
retained if no scaling factors are given.
- 4_Handle_Name_datatype_correctly.patch
Handle the Name datatype correctly. Without this fix the Name
datatype
got converted to a dictionary after imposing the PDF. This
resulted in
having an invalid /ColorSpace for images and thus images that did not
show up in the resulting PDF.
I tested and applied all patches against the trunk.
Best regards,
Chris
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
<mailto:Podofo-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/podofo-users
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users