C# images

  • Thread starter Thread starter wanderer
  • Start date Start date
W

wanderer

I have a collection of jpegs that I can view under
default windows preview applications (paint, windows
picture viewer, MS photo editor, etc.). However, if I
call
Image img = new Bitmap(path + "\\" + name);
I get an exception. The code works with most jpegs, but
seems to have issues with a few.. do you think there's
something wrong with the jpegs or the code? Is there
something else I can use other than Bitmap() to generate
jpeg images? Thanks.
 
How large are the files?, were they created with the same application? Do
they display in Pocket IE on the device?

Peter

--
Peter Foot
Windows Embedded MVP

In The Hand
http://www.inthehand.com
 
Can you please post the images? I'll track down what's happening.


Seth Demsey
Lead Program Manager
..Net Compact Framework

This posting is provided "AS IS" with no warranties, and confers no rights.
 
You can attach 2-3 50K images to your post in this NG and put the words
[Attachment] into the subject - no harm in that if asked by support
personnel
 
I'm a newbie to these newsgroups.. how do I attach a file
to my reply? I only see an option to send or cancel..

-----Original Message-----
You can attach 2-3 50K images to your post in this NG and put the words
[Attachment] into the subject - no harm in that if asked by support
personnel

wanderer said:
I currently do not have a server available to upload the
jpegs. Is there a public one I can upload them to? Or
someone I can email them to? otherwise, later tonight I
can see if my friend will host them for me. Thanks.

what's
happening. and
confers no rights.


.
 
Send me an email with those images. I'll forward it to Seth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top