leocode/image-service

Endpoints to retrieve image and video metadata

Closed this issue · 0 comments

Endpoints should be independent of rest which are using different libraries to process media because in this case, we want to use exiftool. At this moment I have in mind two possible paths to integrate with it:

Some POC should be performed to decide which one to use.

Endpoints to implement:

POST /image/metadata
POST /video/metadata

Both services should process media from request but return different kinds of data (ofc json format).

image

  • dimensions
  • mimetype
  • orientation (landscape/portrait)

video

  • dimenstions
  • video length
  • mimetype
  • orientation (landscape/portrait)

And more (if somebody has ide please write it down inside this issue).

Some tests with sample media should be implemented.