Skip to content

add support for FileIO's new metadata method#714

Merged
johnnychen94 merged 1 commit intoJuliaImages:masterfrom
bjarthur:bja/metadata
Jul 4, 2021
Merged

add support for FileIO's new metadata method#714
johnnychen94 merged 1 commit intoJuliaImages:masterfrom
bjarthur:bja/metadata

Conversation

@bjarthur
Copy link
Copy Markdown
Collaborator

JuliaIO/ImageMagick.jl#111 might have to be merged and tag for this to pass tests.

@bjarthur
Copy link
Copy Markdown
Collaborator Author

bjarthur commented May 14, 2018

the relevant PRs to ImageMagick and FileIO are now merged. this PR should work (i.e. pass tests) after they are both tagged.

@Evizero
Copy link
Copy Markdown
Member

Evizero commented May 14, 2018

Thanks! Can you (or someone) post here when the tags are in metadata? I will then retrigger CI and merge

Oh, speaking of tags, the minimum version of FileIO would then need a bumb in REQUIRE. But I could also take care of that little detail after this PR is merged

@bjarthur
Copy link
Copy Markdown
Collaborator Author

please retrigger CI as FileIO and ImageMagick have been tagged:

JuliaLang/METADATA.jl#15632 (comment)
JuliaLang/METADATA.jl#15257

thanks!

@bjarthur bjarthur closed this Aug 1, 2018
@bjarthur bjarthur reopened this Aug 1, 2018
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 1, 2018

Codecov Report

Merging #714 (f3e49ec) into master (a80031e) will not change coverage.
The diff coverage is n/a.

❗ Current head f3e49ec differs from pull request most recent head d170ee3. Consider uploading reports for the commit d170ee3 to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master     #714   +/-   ##
=======================================
  Coverage   85.96%   85.96%           
=======================================
  Files           9        9           
  Lines        1026     1026           
=======================================
  Hits          882      882           
  Misses        144      144           
Impacted Files Coverage Δ
src/Images.jl 14.28% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a80031e...d170ee3. Read the comment docs.

@bjarthur
Copy link
Copy Markdown
Collaborator Author

bjarthur commented Aug 1, 2018

running CI again

@bjarthur
Copy link
Copy Markdown
Collaborator Author

bjarthur commented Aug 1, 2018

tests pass on julia 0.6 for windows and linux. quartzimageio.jl just needs metadata support for this PR to work on os x...

@rsrock
Copy link
Copy Markdown
Collaborator

rsrock commented Aug 15, 2018

Is there any reason this has to be in Images? I have a few issues:

  1. metadata is too useful of a name to grab of this. I use it all the time for more elaborate information about experimental conditions. Something like imgsize and imgtype may be better? I wold also suggest not exporting these names.

  2. I don't think that QuartzImageIO can be refactored to separately grab image info, then the image data, without repeating a lot of work. It would be like peeling an onion to get to that layer you want (with the metadata), reassembling it, then peeling it again to a deeper layer to get the data. I don't look forward to that 😄

@timholy
Copy link
Copy Markdown
Member

timholy commented Oct 5, 2018

I think I'm with @rsrock on this one. As a non-exported method of ImageMagick it's fine, but as a general method it would need a more specific name.

@bjarthur
Copy link
Copy Markdown
Collaborator Author

bjarthur commented Oct 8, 2018

i've removed the export of metadata and modified the tests accordingly. can think about an alternate name if desired at another time.

@johnnychen94
Copy link
Copy Markdown
Member

johnnychen94 commented Jul 4, 2021

Oops... I made a mistake by accidentally dropped the commits when resolving the conflicts locally. @bjarthur do you happen to have a local copy of it?

Edit:

Found it back using git reflog and git reset --hard command (from https://stackoverflow.com/questions/134882/undoing-a-git-rebase)

@johnnychen94 johnnychen94 merged commit cfa2270 into JuliaImages:master Jul 4, 2021
@bjarthur bjarthur deleted the bja/metadata branch July 4, 2021 12:16
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

Successfully merging this pull request may close these issues.

5 participants