#compsci 

**FITS (Flexible Image Transport System)** is an open standard defining a digital file format used for storage, transmission, and processing of data: formatted as multi-dimensional arrays (e.g. a 2D image), or tables

Most commonly used digital file format in astronomy

First standardized in 1981

Format versions are backward compatible

Designed with an eye towards long-term archival storage

FITS can also be used to store non-image data


## In Python
Using the [[AstroPy]] and [[PIL]] libraries:
![[Pasted image 20260309235514.png]]
![[Pasted image 20260309235533.png]]