
Before trying Bayer patterns until a Siril image looks plausible, inspect the FITS file's row-order declaration. TOP-DOWN and BOTTOM-UP storage change the color-filter pattern's relationship to the pixel rows. Rotating a completed RGB image cannot substitute for decoding that mosaic correctly.
Separate the sensor pattern from file orientation
Record the camera's actual CFA arrangement and the acquisition software that wrote the FITS file. Retain an untouched capture.
The Siril 1.4.4 FITS reference gives RGGB becoming GBRG under an upside-down arrangement as an example of the problem. That is not a universal instruction to replace RGGB with GBRG. The required interpretation depends on the real arrangement and storage convention.
A finished photo's EXIF rotation instruction describes another mechanism. Do not transfer that JPEG-oriented fix to raw CFA decoding.
Inspect ROWORDER without inventing a value
The official reference documents the FITS keyword ROWORDER, whose values are BOTTOM-UP and TOP-DOWN. Siril's displayed orientation and the declaration supplied by the producer need to be understood together.
Inspect the header information and consult the acquisition program's documentation. A missing keyword is an information gap; an unattractive color rendition does not establish which value should have been recorded.
Do not mass-edit original headers based on trial-and-error color preference. If the producer wrote incorrect or incomplete information, correct the acquisition configuration or work from a preserved copy with a defensible interpretation.
Decode the original mosaic again
Once the pattern and row convention are established, repeat the appropriate demosaicing from the retained source. Compare recognizable colored features and fine edges under consistent processing.
This is not the same as choosing a sharper demosaicing algorithm. The demosaicing comparison guide assumes the input sensor model has already been identified; a wrong mosaic interpretation can undermine that entire comparison.
Avoid balancing away a decoding error with aggressive color adjustments. An apparently acceptable neutral region is weak evidence if other colors or fine patterns remain implausible.
Retain the interpretation with the source
Record the camera pattern, producer, row-order evidence and processing version. Inspect more than one capture before extending a correction across a session.
If the producer's convention remains unknown, report it as unresolved instead of labeling a preferred rendering correct. No FITS header was modified and no camera mosaic was decoded for this guide. The proposed acceptance checks concern a documented interpretation boundary, not measured camera color accuracy.
Related tasks
- Why Does My Uploaded Photo Rotate Sideways?
- Why Do Fine Lines Turn into Colored Moiré After Demosaicing in darktable 5.6?
Sources and scope
- Siril 1.4.4: FITS — Orientation of FITS images: Top-down versus bottom-up storage changes Bayer interpretation (RGGB/GBRG example). ROWORDER permits BOTTOM-UP or TOP-DOWN; Siril displays bottom-up and corrects demosaicing when top-down is declared.
Official Siril or ExifTool project documentation was opened and read on October 23, 2026 (Asia/Shanghai). Siril versioned pages identify 1.4.4. ExifTool project-site HTML access was restricted, while the cited official repository document was readable. No acquisition, decoding, extraction, PSF generation, synthesis, metadata command or repair was performed. The cover is decorative.
Prepared by Imagild Editorial, the company editorial team responsible for these guides. AI assisted research and drafting. This is documentation-based guidance with proposed examples, not a claim of hands-on testing or an independent product review. Report a correction.
Cover: Pignatta / Pixabay, Pixabay Content License. This is an illustrative source photograph, not an application screenshot or a generated test result.