Your target image resource not must be paletted if you want to use blending.
This means using ImageCreateTrueColor() rather than ImageCreate().
(If your source is e.g. a jpeg and you've used ImageCreateFromJPEG(), the above is irrelevant.)
Your target image resource not must be paletted if you want to use blending.
This means using ImageCreateTrueColor() rather than ImageCreate().
(If your source is e.g. a jpeg and you've used ImageCreateFromJPEG(), the above is irrelevant.)