When I try using TBgraBitmap.Resample, the resulting bitmap is blank.
When I try using TBgraBitmap.CanvasBgra.CopyRect, the result is... very messed up. (I'm going to guess that it expects the source and dest rects to be the same size, and only maybe differ in position?)
So - what's the best way to achieve resizing an image? I'm not really fussed as to whether it can resize the same TBgraBitmap object or if it needs to output the result to a different one; I can work with either way. Likewise, I can work with either "take a region SrcRect from a source image and draw it to a region DstRect on a destination image, where SrcRect and DstRect are of different sizes", or "change the dimensions of a TBgraBitmap object while properly resizing the image it contains to the new dimensions".