Solved

Received a image file in an email with no extension.

Posted on 2016-10-30
2
121 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
Joe Winograd, EE MVE 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

Suggested Solutions

Title # Comments Views Activity
Simple 3D CAD 18 134
Prototype / Wireframe App 3 157
Image Orientation On Website 6 61
scanning photo's 46 232
PaperPort is a popular document imaging/management product from Nuance Communications (http://www.nuance.com/). It is in widespread use by both individuals (http://www.nuance.com/for-individuals/by-product/paperport/index.htm) and businesses (http:/…
In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
The goal of the tutorial is to teach the user how to remove a natural vignette your photos and how to add vignette to your photos.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

734 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