Ticket #1045 (closed enhancement: fixed)
Opened 2012-03-05T10:30:38-06:00
Last modified 2012-03-07T12:53:58-06:00
Add source string metadata to ImgPlus
Reported by: | curtis | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
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:
- Add the field to ImgPlus
- Update ImgOpener to populate the field
Also, ticket #649 will utilize it as described above.
Change History
comment:3 Changed 2012-03-07T12:53:58-06:00 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