Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

add-image not reliable

Open shawshankkumar opened this issue 1 year ago • 4 comments

the documentation says that we need to pass an image and the pdf file and based on the location image will be places. I noticed that in some pages the image is being zoomed and the swagger docs are not up to the date. will try to fix this but might need help from someone who knows this code base

shawshankkumar avatar Sep 15 '23 10:09 shawshankkumar

Yes sorry the add image api has been not maintained after it got a UI replacement.

I can try resolve later but I'm quick busy at moment so if you can would be greatly appreciated if you can try resolve!

Frooodle avatar Sep 15 '23 10:09 Frooodle

Code is https://github.com/Frooodle/Stirling-PDF/blob/a0ac2bc02a37fdcb5717fc493a9998f0ba1d680f/src/main/java/stirling/software/SPDF/controller/api/misc/OverlayImageController.java#L28

And https://github.com/Frooodle/Stirling-PDF/blob/a0ac2bc02a37fdcb5717fc493a9998f0ba1d680f/src/main/java/stirling/software/SPDF/utils/PdfUtils.java#L334

Frooodle avatar Sep 15 '23 10:09 Frooodle

Hey thanks!

I'll surely give it a try!!!

On Fri, 15 Sep, 2023, 4:19 pm Anthony Stirling, @.***> wrote:

Code is

https://github.com/Frooodle/Stirling-PDF/blob/a0ac2bc02a37fdcb5717fc493a9998f0ba1d680f/src/main/java/stirling/software/SPDF/controller/api/misc/OverlayImageController.java#L28

And

https://github.com/Frooodle/Stirling-PDF/blob/a0ac2bc02a37fdcb5717fc493a9998f0ba1d680f/src/main/java/stirling/software/SPDF/utils/PdfUtils.java#L334

— Reply to this email directly, view it on GitHub https://github.com/Frooodle/Stirling-PDF/issues/363#issuecomment-1721069141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR22P3K4W75UO4763JKRSWDX2QXE5ANCNFSM6AAAAAA4ZTMVDI . You are receiving this because you authored the thread.Message ID: @.***>

shawshankkumar avatar Sep 15 '23 11:09 shawshankkumar

Stamp controller has x y override which should result in similar functionality.

Frooodle avatar Feb 03 '24 13:02 Frooodle