Add a basic pre-filling api.
Clean up util, make Bitmap size methods consistent