Skip to content

Extracting keywords from Exif segment #1759

Closed
@Nazar65

Description

@Nazar65

Description (*)

after magento/magento2#29576 will be merged

There is two fields where keywords can be extracted:
1. Exif.Photo.UserComment
2. Exif.Image.XPKeywords

the second one per documentation is related only for WINDOWS XP guys, but there is no standard filed for keywords

Need to decide wich field we will using for extracting Keywords from Exif data, but as per description to 'Exif.Photo.UserComment'

A tag for Exif users to write keywords or comments on the image besides those in <ImageDescription>, and without the character code limitations of the <ImageDescription> tag.

i would prefer to use this file.

reference to official documentation https://exiv2.org/tags.html

After the field will be chosen, need to modify readers to extract keywords

  1. app/code/Magento/MediaGalleryMetadata/Model/Jpeg/Segment/ReadExif.php
  2. app/code/Magento/MediaGalleryMetadata/Model/Png/Segment/ReadExif.php

Metadata

Metadata

Labels

BackendComplexPriority: P3May be fixed according to the position in the backlogSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions