dataimg-dimensionsHelper functions for getting dataURL image dimensions width and height from a base64 string