How to Edit an non-extension Picture?

First of all, ensure that the file isn't corrupted.

In Linux use file and in Windows use TrID to try and determine what format the file is.

Once you've done so you can add the appropriate extension and see if your viewers/editors are able to open it.