Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
jchoi  
#1 Posted : Thursday, May 15, 2008 3:03:34 AM(UTC)
jchoi

Rank: Newbie

Groups: Member
Joined: 3/10/2008(UTC)
Posts: 6

We have a lot of files that trigger an exception of type Aurigma.GraphicsMill.Codecs.MediaUnsupportedException with the message "The media format is not supported."

I've attached four of the files as a sample.

The error occurs when I try to load the file into a Aurigma.GraphicsMill.Codecs.JpegReader object.

The work-around is to load the file into a Bitmap object and then save the stream. The resultant stream can then be loaded into a JpegReader. But, this work-around destroys the purpose of using a JpegReader (less memory usage).

Interesting to note: these photos do NOT display in IE 7, but they do display in Firefox 2. So, Aurigma is not the only software that doesn't like my jpgs.

The stacktrace is simple:
at Aurigma.GraphicsMill.Codecs.FormatReader._Open(Stream stream)
at Aurigma.GraphicsMill.Codecs.JpegReader..ctor(Stream stream)
jchoi attached the following image(s):
unsupported1.jpg
unsupported2.jpg
unsupported3.jpg
unsupported4.jpg
jchoi  
#2 Posted : Thursday, May 15, 2008 3:05:40 AM(UTC)
jchoi

Rank: Newbie

Groups: Member
Joined: 3/10/2008(UTC)
Posts: 6

Oh yeah. I am using a trial version of GraphicsMill v5.

And this is interesting, the photos do show up on the above post in IE 7. I hope this attachment uploader doesn't modify the bits of the files.

Edited by user Thursday, May 15, 2008 3:07:20 AM(UTC)  | Reason: Not specified

Alex Kon  
#3 Posted : Friday, May 16, 2008 8:43:57 PM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Administration
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

It seems that the images you attached actually have BMP file format. Thats why they cannot be loaded via JpegReader, however I still cannot understand why you are able to load them from memory stream...
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.