goldengel / exiflibrary

Automatically exported from code.google.com/p/exiflibrary
MIT License
0 stars 0 forks source link

ExifFile.Save gives NullPointerException on JPG having no APP1 block #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a JPG file with no APP1 block
2. Add an Exif key/value pair to the JPG
3. Try to use save method

What is the expected output? What do you see instead?
File should just save with with new APP1 block containing one key/value 
pair.  Instead, NullReferenceException occurs.

What version of the product are you using? On what operating system?
0.11 prealpha on Windows 7 using Visual Studio Express 10

Please provide any additional information below.
Only JPGs missing APP1 block fail.  Have found no other problems at this 
point.  Adding an Exif field, say through right-click properties editing 
on the Detail tab allows JPG to be processed by Exif library with no 
problems.

Original issue reported on code.google.com by gdhu...@gmail.com on 26 Apr 2010 at 1:07

GoogleCodeExporter commented 8 years ago
Can you please post a sample image?

Original comment by oozcitak on 18 Jun 2010 at 9:02

GoogleCodeExporter commented 8 years ago
I can't reproduce this issue. Closing.

Original comment by oozcitak on 6 Oct 2010 at 9:09