# How can I see whether my sprite is .png or .jpg in the Inspector view or some place alike in Unity?

How can I see whether my sprite is .png or .jpg in the Inspector view or some place alike in Unity?

Here is an example of me trying to get the file extension using Editor:

• Why would you need this anyways? – Charanor Jun 25 '17 at 11:09
• @Charanor, the reason I asked it because if it is possible to get the extension through only Editor that means I do not know the way to do it. So, if the way exists I hope to find a new, maybe very small and not that significant, Unity Editor capability which will enable me to some stuff I was not enabled before. In a shell, being able to get such info using only Editor extends my knowledge about Editor, so it is mostly just about proficiency while exploiting the Editor. – Yaroslav Jun 25 '17 at 11:31