openpreserve / jhove

File validation and characterisation.
http://jhove.openpreservation.org
Other
161 stars 78 forks source link

Error when Image Height and Width is null #897

Closed samalloing closed 4 months ago

samalloing commented 5 months ago

Hi @carlwilson ,

I created a small pull request to make parsing of Image Height and Width more robust. In the arlington model they are required attributes of XObject Image, so that's why it is an error (and not a warning)

Sam

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 47.00%. Comparing base (5ea5467) to head (c64e495). Report is 1 commits behind head on integration.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## integration #897 +/- ## ============================================== Coverage 47.00% 47.00% Complexity 1100 1100 ============================================== Files 57 57 Lines 9079 9079 Branches 1622 1622 ============================================== Hits 4268 4268 Misses 4280 4280 Partials 531 531 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.