Ticket #1045 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Add source string metadata to ImgPlus

Reported by: curtis Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: ImgLib2 Version:
Severity: minor Keywords:
Cc: Blocked By:
Blocking: #547, #649

Description

For saving a file, it is nice to know where it came from. We should add a "String source" metadata field to ImgPlus, which gets populated by the ImgOpener, that the ImgSaver can then reference in case of File > Save to overwrite the same file. File > Save As would also update this field with the new filename.

Two parts to this:

  1. Add the field to ImgPlus
  2. Update ImgOpener to populate the field

Also, ticket #649 will utilize it as described above.

Change History

comment:1 Changed 7 years ago by curtis

  • Blocking 649 added

comment:2 Changed 7 years ago by curtis

  • Blocking 547 added

comment:3 Changed 7 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

ImgPlus updated with setSource() and getSource() in imglib commit 8e7af9
Added to DefaultDataset in ImageJ2 commit f856202eaab58f55c5a92c2f3e5784fd26e825a5

Note: See TracTickets for help on using tickets.