Photo recovery but for a renamed photo with .BAK extension

Seems like most extension based file recovery apps on playstore only supports for rooted phone. Most photo recovery works fine but the file I deleted was renamed with a .bak extension. So I wonder if there is app that can recover extension based files even if its not rooted?

Or would the photo recovery apps detect the .bak file extension as image and still recover it as photo?