Does anyone know where I can find more infor on this component. I can only find the small example in the reference site but can't find any listing of the effects and their parameters that can be used beside the whirlpool effect in the example.
FYI, goto the Photo-Paint API and look under the CorelScript class for the various effect settings. Just follow the naming conventions used in the applyBitmapEffects sample and it should work, the last setting in the sample however doesn't appear in the settings and I suppose it is optional.
FYI, 2019 does not appear to work with some of the effects using this method. I am playing around with it to see what has changed and I ponder it may be due to the none destructive editing they introduced in Corel Draw. It is just a guess at this point.
Any progress with this? I'm trying to use Cd vba to apply an effect to a bitmap.
s.ConvertToBitmapEx cdrRGBColorImage, False, True, 150, cdrNormalAntiAliasing
s.Bitmap.ApplyBitmapEffects "Gaussian Blur", "GaussianBlurEffect GaussianBlurRadius=800,GaussianBlurResampled=0"
v.24 CorelDRAW2022 fixed the Gamma but I still can't get your code (or any other) to work in DRAW:
SharpenEffect nor AdaptiveUnsharpEffect Both seem to work fine in PAINT but I haven't figured out how to get that transferred to DRAW(?)