Solved

Received a image file in an email with no extension.

Posted on 2016-10-30
2
127 Views
Last Modified: 2016-10-30
I received an image in an email but it has no extension.  
How can I determine what type of image file type this is?

There's gotta be a way of determining this.

I tried adding a JPG as an extension and it opened fine
I tried adding a PNG extension and it opened fine.  It can't be both!
0
Comment
Question by:brothertruffle880
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 41866272
I use Irfanview and it tells me if the extension is wrong and volunteers to change it to the correct one.  http://www.irfanview.com/
1
 
LVL 54

Assisted Solution

by:Joe Winograd, EE MVE 2015&2016
Joe Winograd, EE MVE 2015&2016 earned 250 total points
ID: 41866290
Two suggestions:

(1) Putting +1 on Dave's IrfanView suggestion. It will give a message like this:

IrfanView wrong file type
(2) This EE article shows how to do it for just about any file extension:
How to determine the type of file from its contents

> It can't be both!

True, but many imaging programs can open image files regardless of what the file extension is — and whether or not it is correct. Regards, Joe
1

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
Learn how to set up basic frames and paths in Prezi and understand the open space that Prezi allows you to create presentations in.
It’s easy to embed any of your public Prezi presentations on your website or social network to share with others. Learn how simple it is in this tutorial.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question