Solved

Image file types for Image.fromfile

Posted on 2009-06-28
11
188 Views
Last Modified: 2012-05-07
Hi,

I'm unable to find anywhere the file types that image.fromFile can successfully load, anybody know of one?

Thanks,
Uni
0
Comment
Question by:Unimatrix_001
  • 6
  • 4
11 Comments
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24731390
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24731399
hi Unimatrix_001 ,

                          Check  these useful links.

Image.FromFile Method (String, Boolean):

http://msdn.microsoft.com/en-us/library/4sahykhd.aspx

Image.FromFile Method:

http://msdn.microsoft.com/en-us/library/system.drawing.image.fromfile(VS.71).aspx
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24731401
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 3

Author Comment

by:Unimatrix_001
ID: 24731409
Hi,

Thanks for the responses, but none of those links are relevant to the question at all?

Thanks,
Uni
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24731425
How to Load Image From File System in C#:

http://www.vcskicks.com/image-from-file.php
0
 
LVL 3

Author Comment

by:Unimatrix_001
ID: 24731428
Please stop giving 'solutions' as I don't think you have read the question at all!
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24731438
hi Unimatrix_001,

                        Sorry for my above comments, I could not 100% under stand your question.

Thanks.
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 24731657
Valid image formats should be as define in ImageFormat class:
http://msdn.microsoft.com/en-us/library/system.drawing.imaging.imageformat_members.aspx
0
 
LVL 3

Author Comment

by:Unimatrix_001
ID: 24731661
Excellent, thank you. :)
0
 
LVL 3

Author Closing Comment

by:Unimatrix_001
ID: 31597689
Thank you. :)
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24731676
hi jaime_olivares,

                           Thanks for good Solution.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

830 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