troubleshooting Question

Detect Image Format wuthout knowing its extension

Avatar of Nasser Hamdan
Nasser HamdanFlag for United Arab Emirates asked on
Web Development.NET ProgrammingVisual C++.NET
2 Comments1 Solution664 ViewsLast Modified:

I need a .Net code that allow me to detect the image type (PNG, JPG, GIF ..etc) , if i dont know its extension.
For example i have lots of files named as 123.1 ,,134.1 and they are actually TIff, JPEG files so how to deetct their extensions??


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros