Review TYPO3_6-2 Merged

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

Markus Klein CR +2 V +2 Easy +26 −4 updated 04/04/15, 11:23

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