Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retrieving image metadata #23

Open
yakir12 opened this issue Nov 9, 2017 · 3 comments
Open

retrieving image metadata #23

yakir12 opened this issue Nov 9, 2017 · 3 comments

Comments

@yakir12
Copy link

yakir12 commented Nov 9, 2017

In the interest of at least mentioning this:
Wouldn't it be nice to be able to load an image and get all its metadata? Would you be interested in a PR where this is done with exiftool by "shelling out", to begin with, and then later on, hopefully, by calling exiftool's libraries directly (if that's even possible)?

@timholy
Copy link
Member

timholy commented Nov 9, 2017

Yes, that's potentially quite interesting.

Unless things have changed since our early experiments with ImageMagick, shelling out is really slow. If you have a folder of 1000s of images you'll be grumpy. But seems like a fine way to start.

If you do decide to tackle the library, docs are here. You could use ImageMagick as a model, but in many ways QuartzImageIO might be cleaner; the ImageMagick library is just a little painful.

@ashwanirathee
Copy link
Member

Hey Tim and Yakir,
I was thinking of streamlining the metadata support by using exifviewer and ImageMetadata.jl together

julia> using Colors, ImageMetadata, Dates
## so what I am thinking is read the image and directly provide them in (RGB ImageMeta) format to streamline the experience
julia> img = ImageMeta(fill(RGB(1,0,0), 3, 2), date=Date(2016, 7, 31), time="high noon") 
RGB ImageMeta with:
  data: 3×2 Array{RGB{N0f8},2} with eltype RGB{N0f8}
  properties:
    date: 2016-07-31
    time: high noon

I wanted to know what you guys think of it and how should we do it. Johnny told me that Tim uses it for medical image processing, so wanted to know how you currently work it out with associated metadata?

@johnnychen94
Copy link
Member

CRef: this exifviewer project is part of the GSoC'22 project JuliaImages/Images.jl#1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants