Skip to content
@astroformats

AstroFormats

Open-source C++20 libraries for astronomical image formats: XISF today, FITS and SER next. Safe on untrusted input, fast, thread-safe.

AstroFormats

Open-source C++ libraries for the file formats of astronomical imaging. Each one is written from the published specification of its format, treats every file as untrusted input, and has an API that does not depend on any application.

Library Format Status
OpenXISF XISF 1.0, the Extensible Image Serialization Format of PixInsight Stable: 1.1.0
OpenFITS FITS 4.0, the Flexible Image Transport System Stable: 1.0.0
A SER library SER, the video format of planetary and lunar capture Planned

What they share

  • Conformance. Each library follows its specification, and is tested against files written by other implementations.
  • Safety. Sizes, offsets and counts are checked before they are used, within limits that the application can set, and the parsers are fuzzed.
  • Speed and threads. No mutable global state: one file can be read from several threads at once, and built with oneTBB, decoding also runs in parallel within one call.
  • Compatible output. Writers default to what every reader of the format understands; compression and checksums are opt-in.
  • Plain C++20. Standard CMake, dependencies through find_package, on Linux, Windows and macOS.
  • Apache-2.0.

Contributing

Issues and pull requests are welcome in the repository of each library. Please report security problems privately, through the "Report a vulnerability" button of its Security tab.

Popular repositories Loading

  1. openxisf openxisf Public

    Open-source C++ library for reading and writing XISF, the Extensible Image Serialization Format used by PixInsight. Written from the specification and aiming for full conformance with XISF 1.0 Revi…

    C++ 1

  2. openfits openfits Public

    OpenFITS is a C++20 library for reading, writing and editing FITS, the Flexible Image Transport System, the standard file format of astronomy.

    C++ 1

  3. .github .github Public

    Profile and defaults of the AstroFormats organization

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…