v.19.5Bug Fixes

Fixed Possible Crash in Bitmap* Functions #5220 #5228 (andy Yang)

Fixed possible crash in bitmap* functions #5220 #5228 (Andy Yang)