How to use convert to PNG node?

Hello, I’m trying to create a PNG of a screenshot on runtime that exists only as a byte array so I can encode it in base64 and send it to a server.
I can’t use the take screenshot or export render target on my project and then read the exported file since it’s going to run on html5 and it apparently can’d be made to work.
One option that’s apparently available is the convert to PNG node since that returns a byte array that I should be able to use.
My problem is that when I connect a Render Target to it there’s an error that says it only supports UAppleImageInterface derived textures. I have no idea how I could make it to create a UAppleImageInterface derived texture or modify an existing render target so it can function as input for that particular node, and googling wasn’t of any help either.
Any help or suggestion of how I could implement other way to create a png (or any image format) as a byte array would be appreciated.

Did you solve the problem?