How DSPX relates to PixInsight -Specific architecture areas
Specific architecture areas: PixInsight and DSPX
This table is not meant as a better/worse comparison. The purpose of the table is to contrast the different approaches followed by each program in a number of areas. PixInsight’s side is taken from the public PCL 2.9.3 headers only.
This comparison was made in November 2026, to reflect differences at the time DSPX launched. It will not be updated as PixInsight and DSPX evolve.
| Object | PixInsight (Public PCL 2.9.3) | DSPX | The contrast |
|---|---|---|---|
| Localization | No text-translation facility in the API. The only Translation class is an image shift. |
Qt translator (L10n.cpp): 8 languages, about 14,300 texts, a language chosen in Preferences. |
An entire layer in DSPX vs no support. |
| Theming | Control::SetStyleSheet( css ): a style sheet that each control’s owner sets.
PS: Functionality is there, although so far, only Deep Sky Colors has offered full theme editing for PixInsight, via PIThemeEditor. |
One Theme object that all code reads for colors, icons and skins. Optimized, instant theme change across the entire application is possible. |
A style set per control against one source for the whole interface. |
| Process model | Process, ProcessInstance, ProcessInterface and ProcessImplementation, in a signed module that the host loads. |
One Process interface (core/Process.h). Modules are compiled in but register in a registry. A process says before it runs whether it changes its target. |
A loaded plug-in against built-in modules behind a similar, Qt-driven interface. |
| Process settings and panel | Each module declares its parameters and builds its own ProcessInterface window by hand. |
No process has its own hand-built panel window. One list of setting definitions per process, from which the program builds the panel. DSPX scripts use the same interface construction model. | Hand-built interface per module against a panel generated from one list. |
| File formats | FileFormat, FileFormatInstance and FileFormatImplementation: a plug-in interface for each format. |
Built-in readers and writers: XISF, FITS, TIFF, PNG and JPEG, plus layered TIFF and layered XISF. | The same plug-in against built-in contrast, here for formats. |
| History and undo | History belongs to the image window. A process declares what to keep through ProcessImplementation::UndoMode. |
History, HistoryFile, UndoSpill: a change runs in a transaction, and a step keeps only the 128-pixel tiles that really changed. A step also keeps size, metadata and selection when they change. The history is written into a project file, and undo can spill to disk. |
The process chooses what to save against the program recording what changed. |
| Astrometry | AstrometricMetadata, WorldTransformation, WCSKeywords and ProjectionBase. |
DSCAstrometry: a dense thin-plate spline solver, its own simplifier for the solution, a blind solver and a distortion model. |
Each side’s coordinate stack. |
| Scripting | PCL has no scripting API. Scripts run in PJSR, the JavaScript runtime inside the PixInsight core (public knowledge, not from the headers). | Python scripts running inside a sandbox, with a sirilpy-compatible API, and a permissions file for what a script may do. | Apples to oranges. |
Everything on the DSPX side was read from its source. The PixInsight side is limited to what the PCL 2.9.3 headers show; nothing is ever read or decoded from PixInsight itself.