Author Topic: Filename does not display after saving  (Read 511 times)

Offline PHannah

  • Newcomer
  • Posts: 13
Filename does not display after saving
« on: 2019 July 29 01:20:41 »
Sometimes after I do Save As on an image, the file name at the top of its window remains as <*new*>

Other times it correctly displays the file name I just saved.

Can anyone tell me why this is?

Thanks
Peter.

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Filename does not display after saving
« Reply #1 on: 2019 July 29 02:02:33 »
Hi Peter,

This is normal behavior (modulo bugs, but a bug is extremely unlikely here). When you save an image using a format that is not able to store or represent accurately all of the existing data and metadata in the image, its modified state is not cleared and the file path of the newly created (or overwritten) file is not associated with its image window. The purpose of this feature is to protect your data from degradation. For example, this happens when you save a 32-bit floating point image in JPEG format, which uses a lossy compression codec and can only store 8-bit integer pixels. Or if your image has properties, such as an astrometric solution, and you save it in a format different from XISF or FITS.

This feature is called strict file save mode, and is enabled by default. You can disable it with Preferences > File I/O Settings > Strict file save mode. However, disabling this option is *strongly* discouraged.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline PHannah

  • Newcomer
  • Posts: 13
Re: Filename does not display after saving
« Reply #2 on: 2019 July 29 07:58:12 »
Thank you Juan, that certainly explains it. I was using FITS, not XISF.

Peter.