Skip to content

Allow comments in FITS images#6973

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:fits
Feb 25, 2023
Merged

Allow comments in FITS images#6973
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:fits

Conversation

@radarhere
Copy link
Member

Resolves #6972

https://fits.gsfc.nasa.gov/fits_primer.html states that

Each header unit contains a sequence of fixed-length 80-character keyword records which have the general form:

KEYNAME = value / comment string

This PR removes the comment string when determining the value.

@hugovk hugovk merged commit 7d91efd into python-pillow:main Feb 25, 2023
@radarhere radarhere deleted the fits branch February 25, 2023 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot identify .fits file

2 participants