How to get bitmap or bytearray from digital signature

Product: Pdftron Android

Product Version: "com.pdftron:pdftron-standard:9.5.0

Please give a brief summary of your issue:

how to get bitmap or bytearray from digital signature

Please describe your issue and provide steps to reproduce it:

I have opened pdf document which has textwidgets and digital signature. I save all the pdf data in local DB. I use for loop to itreate over opened pdf doument …I get all the values from TextWidget but couldnt get bitmap or byteArray from digital signature

val signature= DigitalSignatureField(fieldType)
                            if (signature.hasVisibleAppearance()) {

}

how can i get bitmap or byte array from Digital signature field in android kotlin
in the above code i get the signature.hasVisibleAppearance() but i couldnt get bitmap or byte array

Please provide a link to a minimal sample where the issue is reproducible:

Hi,

We are still investigating this and will get back to you when more information is available.

Thanks,
Andrew.

Hi,

Thanks for your patience, you can create a temporary page with your annotation and export that to an image using PDFDraw, which you can then translate back to a bitmap or byte array:

Thanks,
Andrew.