Error with Images from RICOH CX1

Dec 15, 2009 at 11:49 PM

Great Library, I got it running within minutes. Now I tried it with images from my canon cameras = No Problems. But it throws an except with images from my RICOH CX1. The exeception looks like this:

Unable to cast object of type 'System.String' to type 'System.Windows.Media.Imaging.BitmapMetadataBlob'.

at BitmapTagger.JpegTagger.LoadExif(BitmapMetadata metadata)
   at BitmapTagger.JpegTagger.Load(String filePath, Boolean loadExif, Boolean loadXMPExif, Boolean loadXMP, TagPrecedence precendenceOfTags)
   at BitmapTagger.JpegTagger..ctor(String filePath, Boolean loadExif, Boolean loadXMPExif, Boolean loadXMP, TagPrecedence precedence)
   at BitmapTagger.BitmapTagger.Create(String filePath, Boolean loadExif, Boolean loadXMPExif, Boolean loadXMP, TagPrecedence precedence)
   at BitmapTagger.BitmapTagger.Create(String filePath)
   at Client.Wpf.MainWindow.<>c__DisplayClass9.<ChangeFileNames>b__6(Object s, DoWorkEventArgs e) in D:\CodeplexProjects\minga\Client.Wpf\MainWindow.xaml.cs:line 91

 

Do you have any suggestions?

Thanks.

Coordinator
Dec 16, 2009 at 2:35 AM

Can you post the image? It sounds like either I'm casting a tag incorrectly or the RICOH CX1 is putting bad information in a tag.

Dec 16, 2009 at 8:13 AM

I uploaded the original file to this location ...

 http://cid-919e3a0a7f527028.skydrive.live.com/self.aspx/%c3%96ffentlich/2009/20091119^_160658.zip

Thanks for your support.

Coordinator
Jan 13, 2010 at 4:24 AM

I'm terribly sorry this is taking me so long to get to. This last month has been crunch time at work and I've had to rebuild my home development machine after my motherboard went out.  I'm hoping I can get on this in a week or so.

 

If you familiar with C# I'd also welcome you to look through the code and see what you think.