Author Topic: Save preview locations with image  (Read 3610 times)

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Save preview locations with image
« on: 2014 March 21 04:47:57 »
I am working on some enhancements [IMHO] of the script PropagatePreview.
 
Although the previews are saved as part of the project, I would like to be able to save them independently.

This can be done in the script, but I thought that maybe they could be saved as part of an image, for example as private FITS keywords or data array ?  I do not want to start a big discussion on FITS merits and issues, just to avoid doing useless work if such a feature is planned in the new future.
-- bitli

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Save preview locations with image
« Reply #1 on: 2014 March 21 11:36:18 »
We have plans to implement a new file format that will provide this functionality. Basically, the new format will be a subset of the current XOSM format for a single image with optional embedded or offline pixel data (maybe XISM, for XML Image Serialization Module). We have no plans to provide any additional functionality through the FITS format.

Bear in mind that previews are not really useful without their mother images and all the associated processing histories and stored states. Now if you try to implement all of that functionality and data resources using FITS keywords and FITS extensions, well, it is indeed possible, but does not make any sense IMO. An XML-based format is much more efficient and flexible.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/