Question
How to convert image field value to a binary stream in Adobe Acrobat Pro?
I want to convert image field value to a binary stream in adobe acrobat pro. I would get the image path say("C\temp\test.jpg")
and then set to bar code as binary file so as to get the image while reading from the bar code.
Saw below code
this.importIcon("myIcon", "/C/temp/myIcon.jpg", 0);
var oIcon = util.iconStreamFromIcon(this.getIcon("myIcon"));
app.addToolButton({
cName: "myButton",
oIcon: oIcon,
cExec: "console.println('My Button!');",
cTooltext: "My button!",
nPos: 0
});
But how to set it to bar code.