ChangeImageID
v1.1.0 · PixInsight script · released 2026-11-21Gives your master lights short, standard image IDs (R, G, B, L, Ha, SII, OIII), closes the windows that integration leaves behind, and builds the RGB and SHO colour images for you, with LinearFit. It is one click between stacking and processing, and works on macOS and Windows.
Download ChangeImageID-v1.1.0.zipWhat it does
- Closes integration side products. Windows named
*_crop_mask,*_drizzle_weightsand*_rejection_low/*_rejection_highare closed. Files on disk are not touched. - Applies AutoSTF to every open image, for display only. Pixel data is not changed.
- Suggests a short ID for each image: from the view ID (
MasterLight_RbecomesR), otherwise from theFILTER-part of the file name written by WBPP (…_FILTER-Ha_mono.xisfbecomesHa), otherwise the file name. - Renames the images when you click OK.
- Builds RGB from R, G and B (R and B are linear-fitted to G) and SHO from SII, Ha and OIII (SII → red, Ha → green, OIII → blue; SII and OIII are linear-fitted to Ha), whenever all three channels are open.
Recognized names, in any letter case: R / Red, G / Green, B / Blue, L / Luminance, Ha / H / Halpha, SII / S / S2 / Sulfur, OIII / O / O3 / Oxygen.
Install and run
- Unzip the download. You get a folder named
ChangeImageID. Put it somewhere permanent, for exampleDocuments/PixInsight Scripts/ChangeImageID. - In PixInsight, choose Script › Execute Script File… and select
ChangeImageID.js. - Optional: to add it to the Script menu, choose Script › Feature Scripts…, click Add, select the
ChangeImageIDfolder, then click Done. From then on, start it from Script › Astro Scripts › ChangeImageID.
Step by step
- Open your master lights in PixInsight, for example straight from WBPP's
masterfolder. Drizzle weights, crop masks and rejection maps can be open too; they are closed for you. - Run ChangeImageID. The Rename Image IDs dialog lists every open image: its file name (hover for the full path), its current ID, and the suggested New ID.
- Check the New IDs. Type over any you want to change. Leave one empty to keep that image's current ID.
- Choose the options. Skip Linearfit and Skip Making RGB Image only renames R, G and B. Remove individual R, G and B images after making RGB (on by default) closes the channels once RGB exists; they stay open if RGB cannot be built. Skip Linearfit and Skip Making SHO Image only renames SII, Ha and OIII.
- Click OK. The images are renamed and RGB and SHO are built. The Process Console lists every rename, closed window and new image.
- Save the results you want to keep. Nothing is written to disk.
Good to know
- IDs may contain only letters, digits and underscores. Other characters become underscores, and an ID that starts with a digit gets a
v_prefix. - If an ID is already used by an image that is not being renamed, a number is added (
R1). IDs can be swapped between images in the same run. - LinearFit changes the channel pixels in memory (R and B, or SII and OIII). The files on disk are never changed.
- RGB and SHO need registered channels of the same size. If a channel is missing, in colour, or a different size, that colour image is skipped and the Process Console says why.
- Click Help… in the dialog for a summary of all of this.
To update
Replace the ChangeImageID folder with the new one. If you added it to Feature Scripts, open Script › Feature Scripts… and click Done again. Version 1.1.0 appears in the menu as ChangeImageID, where earlier copies were called RenameImageIDs. Since 2026-11-22 the scripts appear under Script › Astro Scripts (formerly Chinh Scripts).
Credits. By Chinh Nguyen, developed with Claude Code (Anthropic) and Codex (OpenAI). It uses PixInsight's own LinearFit and ChannelCombination processes. Free to use and share; provided as is, without warranty.