IKIK Astro
MultiPointCrop Module kScripts Free About Me Account Sign in
Products / kScripts

Four scripts.
Stars & emission.

kScripts is a free suite of PixInsight scripts for the steps I do on every image: stretching stars, putting them back on the starless image, and handling Ha, OIII and SII. Every script has a live preview.

Free Auto-updates in PixInsight Live previews October 2026 update
The scripts

Built for the steps you repeat

After installing, you'll find them under Script › kScripts Bundle.

kAdvStarStretch

V1.9

Stretches an extracted stars image in stages, so stars get bright and colourful without blowing out.

  • Base stretch, then fine histogram adjustment
  • Arcsinh stretch for a soft glow and colour
  • Black point to clean residue left by star removal tools
  • Optional green removal and saturation reduction
Input: linear stars imageMethod by Jędrzej Adaszek

kStarRepair

V1.4

Repairs star colour and blends the stars image back into the starless image.

  • Colour boost for washed-out stars
  • Screen or additive blending
  • Star de-blowing to tame bloated cores
  • Narrowband mode with real star colours from SPCC (needs Gaia DR3/SP)
Input: starless + stars

kEmissionManager

V1.5

Subtracts emission-line signal from a broadband RGB image, channel by channel.

  • Ha, OIII and SII in any combination
  • Separate R, G and B amount for each line
  • Typical setup: Ha and SII from red, OIII from green and blue
Input: linear RGB + grayscale narrowband

kHaBlending

V1.6

Blends an Ha image into the red channel of a broadband image with a single slider.

  • R = k·Ha + (1−k)·R
  • 0 = RGB only, 1 = Ha only
  • Live preview with linked or unlinked auto STF
Input: stretched RGB + Ha, same size
Installation

Add it once, stay up to date.

kScripts installs through PixInsight's update system, so you get new versions automatically.

  1. Add the repository

    Open Resources › Updates › Manage Repositories, click Add and paste:

    https://raw.githubusercontent.com/kopersyn/kscripts/main/
  2. Check for updates

    Resources › Updates › Check for Updates, then apply the kScripts package.

  3. Restart PixInsight

    The scripts appear under Script › kScripts Bundle.

Requirements

  • SoftwarePixInsight 1.9.4 or newer
  • SystemWindows, macOS, Linux
  • PriceFree
  • kStarRepair narrowband modeGaia DR3/SP catalog
What's new

October 2026 update

Full compatibility with the V8 JavaScript engine in PixInsight 1.9.4.

kEmissionManager 1.5

OIII and SII support (any combination with Ha, each line with its own R/G/B amounts), image size check, faster preview.

kStarRepair 1.4

The star de-blowing mask is now really applied, mask built from luminance, redesigned dialog.

kAdvStarStretch 1.9

Execute now matches the preview, Fine Adjustment slider fixed, faster preview.

kHaBlending 1.6

New blend formula R = k·Ha + (1−k)·R, cleaner dialog.

All scripts

V8 runtime fixes, faster downsampled previews, no leftover temporary windows.

Also by me

Tired of cropping mosaics?

MultiPointCrop turns the ragged edges of a mosaic into a clean rectangle by warping the image, right inside PixInsight. The live preview is free.

See MultiPointCrop