Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • John Bergman 483 posts 1132 karma points
    Jun 14, 2017 @ 02:15
    John Bergman
    0

    Examine search of Exif data in images

    Anyone have Examine searching Exif data? If so, how did you manage to get it implemented?

  • James Jackson-South 489 posts 1747 karma points c-trib
    Jun 14, 2017 @ 03:57
    James Jackson-South
    1

    Hi John,

    I've never heard of anyone doing this but here's how I would go about it.

    1. Get hold of a metadata extractor that can read your image stream. This should do it.

    2. Create a custom media type based on the default image type that has extra properties to hold the data you need.

    3. Create an eventhandler for MediaService.Saved that extracts the metadata creates a new instance of your custom type, and extracts the EXIF data to that type saving it whenever an image is saved.

    4. Create an eventhander for GatheringNodeData that you can use to add the data from your properties to the examine index

    There's a fair whack of code to write but it should all be possible.

Please Sign in or register to post replies

Write your reply to:

Draft