Now the code is correct. Should work, unless file path in CreateGdPictureImageFromFile line is incorrect.
Maybe the component it is not free, and must be registered somehow.
Maybe the component it is not free, and must be registered somehow.