TIFF files do not contain all the metadata that FITS contain

Issue #424 closed
Shlomi Vaknin created an issue

I wanted to save my files in tiffs instead of fits, and it seems that the tiff files do not store the metadata that is stored with fits files (picture parameters, camera, weather, etc).

Any plans of this to be added?

Comments (7)

  1. Shlomi Vaknin reporter
  2. Dale Ghent

    Can you point to any other astronomy software that recognizes and utilizes FITS-like keyword metadata in TIFF files?

  3. Shlomi Vaknin reporter

    Hi Dale, thanks for responding! I hope you are not getting discouraged by me opening all these tickets. I am really enjoying your software and only thinking about ways to make it even better!

    To your question, it seems that AstroPixelProcessor is attempting to utilize these fields as one example (that is how I found out).

    Honestly though, I am not entirely getting the purpose of the questions: All the information is already there, the mechanism to put it in the image is already there, it seems like one of the lowest hanging fruits in this project that will make the different formats act in a standard way.

    If tiff is a choosable option, it should be expected that some users will choose to use it if it fits their workflow (no pun intended!). Why should these users, not only get a degraded experience by using a perfectly valid choice, but actually lose information that may be really useful to them in an unrecoverable way, for no real technical reason? (at least as far as I understand)

    I think all formats, as long as it is technically possible and does not introduce unneeded complexity to the code, should provide the same standard experience and be interchangeable.

    Does this makes sense?

  4. Dale Ghent

    TIFF is provided as an option in NINA to serve as a sort of “format of last resort.” It’s for those who do not utilize a traditional astrophoto processing toolchain where FITS is already the lingua franca, such as someone who goes directly from camera to Photoshop and/or Lightroom. This metadata isn’t understood there unless the user also makes their own tooling to make use sense of it… and if they are doing something that requires the ability to grok this information, then their purposes would be probably be better served using a FITS-oriented toolchain anyway.

    Currently there is no discernible or published standard for embedding FITS-like keywords into TIFF images, where there are entities who maintain such standards for FITS and XISF. I’m hesitant to put effort into this in the absence of such standards and if there is nothing that will actually utilize the information in a meaningful way. Is there a reason why you cannot use FITS files in APP?

  5. Shlomi Vaknin reporter

    No, the reasons that I’d like to use TIFF format is not related to an astro program, I was just giving it as an example of an astro program that looks for these metadata items in the tiff. I see your point about the lack of standard, but in my opinion there is nothing to lose by including this metadata in the tiff file, and I there is some to loose for those who may need it by not having the metadata present. I can’t see how having this information in the metadata can cause problems, on the flip side, if it is retained it will be valuable to whoever does choose to have a non-standard workflow.

  6. Stefan B repo owner

    When headers are required, the FITS and XISF standard provide a much better way to store them and astronomy related image readers can process these keywords in a standardized pattern. No need to invent something for TIFF.

  7. Log in to comment