Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Errors occurring with exif-collect - missing image width/height #49

Open
blalbrit opened this issue Nov 16, 2016 · 2 comments
Open

Errors occurring with exif-collect - missing image width/height #49

blalbrit opened this issue Nov 16, 2016 · 2 comments
Labels

Comments

@blalbrit
Copy link
Contributor

Error message: "exif-collect : undefined method `image_width' for nil:NilClass"

This error has been cropping up sporadically lately - see: https://argo.stanford.edu/catalog/druid:bf129yg5332 for example

A quick check on underlying content shows that imagemagick is not retrieving available exif data

  • in /dor/assembly/bf/129/yg/5332/bf129yg5332/content
  • run identify -verbose SABCPA1F0300000010.JPG
  • NOTE: no exif info produced
  • run exiftool -a -u -g1 filename SABCPA1F0300000010.JPG
  • returns "Image Width : 962
    Image Height : 1533"

Looks like the data is in the file headers but is not being retrieved by exif-collect.

@blalbrit blalbrit added the bug label Nov 16, 2016
@blalbrit
Copy link
Contributor Author

I've modified this particular object while trying to diagnose the problem. Additional examples can be found here: https://argo.stanford.edu/catalog?f%5Bproject_tag_ssim%5D%5B%5D=SabinAmericana&f%5Bwf_wps_ssim%5D%5B%5D=assemblyWF%3Aexif-collect%3Aerror&page=1

@blalbrit
Copy link
Contributor Author

Based on the experiment mentioned above, this seems to occur only on some image files, not on entire objects. In the current batch (see link above), these are the first image in an object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant