Files ending in .jpg are generally safe, but scammers sometimes disguise malicious executable files using double extensions (e.g., .jpg.exe ).

If the file is on a website, right-click the image and select "Save image as..."

Look at the chat, email, or webpage where you first saw this file name referenced.