@JamesDriscoll,
Our development team investigated the issue. To set transparency for the filling picture, please use the next code example:
Presentation presentation = new Presentation(folderPath + "example.pptx");
for(IShape shape : presentation.getSlides().get_Item(1).getShapes())
{
if (shape instanceof IAutoShape)
{
IAutoShape picture = (IAutoShape)shape;
IImageTransformOperationCollection operationCollection = picture.getFillFormat().getPictureFillFormat().getPicture().getImageTransform();
for (int i = 0; i < operationCollection.size(); i++)
{
if(operationCollection.get_Item(i) instanceof AlphaModulateFixed)
{
AlphaModulateFixed alphaModulate = (AlphaModulateFixed)operationCollection.get_Item(i);
float currentValue = 100 - alphaModulate.getAmount();
System.out.println("Current value: " + currentValue);
int alphaValue = 40;
alphaModulate.setAmount(100 - alphaValue);
}
}
}
}
presentation.save(folderPath + "example_out.pptx", SaveFormat.Pptx);
API Reference: AlphaModulateFixed Class, ImageTransformOperationCollection Class