rlancaste / stellarsolver

GNU General Public License v3.0
93 stars 47 forks source link

Support TIFF Files #140

Open timsurber opened 6 months ago

timsurber commented 6 months ago

The astrophotography community uses TIFF files quite often. Currently it is already supported, but only after installing qt5-image-formats-plugins . I did not find an easy way to do this on windows.

I see three ways to do this

  1. Statically compile it into the binary. I'm not quite sure how this works with licensing
  2. Ship it seperate but to the binary.
  3. Add a note to the README that the has to install the library

I would be open to implement it.

rlancaste commented 6 months ago

StellarSolver is primarily a library and as such does not care about what file types are used, it should be internally used in programs and just receives already prepared image buffers. I agree that for the tester program, the demos, and the CLI program you added, tiff support is important there since I myself have often used tiff. I do not recall having an issue with qt5-image-formats-plugins on Windows for my tester program. Were you using Craft to build the windows program, Qt creator, or some other method?