Developing a thumbnail extension for a custom file type in my iOS app. I am using a WKWebView to render an HTML string and then capturing a snapshot of the WKWebView to use