Buffer inBuffer = getBufferList().bufferByName(inputName);
if (inBuffer != null && inBuffer.getBufferType() == BufferType.IMAGE) {
img = inBuffer.getImage();
}
}
transformer.applyPreset(presetName, img);
}
}
public void applyCreatorPreset(String presetName) {
ImageCreator creator = scriptProcessor.getCreator();