add base64 and bitmap convert method