I want to find out if it's possible to check if an image file like JPEG, PNG, GIF or BMP is safe and don't have a virus in it.

I want to filter an image file before I send them to sandbox to check if it's not suspicious and I know its safe file.
The response from the sandbox takes 2-3 minutes and I want to reduce the time if I can filter some files that definitely clean.

Is there a method to find out if an image file is definitely safe?