How we can access this add image properties using Java script.
You don't. JS can only add an image to a file in one of two ways:
- Adding it as the icon of a button field (and then flattening it), using buttonImportIcon.
- Adding it as the background layer, using addWatermarkFromFile.