I've tried fixing the problem with this code:
var bmp := TIEBitmap.Create(ImageEnView1.IEBitmap);
try
// Resize the current bitmap image to 250x250 with a shadow and no border
bmp.IEConvertToThumbnail(
250, 250, // MaxX, MaxY
True, // StretchSmall
rfLanczos3, // QualityFilter
False, // bAddBorder
clBlack, // cBorderColor
TRUE, // bAddShadow
5, // iBlurRadius
1, // iShadowOffset
clBlack, // cShadowColor
clFuchsia); // cBGColor
bmp.SetTransparentColors(clFuchsia, clFuchsia, 0);
ImageEnView1.IEBitmap.Assign(bmp);
ImageEnView1.Update;
finally
bmp.Free;
end;
However, it does not work because the shadow color overlaps the Fuchsia color.
Is it possible to make the cBGColor transparent despite the shadow or to make the whole shadow semi-transparent?
By the way, a "Buttonize" effect would be helpful, where the thumbnail looks like a button with 3-dimensional beveled edges.