Review main Merged

38468[BUGFIX] Add imageMagickIdentify fallback to ImageInfo::getImageSizes()

Frans Saris CR +2 V +2 Easy +29 −5 updated 04/04/15, 11:05

Commit message

ImageInfo::getImageSizes() uses getimagesize() to determine the image dimensions. But for pdf and svg files this fails.

This patch add a fallback to GraphicalFunctions::imageMagickIdentify()
when getimagesize() doesn't give any results.

This patch also changes the Indexer::extractRequiredMetaData() as is
had the same issue. It now used the ImageInfo object.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2