How to convert appgyver take photo jpg to png format?

I am trying to add my take photo image to the xano database but the photo which is captured is by default in jpeg format and the xano database accepts png photo as a post operation. So how I can convert the image to png and is there any alternative way to take a picture and stored it into the xano database using api.