Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to add image to signature field, instead getting filled red color #698

Closed
VineelG opened this issue Dec 9, 2020 · 3 comments
Closed

Comments

@VineelG
Copy link

VineelG commented Dec 9, 2020

@Hopding First of all Thanks very much for this brilliant library.

While trying to add an image to signature field using the code you provided at #418, signature field is getting filled with red color no image is added. Out pdf is here.

Used exactly the same code, base64 and pdf file. Is there anything missing, I am using version 1.12.0.

Thanks

@btecu
Copy link
Contributor

btecu commented Dec 11, 2020

I believe once #700 gets merged, we could do something very similar for SignatureField that we do in #700 for TextField.

@VineelG
Copy link
Author

VineelG commented Dec 11, 2020

Hopefully this will be merged soon and setImage() can be used more widely and easily with other field types. In the meanwhile, will try why this #418 working approach isn't working for me. Thanks

@Hopding
Copy link
Owner

Hopding commented Jan 2, 2021

Hello @VineelG!

I'd suggest trying the approach implemented in #700 and #718. The setImage() method itself doesn't exist on all field types yet. But it should be fairly easy with the changes made in those PRs. Please open a new issue if you find that doesn't work.

@Hopding Hopding closed this as completed Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants