99
Views
7
Comments
Solved
[Adding Digital Signature To PDF] How to remove the line on e-signature image?
Question
addingdigitalsignaturetopdf-oml
Web icon
Forge asset by Srinivas K Singadi

Regarding Adding Digital Signature To PDF, how can we remove the line when adding the signature in PDF file? See attached image.


2021-04-12 11-47-04
Bart Nooijens
Solution

Hi Edwin,


This line is been drawn in the javascript library that is used within this component (jSignature). I did take a look at the source code of the library and see that the line is drawn there. You can take a look here.


You can try cloning the module and then fork the github repository. That way you have your own version of the code available and you can remove the line from the code.


Hope this helps you a little and good luck.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Edwin,

I know nothing about this component, but is that line already in the document? Because in that case, it would be difficult to remove.

2021-04-12 11-47-04
Bart Nooijens
Solution

Hi Edwin,


This line is been drawn in the javascript library that is used within this component (jSignature). I did take a look at the source code of the library and see that the line is drawn there. You can take a look here.


You can try cloning the module and then fork the github repository. That way you have your own version of the code available and you can remove the line from the code.


Hope this helps you a little and good luck.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

The colour/style of the line is determined by "settings['decor-color']" - perhaps that's something you could set to white before placing the signature? Anyway, I find it odd the line itself isn't configurable...

2018-06-27 00-09-40
Edwin Siruma

Thank you for all your replies. It just doesn't make sense including the line on the signature image. I will check it out how to avoid including it.

2018-06-27 00-09-40
Edwin Siruma

It is resolved by adding this text as the input Settings on jSignature web block

"{'background-color': 'transparent',
'decor-color': 'transparent',}"


Thanks again Kilian and Bart

2022-09-05 08-23-51
Naveen N

I am facing the same issue, could you please attach a screenshot for reference


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Thanks for the feedback!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.