Bug #91967
closedProperties width and height are not extracted to meta data for PDF files
100%
Description
TYPO3 can be configured that pdf files are "image files", so that a thumbnail is generated for them
using imagemagick. But during meta data extraction width and height of pdf files are not extracted
because the mime type of pdf files is not image/* but the indexer checks for this type.
Instead the isImage method on the file should be used to trigger extraction of width and height.
imagemagick can do this with the identify command.
While the exact pixel values do not matter much for a PDF, the ratio of width and height (langscape or protrait or even square) can be very useful to "know".
Updated by Gerrit Code Review about 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65277
Updated by Gerrit Code Review about 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65296
Updated by Helmut Hummel about 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4bf6ac54ca035201cb4fe097636f62849d896002.
Updated by Gerrit Code Review about 4 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65323
Updated by Helmut Hummel about 4 years ago
- Status changed from Under Review to Resolved
Applied in changeset 44ad9489dc322bd06aa7b2a38eb8e2681ff4b21b.
Updated by Georg Ringer almost 4 years ago
- Related to Bug #92287: After upgrading to ver. 9.5.21 uploading of pdf files causes an exception added