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

EXIF viewer #46

Open
johnnychen94 opened this issue Feb 5, 2022 · 3 comments
Open

EXIF viewer #46

johnnychen94 opened this issue Feb 5, 2022 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@johnnychen94
Copy link
Member

A shortcut might be to write another julia wrapper for https://github.com/libexif/libexif. I'm not sure whether LGPL license will be an issue, can we license the wrapper package, say, EXIFViewer.jl, with MIT license?

@johnnychen94 johnnychen94 added enhancement New feature or request help wanted Extra attention is needed labels Feb 5, 2022
@timholy
Copy link
Member

timholy commented Feb 6, 2022

I think so, but the folks at BinaryBuilder would surely be able to give you a more authoritative answer.

Since EXIF seems derived from TIFF, I suspect we could also do this in native Julia by leveraging our amazing TiffImages.jl. (CC @tlnagy)

@johnnychen94
Copy link
Member Author

Since EXIF seems derived from TIFF, I suspect we could also do this in native Julia by leveraging our amazing TiffImages.jl.

Not exactly as far as I could tell; EXIF metadata can be obtained in JPEG (not JPEG 2000), TIFF, and also PNG according to https://en.wikipedia.org/wiki/Exif. But having each IO background to support its own format via something like exif_open(filename) do ... end and aggregating the functionalities in ImageIO sounds like also a good solution.

I have little knowledge (or interest, or time) in photographic images so I leave this as a GSoC project in JuliaLang/www.julialang.org#1532 in case there are brave new mind who wants to explore this.

@tlnagy
Copy link
Contributor

tlnagy commented Feb 7, 2022

Since EXIF seems derived from TIFF, I suspect we could also do this in native Julia by leveraging our amazing TiffImages.jl. (CC @tlnagy)

This is my understanding as well, but I'm no expert on EXIF. Looks like you could re-use a lot of the architecture from TiffImages.jl since EXIF follows the same logic. Maybe some of the tag-handling infrastructure in TiffImages.jl could be pulled into a new package that both TiffImages.jl and EXIFIO.jl could import and use?

EDIT: Looks like I already have a bunch of EXIF tags supported in TiffImages.jl: https://tamasnagy.com/TiffImages.jl/stable/lib/extend/tags/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants