Power your favorite coding agents (Claude Code, Codex, OpenCode, and more) with your Poe subscription—no need to handle multiple providers/accounts. Poe Code routes everything through the Poe API .
Configure an agent once and use its normal CLI or desktop app, or spawn one-off prompts through Poe. Installing or updating Poe Code leaves your skills untouched.
This updates the provider’s config files and continue using your tools normally.
# Start the interactive setup
npx poe-code@latest configure
# Setup a specific agent
npx poe-code@latest configure codex # (or claude, opencode, goose)npx poe-code@latest unconfigure claudePoe Code uses your Poe API key for authentication. On first run, you'll be prompted to log in via your browser (OAuth). You can also provide your key directly:
# Interactive login (opens browser)
npx poe-code@latest login
# Or pass your API key directly
npx poe-code@latest login --api-key <your-key>
# Or set it as an environment variable
export POE_API_KEY=<your-key>Credentials are stored locally in ~/.poe-code/. Use poe-code auth status to check your login state.
# Remove all configuration and credentials
npx poe-code@latest logoutUtilities are especially useful for scripting and CI/CD.
npx poe-code@latest spawn codex "Say hello" --mode read--mode is the permission mode: yolo | auto | edit | read.
npx poe-code@latest spawn codex "Fix the failing tests" --cwd github://owner/repo --mode edit
npx poe-code@latest spawn codex "Review the auth module" --cwd github://owner/repo#main:packages/auth --mode readecho "Say hello" | npx poe-code@latest spawn codex --mode readStdin is piped here, so there is no TTY to prompt on — --mode is required.
npx poe-code@latest code-review install
npx poe-code@latest code-review run "https://github.com/owner/repo/pull/123"
npx poe-code@latest code-review commit "https://github.com/owner/repo/pull/123" --dry-runnpx poe-code@latest test codex# Claude Code
npx poe-code@latest install claude-code
# Codex
npx poe-code@latest install codex
# OpenCode
npx poe-code@latest install opencode
# Goose
npx poe-code@latest install goose--dry-run– show every mutation without touching disk.--yes– accept defaults for prompts.
Check your compute points balance and review usage history.
# Show current balance
poe-code usage
# Show usage history (20 entries, then prompts to load more)
poe-code usage list
# Show a specific number of entries without prompting
poe-code usage list --limit 100
# Filter by model name
poe-code usage list --filter claudeList available Poe API models and filter them by provider, capabilities, modalities, and supported API endpoint.
# List all models
poe-code models
# Show only models that support the Responses API
poe-code models --endpoint /v1/responses
# Show only models that support Chat Completions
poe-code models --endpoint /v1/chat/completions
# Search by provider or model id
poe-code models --search claudeWebVTT re-encoding removes initial ASCII dialogue spaces, preserving tabs, later-line indentation, trailing spaces, and stream-copy text. Unfinished WebVTT tags suppress enclosed text while preserving line breaks and decoded entities; stream copy preserves the original cue text. Signed MPL2 timestamps retain cue durations and spacing; WebVTT and SRT output shift negative starting timestamps to zero by default. Safe Bash FFmpeg showwavespic accepts generic threads, thread_type, and extra_hw_frames settings without changing pixels. It succeeds when upstream audio filters emit no samples, producing no raw frames and header-only framemd5 output. FFmpeg Targa output honors -pix_fmt bgr24, bgra, rgb555le, gray, and pal8 for both pixels and file storage. Safe Bash join distinguishes missing and extra file operands with GNU-style errors and a help hint, and quotes file-open operands with native error reasons. Safe Bash Git requires git merge --allow-unrelated-histories to combine histories without a common ancestor; otherwise it refuses without changing HEAD, index, or worktree.
FLAC stream copy applies custom -metadata additions, replacements and empty-value deletions case-insensitively, preserving compressed audio. Safe Bash FFmpeg decodes uncompressed and RLE 16-bit RGB555 and 8-bit grayscale Targa images to opaque RGBA. Palette-indexed Targa input supports uncompressed and RLE pixels, expanding palette colors to RGBA. Targa output falls back to uncompressed pixels when RLE would enlarge the image, including with explicit -rle 1. Safe Bash FFmpeg image2 input supports -ts_from_file 1 for file modification times in seconds and -ts_from_file 2 for a nanosecond time base; 0 retains frame-rate timing. Safe Bash FFmpeg smptehdbars generates HD color bars, a luma ramp, and lower reference patches. Safe Bash FFmpeg lutyuv applies expressions to 8-bit planar YUV and alpha using native limited-range lookup values. Safe Bash FFmpeg adenorm accepts timed level and type updates through asendcmd, preserving waveform phase and channel alignment. Safe Bash FFmpeg lutrgb supports per-frame enable conditions using frame index n or timestamp t. Safe Bash FFmpeg drmeter passes audio through and reports per-channel and overall dynamic range at info log level; clips too short for a reading report DR: -nan. FFmpeg accepts -filter_threads N and -filter_complex_threads N as compatibility options while filtering in-process. The atempo filter also accepts threads and thread_type without changing audio. Safe Bash FFmpeg -bsf:s noise=drop=eq(n\,0) drops the first subtitle packet during encoding or stream copy, preserving retained text and timestamps and renumbering SRT cues. FFmpeg accepts stream-qualified -ch_layout and -channel_layout options for raw PCM input and matching audio output; unsupported automatic remixes of reordered or user-named raw channels fail without emitting PCM; explicit channelmap routing remains available. Safe Bash FFmpeg -f vidc reads raw Archimedes VIDC audio from files or stdin and decodes it to PCM. Safe Bash FFmpeg swaprect=w=2:h=1:x1=0:y1=0:x2=2:y2=1 exchanges two rectangles while preserving native pixel samples. Safe Bash FFmpeg raw PCM input uses the last -ac count before -i, including stream-qualified options such as -ac:v 2. Safe Bash FFmpeg -c:a alac supports aggregate and per-packet checksums, including ALAC configuration in frame headers. FFmpeg framehash, framemd5, and framecrc include #software unless output-side bitexact mode is enabled; input-only bitexact preserves the header. Safe Bash join - - reports join: both files cannot be standard input with exit status 1 and empty stdout; a single - operand reads stdin. Safe Bash FFmpeg recovers missing or earlier MPL2 end times from the next cue in timestamp order. Safe Bash FFmpeg MPL2 timestamps accept leading ASCII whitespace inside each numeric field; whitespace before the closing bracket still skips the cue. Safe Bash FFmpeg MPL2 conversion handles the optional dialogue-prefix space before italics, preserves spaces after line breaks, and drops consecutive identical subtitle packets after timestamp sorting, preserving cues with different text or timing. MPL2-to-SRT conversion preserves embedded, repeated, leading, and trailing dialogue breaks as CRLF; WebVTT uses LF. MPL2 \N escapes also produce hard line breaks. Safe Bash FFmpeg MPL2 conversion consumes successive line-leading / markers as nested italics in SRT and WebVTT. Safe Bash FFmpeg PJS conversion preserves native brace and backslash escaping, including \n and \N line breaks. Safe Bash FFmpeg IMA WAV ADPCM framehash, framemd5, and framecrc report compressed packets with native timing, sizes, and checksums. FLAC frame checksums include encoded packets, STREAMINFO, and the final side-data record. Safe Bash FFmpeg scharr=scale=0.25:delta=16 renders gradients on 8-bit grayscale and planar YUV video; planes=2 filters U while preserving Y and V. FFmpeg dilation=coordinates=16:threshold0=12 brightens grayscale or planar YUV samples using the right neighbor, capped at 12 sample units; per-plane thresholds preserve planes set to zero. FFmpeg adeclick and adeclip accept arithmetic option values such as w=20+5 and named defaults such as t=default.
Safe Bash FFmpeg adecorrelate=seed=42:enable='gte(n,2)' bypasses the first two audio frames and preserves filter history while disabled; scheduled asendcmd enable changes take effect at audio frame boundaries; timeline expressions also expose packet byte position pos and audio dimensions w/h (both zero). Filter-local threads, thread_type, and extra_hw_frames preserve seeded audio samples. Safe Bash FFmpeg atadenoise=s=5:0a=0.10:0b=0.30 denoises 8-bit grayscale video with parallel averaging; a=s selects serial averaging, preserving timestamps through the final frame. Safe Bash FFmpeg deflate=threshold0=12 reduces bright samples toward their neighborhood average in 8-bit grayscale and planar YUV, with independent per-plane limits. Safe Bash FFmpeg median=radius=2:percentile=1 accepts timed percentile changes through sendcmd and selects neighborhood percentiles in 8-bit grayscale and planar YUV video; planes=2 filters U, and planes=5 filters Y and V, preserving unselected planes. Generic threads, thread_type, and extra_hw_frames options are accepted. FFmpeg deband accepts mixed named and positional options and a single trailing colon, such as deband=d=-1:r=-3:0.1:. Median timeline enable expressions retain st()/ld() registers across frames and evaluate twice per frame, matching FFmpeg.
FFmpeg -f exr_pipe -i input.exr -c:v copy copies OpenEXR file packets byte-for-byte and preserves dimensions and packet checksums. Safe Bash FFmpeg sine matches native integer PCM samples, including zero-frequency silence. Safe Bash FFmpeg output -ch_layout and -channel_layout retain explicit speaker positions for surround PCM layouts, including 3.0, 4.0, 5.1, and FC+LFE; mono-to-stereo conversion uses native gain and rounding. Safe Bash FFmpeg stereotools accepts positional values after named options with native option binding. Safe Bash FFmpeg mcompand supports band delays, preserving the original duration with leading silence and a truncated tail. Invalid options preserve native exit statuses: 8 for unknown options, 222 for out-of-range values, and 234 for invalid arguments. FFmpeg vibrato and biquad audio filters also preserve these statuses for unknown options, out-of-range values, and invalid numeric expressions, without emitting PCM. FFmpeg concat returns status 8 for unknown options, 176 for unsupported enable, and 222 for out-of-range counts, preserving existing output. When a segment ends with missing timestamps, advancing to the next segment returns status 183 while preserving the PCM already emitted. Safe Bash FFmpeg thumbnail batches only timeline-enabled frames; disabled frames pass through unchanged. Safe Bash FFmpeg drawbox accepts threads, thread_type, and extra_hw_frames without changing pixels.
Safe Bash FFmpeg decodes RGB_ALPHA PAM images without losing transparency. Output -noautoscale preserves changing PGM frame dimensions in rawvideo. Float and half OpenEXR input, including ZIP16 compression, decodes to RGBA through files, numbered sequences, or image2pipe. Safe Bash FFmpeg color=red:4x4:r=1:d=1 accepts positional color and size, producing the same PNG as color=c=red:s=4x4:r=1:d=1. Safe Bash FFmpeg PNG output accepts -dpi 96 or -dpm 4000 for physical resolution and preserves sample aspect ratios when neither is set. Safe Bash FFmpeg color accepts size aliases such as s=qcif (176×144) and s=qqvga (160×120).
Safe Bash FFmpeg premultiply=inplace=1 multiplies RGBA colors by their own alpha with native rounding. Safe Bash FFmpeg tpad=stop=-1 honors output frame/time limits with explicit gray output.
The default FFmpeg color source rounds each odd dimension down to an even size (for example, color=red:s=5x3 produces 4×2 pixels); sizes that round to zero fail. Safe Bash FFmpeg testsrc2 renders the animated calibration pattern with native YUV420P and RGB pixels. Safe Bash FFmpeg testsrc accepts decimals=N or n=N for its timestamp counter precision (0–17, default 0). Safe Bash FFmpeg sine=beep_factor=2 (or b=2) adds a 40 ms beep each second at twice the base frequency; zero disables it. Safe Bash FFmpeg surround=angle=45 adjusts the soundfield angle (0–360 degrees, default 90). Safe Bash FFmpeg surround accepts focus from -1 to 1 to diffuse or concentrate the soundfield (default 0). Safe Bash FFmpeg yuva420p and yuva444p rawvideo input preserve their separate full-resolution alpha planes when decoded to RGBA. Safe Bash FFmpeg shuffleplanes supports 8-bit RGB and alpha-bearing planar video, using native G/B/R/A plane order for RGB and preserving YUVA samples. YUVA420P rawvideo output preserves original samples through null; swapuv exchanges only U/V, leaving luma and alpha unchanged. Safe Bash FFmpeg -pix_fmt yuva444p rawvideo output writes full-resolution Y/U/V/alpha planes with native alpha rounding. Safe Bash FFmpeg usable-stream maps (-map 1:u and -map 1:a:u, including optional ?) select the requested WAV audio. Safe Bash FFmpeg inflate raises 8-bit grayscale and planar YUV samples toward their neighborhood average, with independent per-plane thresholds. Safe Bash FFmpeg kirsch renders edges on 8-bit grayscale and planar YUV with configurable scale, offset, and plane selection. Safe Bash FFmpeg erosion removes isolated bright samples on 8-bit grayscale and planar YUV, with directional neighbor masks and per-plane change limits. Safe Bash FFmpeg gblur applies Gaussian blur with configurable sigma, steps, sigmaV, and plane selection. Safe Bash FFmpeg alphamerge replaces RGBA alpha with an 8-bit grayscale video matte while preserving RGB. Safe Bash FFmpeg colorlevels maps per-channel black/white points on 8-bit packed RGB(A), including automatic extrema and color preservation. Safe Bash FFmpeg unpremultiply=inplace=1 restores straight RGB from one 8-bit RGBA input, matching native alpha rounding, clipping, and zero-alpha color preservation. Safe Bash FFmpeg hstack, vstack, and xstack accept file-only ([0]), absolute stream ([0:0]), and video stream ([0:v:0]) input labels. xstack fills gaps in the input pixel format: red fill on grayscale inputs stays gray in RGB output. Safe Bash FFmpeg returns status 254 for an empty image sequence startup search and 234 for an unmatched image glob. Safe Bash FFmpeg writes numbered image2 .Y, .U, and .V planes with yuv420p, yuv422p, or yuv444p. Packed yuyv422 and uyvy422 rawvideo input preserves exact Y/U/V samples when decoded to yuv422p. NV12 and NV21 rawvideo input convert to yuv420p by separating interleaved UV and VU samples, respectively, while preserving luma and chroma bytes. Safe Bash FFmpeg writes grayf32le, gbrpf32le, and gbrapf32le rawvideo from RGBA8 with native float conversion and alpha rounding. Safe Bash FFmpeg reads and writes gray16le rawvideo, preserving 16-bit precision through passthrough, format=gray16le/format=gray16be, negate, and deband. Safe Bash FFmpeg writes gray10le rawvideo from 16-bit grayscale with native dithering and little-endian 16-bit sample storage. Packed rgb48le and rgba64le rawvideo input and output preserve all 16 bits, including alpha, through passthrough and byte-order conversion. Safe Bash FFmpeg -af asplit=1 and -af asplit=outputs=1 preserve audio in simple filter chains. Safe Bash FFmpeg channelsplit=channel_layout=5.1(side) routes mono and surround input speakers into the requested layout before extracting channels. Safe Bash FFmpeg apad,atempo=2 supplies enough buffered audio to fill output -t and -to limits. Safe Bash FFmpeg atempo accepts min (0.5), max (100), and default (1) in tempo expressions and scheduled updates. Safe Bash FFmpeg atempo accepts a single trailing option separator (atempo=0.75:) and matches native unsigned 8-bit alignment, output lengths, and short-clip PCM with regrouped input frames, including chained tempo changes. Safe Bash FFmpeg aformat=channel_layouts=stereo,stereotools preserves native surround downmix levels. Safe Bash FFmpeg headphone renders mono, stereo, quad, and 2.1 sources to stereo, assigning impulse responses in map order and passing LFE to both ears. Safe Bash FFmpeg stereotools and extrastereo downmix eight-channel PCM WAV to stereo before applying the effect. extrastereo also accepts DL+DR downmix speakers as stereo. Safe Bash FFmpeg pan resolves standard layouts such as 3.1, 5.1.2, 7.1.4, and 22.2 in native speaker order. Safe Bash FFmpeg pan and audio concat accept threads, thread_type, and extra_hw_frames without changing PCM output. Safe Bash FFmpeg deband accepts the same options without changing filtered pixels. Numbered pan routes accept ambisonic outputs, including ambisonic 0, ambisonic 1, and ambisonic 2, with optional +mono or +stereo channels (up to 64 channels; PCM routing only). Safe Bash FFmpeg aphaser returns status 234 and empties the output file when its delay rounds to zero samples. Safe Bash FFmpeg ametadata supports numeric expression matching with function=expr:expr='gt(VALUE1,VALUE2)', comparing the frame tag against the supplied value. Safe Bash FFmpeg metadata=print:NAME selects the same video frame tag as metadata=mode=print:key=NAME. Video metadata accepts enable expressions such as enable='eq(n,3)' to act only on selected frames while disabled frames pass through unchanged. Safe Bash FFmpeg sendcmd changes crop coordinates and dimensions at scheduled timestamps, including named crop instances. Audio asendcmd applies scheduled stereotools mute, gain, mode and delay changes at audio frame boundaries, including named instances; delay changes preserve buffered channel history. Audio asendcmd also updates named asoftclip settings at audio frame boundaries, preserving channel history. Audio asendcmd updates aphaseshift and afreqshift shift and level settings at frame boundaries, including named instances. Its timeline enable expressions support packet byte position pos. asoftclip timeline expressions expose w and h as zero for audio frames. Its numeric options accept min, max, and default in expressions. Audio asendcmd accepts bounded START-END intervals: [enter] (the default) applies a command on entry, while [leave] applies it on exit; changed settings persist after the interval. Safe Bash FFmpeg blackdetect reports black intervals and boundary tags, accepting threads without changing frames or intervals; metadata=select:key=lavfi.black_end selects the first frame after each interval. Safe Bash FFmpeg crop retains the previous coordinate when x or y evaluates to NaN, using the centered position initially; st()/ld() registers persist across frames independently for each coordinate. Safe Bash FFmpeg crop accepts case-insensitive y/n for keep_aspect and exact. FFmpeg drawbox accepts native Boolean aliases and signed zero for replace, including FALSE, n, and +0 for alpha blending. Safe Bash FFmpeg pad preserves source YUV samples when adding borders. Safe Bash FFmpeg reverse rejects unsupported arguments before replacing output, while accepting empty arguments and named instances. Safe Bash FFmpeg pullup reconstructs frames from matching fields across consecutive inputs; use -fps_mode passthrough to preserve its output timing. Safe Bash FFmpeg doubleweave combines overlapping field pairs into double-height frames at the input frame rate; first_field=bottom reverses the row order. Safe Bash FFmpeg Y4M output preserves fractional frame rates after telecine (6 fps becomes 15/2 fps). Safe Bash FFmpeg separatefields emits half-height progressive fields in source display order at twice the frame rate. Invalid options return FFmpeg exit statuses: 8 for unknown keys, 234 for positional arguments, and 176 for unsupported enable; existing output files remain intact. Safe Bash FFmpeg select=eq(interlace_type\,TOPFIRST) selects top-field-first frames; PROGRESSIVE and BOTTOMFIRST select the other field types. Safe Bash FFmpeg select=gt(scene\,0.15) selects scene changes, with scores based on consecutive input frames. Safe Bash FFmpeg scdet=t=10 reports scene scores and frame metadata; add sc_pass=1 to keep only detected frames. Safe Bash FFmpeg pad preserves unknown rawvideo sample aspect ratio: nonzero aspect fails with status 234 and empty file output; aspect=0 leaves aspect adjustment disabled. Safe Bash FFmpeg tile preserves subsampled 10-bit YUV420 samples and 16-bit grayscale and packed RGB/RGBA samples, including alpha, in either byte order. Its numeric options accept expressions and round to the nearest integer with ties to even (padding=1+1 uses two pixels; margin=0.5 uses zero). Tile output timing uses the input frame rate divided by nb_frames - overlap, including initially padded sheets.
Montage -define png:exclude-chunk=cHRM or bKGD removes only the named metadata chunk. Safe Bash ImageMagick rejects deprecated +strip with status 1 and no output; -strip remains supported. Safe Bash ImageMagick -strip preserves per-image sampling artifacts while removing profiles and comments. Safe Bash ImageMagick -map palette applies -remap with a deprecation warning and a successful exit status. Safe Bash ImageMagick +mean-shift fails with status 1 and a deprecated-option diagnostic; -mean-shift remains supported. Safe Bash ImageMagick -monitor reports resize and segmentation completion on stderr; +monitor disables it for subsequent operations. Safe Bash ImageMagick -verbose -segment prints fuzzy C-means cluster statistics on stdout before subsequent output. Safe Bash ImageMagick montage accepts -duplicate before inputs, duplicating the last available tile when pending operations run. Safe Bash ImageMagick montage -identify prints input records on stdout before the sheet summary, including when writing the sheet to a file. Montage -precision N controls significant digits in formatted numeric output without changing sheet dimensions. Montage -auto-orient applies each tile’s EXIF orientation before layout. Montage -gamma 2 applies a square-root transfer to tile samples; -gamma 1 preserves them, including floating-point output. Safe Bash ImageMagick montage joins multiple WebP sheets into one animation, including lossless -quality 100 output. Safe Bash ImageMagick montage supports -annotate +X+Y text with -fill and -pointsize to draw text on each tile without enlarging it. Montage -strip removes source profiles and comments before later operations; a subsequent -profile assigns the new profile without converting pixels. Safe Bash ImageMagick montage supports -stroke color for label and title outlines; -stroke none or +stroke clears them. Safe Bash ImageMagick montage reads quoted and backslash-escaped filenames from @filename lists. Montage -caption text attaches a caption to subsequent inputs for -polaroid; +caption clears the setting for later inputs without adding montage labels. Safe Bash ImageMagick montage supports -shuffle Ascending and -shuffle Descending to order tiles by filename. Safe Bash ImageMagick montage writes RLE-compressed TGA with -compress RLE, including grayscale sheets; default TGA output remains uncompressed. Safe Bash ImageMagick montage writes grayscale TGA sheets as one 8-bit sample per pixel. Safe Bash ImageMagick montage writes the completed sheet at each requested ICO size with -define icon:auto-resize=32,16, preserving size order. Safe Bash ImageMagick montage writes packed 16-bit BMP with -define bmp:subtype=RGB565 or RGB555, preserving each subtype’s channel masks. Safe Bash ImageMagick montage sets GIF playback disposal with -dispose Background or -dispose Previous and selects indexed, grayscale, RGB, or RGBA PNG storage from the sheet pixels while preserving 16-bit samples. Safe Bash ImageMagick montage accepts stdin frame selectors such as -[1] and -[1,0], preserving the requested order. Safe Bash ImageMagick montage supports -alpha associate and -alpha disassociate, preserving tile colors through chained operations. Safe Bash ImageMagick montage reports virtual page geometry separately from raster size. -page sets virtual page dimensions and offsets without resizing the sheet; +page resets them. Safe Bash ImageMagick montage preserves 16-bit sheet backgrounds beneath transparent tiles. Montage PSD output preserves CMYK mode with -colorspace CMYK, including separate alpha and 8-bit or 16-bit samples. Montage PSD output joins separate pages into one document, using the first page as the composite and the remaining pages as layers; +adjoin writes separate documents. Montage png8: output uses an 8-bit palette and binary transparency; png32: retains partial alpha. Montage JPEG output uses progressive encoding with -interlace JPEG, plane, or line; none and the default use baseline encoding. Safe Bash ImageMagick montage applies -adaptive-sharpen to source pixels before tile layout, respecting parenthesized input groups. Safe Bash ImageMagick animation comparisons preserve fractional working-pixel changes, frame delays, crop offsets, and Background disposal when optimizing positioned frames. Safe Bash ImageMagick composite accepts -alpha set and -alpha off, preserving their distinct opacity behavior; -wave preserves inactive Discrete and Deactivate alpha for extraction while exporting opaque RGBA. Safe Bash ImageMagick drawing preserves fractional samples outside the drawn shape, including off-canvas points and subsequent neighborhood filters. Safe Bash ImageMagick drawing places local images with image Copy|Over|Multiply x,y width,height 'file', including resizing and source opacity. Safe Bash ImageMagick color floodfill and replace preserve visible color boundaries after -alpha off. Safe Bash ImageMagick drawing supports stroke-dasharray and stroke-dashoffset on lines and polylines, including continuous patterns across corners. Safe Bash ImageMagick drawing supports named MVG clip paths and compliance "SVG" / compliance "MVG" with graphic-context restoration. Safe Bash ImageMagick -layers Optimize creates a shared indexed palette before subsequent operations, so -cycle can exchange colors across frames. ImageMagick -composite and -layers Composite preserve destination channels excluded by -channel; +channel restores all-channel compositing. In composite -tile, place -resize, -rotate, and -negate after the input filenames to apply them; a transform immediately following -tile is skipped, matching ImageMagick. On RGB images, -compose CopyCyan, CopyMagenta and CopyYellow copy red, green and blue respectively while preserving destination alpha. -compose Blur -define compose:args=2x1 blurs the destination using the source’s red/green map; missing blur arguments preserve the output and report failure. Safe Bash ImageMagick writes ASCII braille to BRF:-, BRF:out.bin and .brf files, including labels and page offsets. Safe Bash ImageMagick -tile-offset wraps opaque tiles from the requested source offset. Safe Bash ImageMagick MVG push pattern NAME x,y width,height / pop pattern defines a repeating tile for fill NAME, optionally inside push defs / pop defs. Safe Bash ImageMagick -precision accepts image properties, options and FX expressions such as %[digits], %[option:pr] and %[fx:w+2]. Safe Bash ImageMagick -tile-offset expands properties and image-list FX such as '+%[fx:n]+1'. Safe Bash ImageMagick pixel expressions preserve native bare-statistic color strings, including srgb(0,85,85) for %[pixel:mean] on red. Safe Bash ImageMagick -raise "(2x1)" and +raise "(2x1)" accept parenthesized bevel dimensions. Safe Bash ImageMagick -raise and +raise bevel expressions can use the frame count (n), current index (t), and other frames (u[1]). Safe Bash ImageMagick -seed 3 -virtual-pixel random -edge 1 produces repeatable edge pixels. Safe Bash ImageMagick -define convolve:scale=50% halves convolution kernel weights. Numeric morphology Convolve/Correlate kernels preserve the positions of omitted nan or - weights; standalone -convolve produces black output for these sparse kernels. Safe Bash ImageMagick convolution supports Gaussian, Blur, and Laplacian named kernels. -convolve preserves 16-bit RGB samples and accepts -bias or -define convolve:bias offsets; it and morphology Convolve/Correlate apply semicolon-separated numeric kernels in sequence. Blur and Gaussian blur blend the requested background at borders with -virtual-pixel background. Safe Bash ImageMagick -border and -frame apply -compose to selected extra channels: Clear zeroes them, while Src keeps the source samples. -compose Clear clears the full composite destination to black, or transparency when destination alpha is active. -compose Replace writes source colors multiplied by source opacity and copies source alpha in direct composites and flattened layers. -set rendering-intent does not create a string property; use -intent to select rendering intent. -frame accepts -set option:mattecolor and -set option:bordercolor like the corresponding direct color options, and preserves translucent matte alpha after -alpha off; deactivate and discrete retain source blending while leaving output alpha inactive, including with translucent -border colors. Safe Bash ImageMagick -polaroid accepts -set option:bordercolor orange like -bordercolor orange; plain -set bordercolor orange preserves the default border. Safe Bash ImageMagick -set option:loop honors GIF total play counts: 5 writes four repeats, 1 plays once, and 0 loops indefinitely. Safe Bash ImageMagick -list Threshold lists the 19 built-in ordered-dither maps, aliases, and descriptions. Safe Bash ImageMagick -seed 7 +noise Uniform and +noise Gaussian add reproducible noise to RGB images and honor selected channels. -noise geometry suppresses peak noise using -statistic NonPeak; this deprecated shorthand warns unless -quiet is set. Safe Bash ImageMagick -blue-shift uses the quotient of colon ratios (2:4 equals 0.5); 2x3, 2,3, (2,3), 2/4 and 2.0,^ use factor 2. ImageMagick -define gradient:angle=90 rotates elliptical radial-gradient: axes; equal radii remain rotation-invariant. Safe Bash ImageMagick label: and caption: create independent images even after a same-size canvas; +append joins them side by side. Labels derive omitted dimensions from the selected font and fit text when only one axis is set; explicit width and height stay fixed. Safe Bash ImageMagick -compare replaces two or more inputs with a difference visualization, including identical inputs. ImageMagick -shade expands option properties and FX expressions against the current image before parsing its angles, and honors write masks and regions on selected extra channels such as Meta0. Conversion pipelines accept -texture image and +texture without adding an image or changing pixels. Split PNG output expands %% to %; without a scene field such as %02d, later frames overwrite that filename. ImageMagick -wavelet-denoise filters HSL, Lab and CMYK working channels while preserving alpha and CMYK black; threshold expressions can use the frame count (n), current index (t), and other frames (u[1]). Safe Bash ImageMagick binary PGM, PPM and PAM output supports -depth 17 through -depth 32 with four-byte big-endian samples. Safe Bash ImageMagick %[signature] reads the current property; %# computes and stores the pixel digest. Safe Bash ImageMagick compare applies -sigmoidal-contrast and +sigmoidal-contrast to selected input channels before measuring differences. Safe Bash ImageMagick -ift and +ift validate and consume the first input pair, warn about unavailable FFTW support, and preserve later images in order. With exactly two inputs, output fails with status 1, preserving the destination. Safe Bash uniq validates every -f, -s, and -w count before opening output; valid repeats use the last value. Oversized nonnegative counts are accepted: skips beyond a record compare empty keys, and widths beyond it compare the full remainder. Counts accept leading ASCII whitespace and signed zero; zero skips nothing with -f/-s and compares no characters with -w. Safe Bash uniq --group=METHOD and --all-repeated=METHOD accept unique method prefixes. In source checkouts, npm run build publishes a validated Safe Bash snapshot for scripts/safe-bash-shim.mjs, so command rebuilds keep the last successful runtime usable. Snapshots stay in .cache/safe-bash-runtime; remove this directory only after stopping local shells, then rebuild before launching again. Safe Bash uniq -f recognizes embedded newlines and locale-aware UTF-8 blanks when skipping fields. Safe Bash uniq -i folds Latin-1 case pairs in ISO-8859-1 locales while preserving the first record’s bytes. Safe Bash FFmpeg avgblur=sizeX=3:sizeY=1 applies independent horizontal and vertical blur radii while preserving native sample precision. Safe Bash FFmpeg tmidequalizer=radius=2:sigma=1 smooths brightness changes across neighboring frames while preserving timestamps; planes=0 preserves input samples. Safe Bash FFmpeg tmix accepts 32-bit numeric plane masks and flag expressions (+1, 1+1, -2, none, all), ignoring bits beyond the available planes, and supports frame-boundary enable expressions, retaining native buffered-frame and timestamp behavior while disabled. Safe Bash FFmpeg tmix accepts an explicit scale after weighted frame summation; scale=0 selects automatic normalization. Bare arguments after named tmix options follow native positional binding. Scale accepts expressions such as 1/2, option constants default, min, and max, and SI suffixes such as 1k. Its sendcmd filter applies timed scale, weights, and planes changes to tmix and named tmix@name instances without restarting the mix. FFmpeg decimate=cycle=4:chroma=0 chooses frames using luma alone; chroma participates by default. FFmpeg decimate accepts dupthresh (0–100 percent, default 1.1) to control duplicate-frame selection. Rejected decimate cycles and tile margins/padding return Linux FFmpeg statuses 222 (out of range) or 234 (invalid expression); unknown options return 8 and unsupported timeline options return 176, preserving existing output files. Safe Bash FFmpeg decimate accepts independent blockx and blocky dimensions (powers of two from 4 to 512) for frame comparisons. Safe Bash FFmpeg nine- and ten-channel maps preserve sample order when the output layout is omitted. FFmpeg decimate=ppsrc=1 selects frames using its first input and emits clean pixels from its second input; explicit ppsrc=0 keeps one-input decimation. FFmpeg pan ignores zero-gain inputs, preserving selected finite samples when an unused channel contains NaN. Its numbered input and output channels accept signed and spaced decimal indices (c+1, c-0, c 1); negative indices remain invalid. FFmpeg dcshift accepts shift constants max (1), min/all (-1), and default/none (0). dcshift= uses zero shift, and dcshift=0.25: accepts a trailing option separator; an explicitly empty shift= remains an error. FFmpeg aselect accepts pos to select audio frames by input packet byte offset, plus the mathematical constants PI, E, and PHI in selection expressions. With -segment_time_metadata 1 on concat input, aselect=lt(concatdec_select\,0) keeps frames within their segment’s start and duration; missing start metadata yields NaN. FFmpeg aselect expression registers st/ld retain values across audio frames within each filter instance. Safe Bash FFmpeg format=gray converts planar YUV luma directly, preventing chroma from changing brightness. FFmpeg -pixel_format gbrp -f rawvideo reads planar G, B, R input for conversion to packed RGB. Rawvideo input also accepts little-endian float32 grayf32le, gbrpf32le (G/B/R planes), and gbrapf32le (G/B/R/A planes), with native clipping and alpha conversion to RGBA. FFmpeg -pix_fmt gbrp -f rawvideo writes planar G, B, R output; -pix_fmt gbrap adds an alpha plane with native rounding. FFmpeg select=eq(pict_type\,I) keeps rawvideo and Y4M I-frames; P/B selections produce empty raw output. FFmpeg metadata=modify:key=KEY:value=VALUE replaces existing video frame metadata without creating missing keys. Safe Bash uniq -N skips N fields (-1c combines field skipping and counts); -0 skips none. Safe Bash uniq INPUT - writes to stdout; use ./- to write a file named -. Safe Bash cut accepts single comma, space, or tab list separators and rejects empty entries with status 1. Safe Bash tsort accepts GNU coreutils 9.10’s -w compatibility option as a no-op. Safe Bash tac -r -s '' rejects an empty regex separator; tac -s '' continues to split on NUL. Safe Bash split accepts unique long-option abbreviations such as --by=2 and --verb, and rejects ambiguous prefixes such as --ver. Safe Bash cut accepts unique long-option prefixes such as --comp and --out /; ambiguous --c and --o return status 1. Safe Bash supports physical directory traversal with set -P / set -o physical, with cd -L overriding it for one call. Safe Bash supports named file descriptors such as exec {input}<rows and exec {input}<&-. Script-defined command_not_found_handle functions handle missing command names in isolated shell state. File metadata tests in [[ … ]], test and [ recognize open files through /dev/fd/N and standard-stream aliases without consuming input. Readonly SHELLOPTS and BASHOPTS expose enabled shell options without enabling options from environment values. source -p path file (also . -p) uses a colon-separated search path for one call without changing PATH. Command hashing is enabled by default; set +h disables it and set -h restores it. With POSIXLY_CORRECT set, paste stops option parsing at the first filename or - operand. Its delimiters cycle by the active locale encoding, preserving multibyte characters in UTF-8 and EUC-JP and cycling bytes in single-byte locales such as ISO-8859-1. Safe Bash paste cycles delimiter bytes when any effective locale category is invalid; a valid LC_ALL overrides invalid category settings. Safe Bash join -t accepts one multibyte character in UTF-8 locales while retaining single-byte delimiters in C/POSIX locales. Safe Bash envsubst accepts unique long-option prefixes such as --var, --ver, and --he; ambiguous --v remains an error. Farbfeld sequences write numbered .ff files while preserving the literal destination; FF:- streams every complete frame in order. Safe Bash ImageMagick FTXT output expands \h, \H, \o, \p, \s and \f into channel hex, pixel hex, normalized channels, percentages, color strings and hexadecimal floats. Montage -draw paints primitives such as point 1,1 and rectangle 0,0 1,1 in each input tile’s coordinates before layout, using -fill and respecting parenthesized groups. Safe Bash fd -u disables ignore files; repeat it (-uu) to include hidden entries. This deliberately differs from native fd, where one -u enables both.
FFmpeg -c:v pbm writes one-bit binary PBM frames with monochrome dithering, including -pix_fmt monow, through image2pipe or numbered image2 output. FFmpeg accepts input -noautorotate, preserving stored pixel orientation and stream-copy display metadata. ImageMagick reads MVG drawings with an explicit mvg: prefix, using -size or the drawing’s viewbox for the canvas. MVG stroke-linecap butt|round|square controls thick line ends; omitted caps use butt. Define MVG masks with push mask name / pop mask, then select one with mask "url(#name)"; white mask pixels protect subsequent drawing and unused definitions leave the image unchanged. MVG affine sx,rx,ry,sy,tx,ty applies rx to x and ry to y. ImageMagick reads 24-bit type-3 Sun raster RGB input with magick in.sun or magick sun:in.sun. ImageMagick .psb and psb:- write Photoshop Large Documents, retaining a sequence as a composite and editable layers. Montage -compress RLE and -compress Zip compress PSD/PSB layers and composite planes. ImageMagick precision changes survive grouped operations with -respect-parentheses. ImageMagick -precision accepts geometry operands (2x3, 3%) and reads leading decimal digits (2e1 means 2); 0xA is invalid. ImageMagick top-level -precision 0 preserves the current precision; +precision resets it to six significant digits. ImageMagick info: prints native-style image summaries when -format is omitted, including source names, dimensions, depth, colorspace and file size. ImageMagick xc:lab(...) and canvas:cielab(...) retain CIELab channels until colorspace conversion. ImageMagick html:- writes an XHTML image map followed by PNG bytes to stdout. ImageMagick -vignette honors the selected composition operator when blending with its background. ImageMagick -splice -1x1 and -splice +1x1 retain page-sized bands and use the signed number as the horizontal offset. ImageMagick -set background orange and -set option:background orange fill -splice bands and -extent padding with the selected background. ImageMagick -extent honors per-image artifact:compose:args for Blend and Dissolve, with -define compose:args as the fallback. With -alpha Off, extent treats source pixels as opaque under Copy, DstOver, Multiply and Xor while preserving padding. ImageMagick -splice retains parsed dimensions and offsets when a second decimal ends a height or offset field. ImageMagick -set option:size WxH sets raw input and generated canvas dimensions for subsequent inputs; +set option:size clears the setting. ImageMagick -set option:page WxH+X+Y sets the canvas for current images and later inputs, including before -chop and GIF output. ImageMagick -set option:dispose Previous restores the previous canvas after subsequent GIF frames; +set option:dispose clears the setting for later inputs. Solid-color GIF output uses the image color for exposed canvas unless a background is specified. ImageMagick -set option:comment text sets comments on subsequent inputs, like -comment text, while preserving comments on earlier frames. ImageMagick -mode geometry applies the Mode neighborhood statistic; -quiet suppresses its replacement warning. ImageMagick compare warns when the candidate’s selected channels have a constant value for NCC, DPC, or PHASE. It keeps its metric with -quiet and returns status 2 for warnings with -regard-warnings, even when quiet. ImageMagick xc: and canvas: accept hsb(...), hsv(...), hsba(...), and hsva(...) colors; -color-threshold accepts the same endpoint colors. ImageMagick -paint radius{xsigma} honors -seed for repeatable random virtual pixels. It accepts parenthesized geometry such as "(2x1)" and renders oil-paint effects with native neighborhood intensity selection (including selected extra channels such as Meta0) and expands radius expressions against the full image list. ImageMagick -median honors channel selection, including extra planes, like -statistic Median. ImageMagick uil:- emits a UIL color table and icon on stdout. XPM palette colors use native HSL alpha rules: hsl stays opaque, fractional hsla retains alpha, and hsla(...,25%) is opaque. ImageMagick caption: wraps at word boundaries and explicit line breaks; -size 35x derives the canvas height from its lines and font metrics. ImageMagick -interpolative-resize honors -set interpolate on current images and -set option:interpolate on current and later inputs. ImageMagick -interpolate average9 (3×3) and -interpolate spline support FX pixel sampling and -interpolative-resize, including translucent images. ImageMagick resize operations keep the original raster for scalar modifiers with signed offsets (50%+1+2); scalar area geometry with offsets (2@+1+2) fails without replacing output. ImageMagick grayscale -shadow discards disassociated alpha and retains deactivated alpha. Shadow preserves selected extra channels such as Meta0 and fills unselected extra channels with zero. ImageMagick -border rejects scalar modifiers before offsets (such as 1!+1+1), while accepting 1!, 1x1!+1+1, and percentage geometry. ImageMagick sRGB TXT output honors image depth, including implicit 16-bit canvases and explicit -depth overrides, and preserves fractional palette colors in its annotations. ImageMagick TXT input preserves header-derived depth and fractional samples for nonstandard maxima. Explicitly signed TXT tuple components are skipped, shifting later channels left and filling the tail with zero. Raw RGB frame selectors match native decoded-window indexing, including ranges starting above zero. Raw BGR/BGRA/BGRO input accepts floating-point samples at depths 16, 32 and 64, including alpha and opacity. ImageMagick identify +ping restores full pixel reads after -ping; the last setting before each input wins. ImageMagick identify, conversion, and montage expand quoted input filename patterns such as "*.ppm", "?.ppm", "[ab].ppm", and "{a,test}.ppm" in filename order. ImageMagick filename brackets treat leading ! and ^ as literal set members: [!ab] matches !, a, or b. ImageMagick histogram rows sort by converted color values independently of pixel order; matching RGB values sort by descending frequency, then ascending alpha; plots from RGBA inputs retain an opaque alpha channel. RGBA histogram rows use native names for opaque named colors and none for transparent black. ImageMagick connected-component labels retain their 16-bit indexed palette for subsequent -cycle operations. ImageMagick connected-component reports accept connected-components:sort=y, width, and height, with increasing or decreasing order and unchanged region labels. Complex image arithmetic produces 32-bit results in INFO and MIFF output; a later -depth overrides the output depth. MIFF output preserves fractional morph samples at 16-bit depth; -depth 8 selects 8-bit output. GIF input selections containing only scene zero, such as [0,0], read the first frame once; repeated nonzero scenes such as [1,1] retain both copies. ImageMagick identify supports bracketed crop and resize geometry on input filenames. ImageMagick’s inline -identify reports current images in order, honors -format, and continues conversion. identify -regard-warnings returns status 1 for format warnings while preserving every input’s output; +regard-warnings is accepted. Raw GRAY extraction starts a fresh page and fills out-of-bounds samples with black. Connected-component reports default to increasing area with explicit connected-components:sort=area, and decreasing area when sort is omitted or unrecognized. Unrecognized sort directions use increasing order for recognized sort fields. Inverse +level and +level-colors preserve out-of-range working samples unless explicitly clamped. ImageMagick -sparse-color interpolates supplied color points using Voronoi, Manhattan, Shepards, Inverse, Barycentric, or Bilinear methods. -monochrome produces indexed Gray images (PseudoClass), preserving Bilevel type, image depth, and contrast between grays less than one 8-bit step apart, including after -evaluate. Lab, XYZ, and HSL conversion promotes indexed images to direct color, so subsequent palette cycling matches ImageMagick. ImageMagick QOI input reads the first complete image, ignoring bytes after its valid end marker. FFmpeg tpad accepts frame counts after setpts, preserving shifted input timestamps and cloning the first and last pictures. FFmpeg PNG output accepts -flags +ildct for Adam7 interlacing, preserving pixels; the default stays noninterlaced. FFmpeg QOI re-encoding preserves the input transfer flag; -color_trc linear or -color_trc iec61966-2-1 overrides it without changing samples. ImageMagick reads three-plane, 8-bit RGB PCX images with their original pixels and DPI, and indexed MAP input with -size WxH+colors -depth 8. ImageMagick conversion accepts positive integer -limit thread N caps; rendering stays serial and host resource limits remain in force. Montage formatted info: output reports the first input coder with %m and %[magick] on the first sheet, and empty coder fields on subsequent sheets. Montage -colors N reduces tile colors before layout. Montage -colors N reduces tile colors before layout. Montage -quantize Gray|Lab -colors N reduces tile colors in the selected space; -quantize alone preserves pixels. Montage -filter Point, Triangle, or Lanczos selects the resize reconstruction filter; +filter restores the default. Montage -quiet suppresses invalid border-color warnings while preserving output; +quiet restores warnings. Montage -alpha extract produces an opaque grayscale alpha mask; copy derives alpha from color intensity, and shape also replaces the tile color with the background. Montage applies -unsharp radiusxsigma+amount+threshold to inputs in command order before contact-sheet layout, respecting parenthesized groups. Montage applies every -trim in command order. Montage -coalesce and -layers coalesce expand positioned frames to their virtual canvas before arranging tiles. Montage applies -repage and +repage in command order before cropping input tiles. Montage preserves 16-bit xc: and canvas: color samples when writing 16-bit images and matches native percentage -geometry sheet and thumbnail dimensions. Montage applies -thumbnail and -scale in command order. ImageMagick -layers OptimizeTransparency compares and preserves full 16-bit colors. Montage -tile COLSxROWS+X+Y applies X only to the first row of each sheet and Y to every row. Safe Bash ImageMagick montage writes plain ASCII PBM, PGM and PPM with -compress None; +compress restores binary output. Montage -virtual-pixel selects edge, tile, or constant-color sampling for -distort before tile layout. Montage -channel R -resize filters red while copying other channels; +channel restores default resizing. Montage honors -units and +units when writing physical resolution from -density. Safe Bash ImageMagick montage supports -type Grayscale, -type Bilevel, and -monochrome for gray or black-and-white tiles; -type TrueColor makes tiles opaque, while -type TrueColorAlpha preserves their alpha. Parentheses limit conversion to the grouped tiles. Safe Bash ImageMagick montage accepts -scenes N without filtering frames in an existing GIF; use file.gif[N] to select one frame. Montage accepts -comment text and +comment on inputs without adding a comment to the PNG sheet. Safe Bash ImageMagick montage applies -rotate, -flip, -flop, and -transpose in command-line order. Arbitrary montage rotations preserve native canvas dimensions and resampled pixels. Montage -crop WxH+X+Y selects a region; -crop WxH splits inputs into tiles. Montage alpha modes control tile opacity, preserve semitransparent samples, and replace hidden colors with the background. Montage accepts -borderwidth as an alias for -border; zero removes the border. +border also removes the tile border; a later -border sets a new width. +bordercolor restores the default #dfdfdf border color without changing its width. An unrecognized montage -bordercolor warns and renders with a black border. Montage -regard-warnings returns status 1 when warnings occur, preserving completed output; +regard-warnings alone keeps warnings nonfatal. Safe Bash ImageMagick montage applies -delete scenes and +delete before layout to remove selected inputs or the last input. It accepts -clone scenes and +clone to append selected inputs or the last input, and -insert index / +insert to move the last tile to a chosen position / the beginning. ImageMagick append retains writable extra channels, initialized to zero when joining multiple images. Merge, mosaic and flatten retain the first frame’s extra channels and blend their samples using frame alpha. Consecutive Safe Bash FFmpeg silencedetect filters report events with distinct detector prefixes in frame order and close trailing intervals in reverse filter order; -loglevel level+info adds severity labels. Input -itsoffset shifts silence log and metadata timestamps while preserving PCM and interval lengths. Silence detection continues through input EOF when downstream aselect or atempo never reaches the output duration limit. Safe Bash FFmpeg framehash and framemd5 accept -hash murmur3 for native per-packet digests. Safe Bash FFmpeg settb=1/1000 rescales video timestamp ticks for downstream filters and metadata output. Safe Bash FFmpeg framerate=fps=5 interpolates 8/16-bit grayscale and 8/10-bit planar YUV video with scene-change detection and fractional output rates; threads and thread_type are accepted without changing output pixels. Safe Bash FFmpeg minterpolate supports mi_mode=dup and mi_mode=blend on 8-bit grayscale video, including scene detection and fractional output rates. afade accepts threads, thread_type, and extra_hw_frames without changing the rendered samples. FFmpeg acrusher supports enable expressions at input audio frame timestamps, preserving samples in bypassed frames. FFmpeg vibrato supports deterministic random(0) and randomi(0,0,1) timeline gates, matching native frame transitions and PCM output. Timed commands targeting FFmpeg aphaser leave its settings unchanged and rendering continues. FFmpeg acrusher numeric option expressions support st and ld, with fresh registers for each evaluation. FFmpeg acrusher accepts none (0) and all (-1) in numeric options and scheduled changes, with normal range checks. Safe Bash FFmpeg returns status 234 for invalid volume expressions and 8 for unknown volume options, preserving existing output files. Safe Bash FFmpeg asendcmd skips unmatched targets and unsupported volume actions while continuing later scheduled commands. Its [expr] arguments evaluate on every active audio frame, including timed ramps with T or interval progress TI. Safe Bash FFmpeg asendcmd can disable and resume vibrato at audio frame boundaries. Vibrato also accepts threads, thread_type, and extra_hw_frames without changing PCM output. Safe Bash FFmpeg asendcmd can disable and resume vibrato at audio frame boundaries. Safe Bash FFmpeg asendcmd can disable and resume vibrato at audio frame boundaries. Safe Bash FFmpeg asendcmd can disable and resume vibrato at audio frame boundaries. Safe Bash ImageMagick -edge accepts 1x2, (1), and 1% as radius 1 and filters selected extra image channels using the image alpha. Safe Bash ImageMagick +loop resets an explicit animation loop count to infinite looping without an operand. Safe Bash ImageMagick TIFF output matches native byte order for explicit -endian, with tiff:endian taking precedence. Safe Bash ImageMagick -type Palette and -type PaletteAlpha preserve linear RGB, DisplayP3, Adobe98, and ProPhoto colorspaces and channel values. Palette dithering matches native assignment of adjacent transparent and near-transparent colors. Safe Bash ImageMagick neighborhood Mean and Gradient preserve out-of-range samples through subsequent arithmetic. Safe Bash ImageMagick neighborhood Mean and Gradient preserve out-of-range samples through subsequent arithmetic. Safe Bash ImageMagick -evaluate Set 75% sets selected channels to Q16 value 49152. Safe Bash ImageMagick %[compose] formatting reports the selected -compose operator. ImageMagick conversion rejects unrecognized -gravity names before writing output; gravity names are case-insensitive. Explicit compose, gravity, filter, background, interpolation, interlace, endian and virtual-pixel settings are also available through option: lookups, preserving their supplied spelling; +endian reports undefined. Custom ImageMagick defines are available through plain, option:, and artifact: formatted property lookups. Unconsumed connected-components: defines leave component labeling and reports unchanged. ImageMagick -crop and -trim accept retained rectangles extending beyond a smaller read mask. ImageMagick -crop FX geometry can use the current image count (n), frame index (t), and indexed image dimensions (u[1].w). ImageMagick +trim fails with status 1 and a deprecated-option diagnostic without replacing output; -trim continues to crop borders. Safe Bash ImageMagick -compose Difference -flatten blends RGB by opacity and preserves the absolute alpha difference from the background. Safe Bash ImageMagick SoftDodge blends pixels in -composite and -flatten, including translucent layers. Safe Bash ImageMagick Stamp renders native color and alpha in -composite and -flatten. Safe Bash ImageMagick flatten, merge and mosaic use native alpha-aware blend compositing; Reflect also reproduces native color and alpha in -composite and -flatten. Safe Bash ImageMagick -flatten honors channel-copy operators and CopyAlpha (CopyOpacity), preserving untouched background channels. Its -border and -frame reset attached read masks to select no pixels; +read-mask restores statistics over all pixels. Resize, sample, scale, and morph keep smaller read masks aligned with the source raster. Safe Bash ImageMagick raw CMYK and CMYKA input supports -interlace Line and Plane with 8-bit and 16-bit samples. Raw CMYK and CMYKA output preserves 16-bit rounding after Lab or YCbCr conversion, including inputs without alpha. Read headerless RGB565 with -size WxH rgb565:input.bin; packed words retain native 16-bit channel expansion. Read headerless BGR, BGRA and BGRO with bgr:input.dat, bgra:input.dat or bgro:input.dat, -size, and -depth 8 or -depth 16; BGRA preserves alpha and BGRO converts opacity to alpha. Packed BGR and BGRO output uses RGB channel order at depths 10 and 12; packed BGRA uses RGB order at depth 10 and BGR order at depth 12. At depth 16, BGR output retains BGR order. Safe Bash ImageMagick -region and +region require an image in the current group and preserve the destination when that group is empty. Safe Bash ImageMagick -sample and -scale produce black pixels when resizing with an active -region; clear it with +region before resizing to preserve source colors. Safe Bash ImageMagick -border, -frame and nonzero -shear reset write-mask coverage so later pixel edits apply across the output image. Safe Bash ImageMagick -separate retains extra channels such as Meta0 after extracting red or alpha. Safe Bash ImageMagick -separate honors -write-mask and -region, retaining the source red/gray sample in protected pixels. Safe Bash ImageMagick -separate and -combine require a current image list and preserve the destination when it is empty. -combine samples the selected virtual pixels below shorter inputs while retaining the first image’s channel to the right of narrower inputs. Safe Bash ImageMagick -combine retains extra input planes as meta channels, accessible with -channel meta0 -separate; -unique-colors resizes those channels to the one-row palette and preserves distinct working gradient samples. With -region still active, RGBA palette output preserves colors and active alpha; -alpha Off yields transparent entries until +region. CMYK -combine uses cyan, magenta, yellow and black ink planes, keeping black separate from alpha. Safe Bash ImageMagick reads packed 8- and 16-bit CMYK and CMYKA samples with -size and -depth, and writes raw bytes to the filename after the coder prefix, converting linear RGB and LinearGray to CMYK inks while preserving alpha. It reads interleaved raw GRAYA input at depths 1 through 8 and 16, preserving alpha. Raw GRAY input accepts every depth from 1 through 8, with packed samples read most-significant-bit first and each row padded to a byte boundary. Raw output at depths 1, 2 and 4 packs samples into bytes and pads each row to a byte boundary. Safe Bash ImageMagick -define sample:offset=25,75 and 25/75 select the same pixels as 25x75; -set option:sample:offset XxY sets or overrides the offset, and +set option:sample:offset restores default sampling. Safe Bash ImageMagick converts between sRGB and Luv, preserving precision through palette extraction. It preserves MIFF labels, comments, custom properties and indexed PNG colormaps. ImageMagick -splice retains source opacity when a translucent fill reactivates disabled alpha; -alpha off keeps source pixels opaque. ImageMagick -splice supports -virtual-pixel Dither for exposed samples outside the source image and native page-sized bands for scalar modifiers with offsets such as 4@+1+1. With -virtual-pixel transparent -channel A, ImageMagick statistics include transparent border samples even on opaque RGB input. -statistic updates all CMYK ink channels, including black, while keeping alpha independent. -statistic Contrast scales neighborhood contrast to the full color range and preserves Q16 precision in PNG64: output. It reads PIZ-compressed OpenEXR scanlines and uncompressed 16- or 32-bit floating-point MIFF samples. ImageMagick %D reads each MIFF frame’s disposal method. MIFF output preserves each frame’s original delay count and tick rate. MIFF input preserves both resolution axes and units for metadata and resampling. DirectClass MIFF input accepts LZMA-compressed 8-bit and 16-bit RGB/grayscale frames, preserving alpha and low-order sample bits. Conditional -set delay applies to loaded frames: '20>' caps their ticks at 20, while '20<' resets shorter delays to zero; an explicit xRATE changes the tick rate and the replacement value for <. ImageMagick -set delay retains each frame’s tick rate unless a new rate is explicit. Raw -interlace Partition reads channel files by input stem for RGB, RGBA, BGR, grayscale and CMYK, including alpha variants; the base file is not required and only the first frame is read. RGB partition output writes separate .R, .G, and .B files without replacing the named .rgb file. Raw RGB and GRAY input supports packed 1-, 2-, and 4-bit samples with byte-padded rows. Raw RGB output honors -interlace Plane and -interlace Line; BGR/BGRA Plane output writes red, green, then blue planes, matching native ImageMagick; raw output respects explicit -depth 8 and -depth 16 regardless of input depth. Raw RGB output packs 9- through 15-bit samples with byte padding at each row boundary for None, Line and Plane interlace; RGBA and grayscale output also pack 10- and 12-bit samples. Raw -interlace Partition reads channel files by input stem for RGB, RGBA, BGR, grayscale and CMYK, including alpha variants; the base file is not required and only the first frame is read. RGB partition output writes separate .R, .G, and .B files without replacing the named .rgb file. ImageMagick -page, -repage, and -set page preserve dimensions and offsets with a quoted # modifier, such as 4x3+1+2#. ImageMagick -page and -set page accept named paper sizes with signed offsets, such as A4-1+2 and Letter+3-1. Random-threshold ranges accept alternate separators, omitted bounds, trailing offsets, and colon ratios. ImageMagick -seed preserves 64-bit integer precision, including negative seeds. Seeded -spread accepts explicit zero-denominator ratios such as 2:0 and displaces read masks along with pixels for subsequent statistics; whitespace inside its radius is ignored, so -spread '2 3' uses radius 23. ImageMagick +seed resets the random seed to the current Unix timestamp; a later -seed restores repeatable output. Its -random-threshold keeps grayscale images monochrome, including images with alpha; omitted seeds and -seed -1 use fresh randomness, while other integer seeds reproduce the same pixels; -random-threshold and -range-threshold expand FX operands against each current image; -range-threshold also expands short properties such as %w for the current width. ImageMagick -range-threshold accepts abbreviated bounds, comma or slash separators, and parentheses ((10x30+60+90%) or (10,30,60,90)%); repeated x separators use only the first two bounds. ImageMagick swirl, implode, and wave support -interpolate average4|average9|average16 with native sampling footprints. Swirl, implode, and wave support -interpolate mesh. Swirl, implode, and wave support -interpolate spline. ImageMagick -interpolate mesh supports FX pixel sampling and -interpolative-resize, including translucent images. ImageMagick wave and spread retain extra channels such as Meta0 with zero samples at the output dimensions. ImageMagick -function accepts one trailing comma in coefficient lists and rejects empty interior fields. ImageMagick -function expands image properties, options and FX coefficients such as %[option:coef] and %[fx:1/2],0 before numeric parsing. ImageMagick -function Polynomial transforms selected extra channels such as Meta0 and Meta1, including extra channels by default. ImageMagick -wave 3/7 and -wave 3,7 mean 3x7; -swirl and -implode use the first value with either separator and move read masks with the pixels. With a translucent background, -implode makes inactive source alpha opaque before sampling. ImageMagick -copy resolves percentage dimensions against the current image. -roll, -chop, -shave, and -splice resolve geometry from %[option:name] and %[artifact:name], as well as unqualified %[name]. After a regional -roll, mirroring or rotation preserves the transformed top-left pixel even when the region excludes it, matching ImageMagick. Rectangle offsets accept leading or trailing decimal points, such as +.8 and +1., while retaining each operator’s pixel conversion. -splice 1x1+1x2 and -splice 1x1+1x1+1 preserve the rectangle and horizontal offset before the trailing x, matching -splice 1x1+1+0. Splice geometry ignores numbers after a comma but honors %, :, and / modifiers there; -splice 1x1+1+1,50% behaves like -splice 1x1+1+1%. Geometric transforms (-roll, -flip, -flop, -transpose, -transverse, -rotate) require a preceding image; otherwise they fail without replacing the output. -transpose and -transverse move write masks with the pixels, preserving protection for later edits. Zero-degree and quarter-turn rotations preserve pixels and page geometry with -filter point, regardless of the configured interpolation method. Arbitrary Point-filter rotations honor -interpolate blend, mesh, catrom, and spline, as well as bilinear, nearest, integer, background, and average/average4/average9/average16. Grid crops such as -crop 2x2@ honor gravity for tile overlap. ImageMagick -crop 16:9 uses aspect-ratio tile dimensions; explicit offsets select a single crop. ImageMagick -gravity Forget resets positioning to None for splice, chop and extent. Percentage crops honor explicit gravity (-gravity center -crop 50%); unset gravity keeps tiling. Fixed-size crop tiles honor virtual canvas offsets and stop at empty raster edges. ImageMagick frame ranges accept whitespace around the dash, such as -clone "2 - 3". Inside parentheses, -clone evaluates index expressions and image properties against the inner list, then copies the selected parent frames. ImageMagick -duplicate 1, selects no frames; omitting the comma duplicates the last frame. Signed duplicate counts +2+1 and +2-1 repeat twice; append ,0 to repeat the first frame. Custom ImageMagick INFO output expands %[format] to the literal active template and adds no implicit newline. ImageMagick %[fx:extent] reports the encoded input byte count, matching %b without the unit suffix. ImageMagick -normalize adjusts CMYK inks, including selected black ink, and preserves Q16 precision when blending translucent pixels outside -region. ImageMagick -flip and -flop mirror the whole image and its active -region. ImageMagick JPEG output inherits source quality unless -quality overrides it. ImageMagick %[interlace] reports JPEG for progressive JPEG, PNG for Adam7 PNG, and None for noninterlaced inputs. ImageMagick -interlace JPEG|Partition|Undefined enables encoded JPEG/PNG/GIF interlacing; TIFF uses contiguous samples for JPEG and Undefined, and separate planes for Partition. Interlace names accept underscores, hyphens, and surrounding whitespace while %[option:interlace] retains the supplied spelling. ImageMagick %O reports signed virtual canvas offsets, defaulting to +0+0. Page geometries accept consecutive signs: 3x2+1+-1 is equivalent to 3x2+1-1. FX quality reports the stored compression quality (0 when unset); %Q keeps its default of 92 when unset. FX expressions expose virtual canvas dimensions and offsets through page.width, page.height, page.x, and page.y. Invalid FX qualifiers in info: formats expand to empty text while writing the surrounding format for every image and returning status 1. On a single image, FX image statistics accept the u. qualifier: u.mean equals mean. ImageMagick identify properties %[scene] and %[scenes] report the original frame index and selected list length, matching %s and %n. identify -density 81x93 sets both resolution axes for subsequent inputs; +density restores file metadata. ImageMagick %x and %y preserve 17 significant digits; %[resolution.x] and %[resolution.y] use six. %[printsize.x] and %[printsize.y] (also available in FX) divide raster width and height by their respective resolutions; absent or zero resolution uses 1e-12. Unknown identify -format bracket properties expand to empty text with a warning and exit status 0. A missing final identify -format or -define argument exits with status 1 and preserves earlier image output. ImageMagick -format and -print preserve literal -list text. ImageMagick -print expands once for the active image list and writes immediately without adding a newline. The %l escape reads the embedded image label, or expands silently to empty text when absent. ImageMagick identify -format applies to subsequent input operands only; format escapes follow ImageMagick rules (\t emits t, while \n and \r emit line endings). Safe Bash ImageMagick writes the first image of a sequence to Radiance HDR by default; +adjoin or a scene filename pattern writes separate files. It retains negative and above-white EXR/Radiance samples and -fx results through arithmetic and property queries; use -clamp to bound them explicitly. FX retains fractional precision for property queries and 16-bit output. Scalar -evaluate arithmetic accepts native geometry operands such as 8192x3, reading the leading value (zero for x2 or (8192)). It also updates selected extra channels such as Meta0, including them in the default channel selection. Safe Bash ImageMagick rejects Radiance HDR negative-X and X-first resolution lines without replacing the destination. Safe Bash ImageMagick -poly combines image sequences using coefficient/exponent pairs, including weighted means and nonlinear blends, with per-source channel selection and NaN payloads such as nan(1) and nan(abc); hexadecimal integers accept an optional sign, such as +0x1 or -0x1. It preserves deactivated output alpha: output stays opaque until -alpha Activate reveals zero alpha. It clears region coverage for subsequent pixel edits while retaining the mask channel, including when only a later input has a mask. Undersized write masks protect only pixels within their bounds. Safe Bash ImageMagick -color-threshold compares HSL components and CMYK inks in their working space and selects an inclusive color range as an opaque, indexed sRGB black-and-white mask, expanding image properties, option properties and FX expressions in the range. CMYK -color-threshold endpoints compare their CMY components directly against sRGB samples. Unknown -color-threshold endpoints warn without failing the command. Safe Bash ImageMagick -alpha, -channel, and +channel require a current image and preserve the destination when the image list is empty. Safe Bash ImageMagick -channel-fx expands image and option properties such as %[label] and %[option:route] before parsing the expression. Safe Bash ImageMagick -channel-fx red=>meta copies red into the first extra channel, just like red=>meta0. Safe Bash ImageMagick -channel-fx '' preserves the original RGBA channels; bare selections also accept numeric IDs 0/1/2/4 and color aliases such as cyan and gray. CMYK channel selection and assignment accept k, black, and channel ID 3, keeping black ink separate from alpha. Safe Bash ImageMagick -colorspace HSI supports hue, saturation, and intensity channel extraction and conversion back to sRGB. Safe Bash ImageMagick -auto-orient preserves working HSL, HWB, and XYZ samples through sRGB round trips; -tint retains HSL and Lab edits when converting back to sRGB, preserving opacity and fractional samples for later arithmetic and 16-bit output. Tint strengths accept geometry such as 60x20+10 and scalar modifiers such as 60!. Safe Bash ImageMagick -emboss expands image-dependent radius and sigma expressions such as %[fx:w-10]x1; it requires a preceding input image and preserves existing output when no current image is available. Consecutive -emboss operations preserve floating-point samples between passes. Safe Bash FFmpeg tblend=all_mode=multiply multiplies successive frames with native integer normalization, retaining each later frame’s timestamp. Safe Bash FFmpeg setsar changes sample aspect ratio without changing pixels, dimensions or frame timing in simple and complex filter graphs. Safe Bash FFmpeg transpose accepts direction constants min/default (0) and max (7), and preserves native YUV420/YUV444 samples through rotations and inverse rotations, including 10- and 16-bit YUV444. Direction expressions support st and ld, such as transpose=dir='st(0,1);ld(0)'. Its hflip and vflip also retain original 10- and 16-bit YUV444 samples. It inverts sample aspect ratio when rotating and preserves it on passthrough. transpose, hflip, and vflip preserve every 16-bit RGB and alpha sample in RGB48/RGBA64 frames. Gray8 to RGB48BE/RGBA64BE conversion preserves native FFmpeg component precision and opaque alpha. field=top and field=bottom extract alternating rows at half height while retaining frame count and rate. Its setfield filter changes field-order metadata without changing pixels or timestamps. FFmpeg metadata=mode=add:key=label:value=first adds missing video frame tags while preserving existing values, pixels, and timestamps. Its tinterlace=pad filter doubles height and sample aspect ratio with alternating black scan lines, preserving YUV samples and input frame rate. Its tinterlace=interleave_top and tinterlace=interleave_bottom filters preserve native YUV plane rows when weaving frame pairs, with matching field-order metadata. tinterlace defaults to merge, doubling height and sample aspect ratio at half frame rate; mergex2 uses sliding pairs at the input rate. Safe Bash FFmpeg asetnsamples accepts scheduled asendcmd changes to frame size (n/nb_out_samples) and final-frame padding (p/pad). Safe Bash FFmpeg apad,asetnsamples pads to the regrouped output frame count requested by -frames:a; apad also accepts threads, thread_type, and extra_hw_frames without changing samples. When upstream filters drop every audio frame, apad preserves missing timestamps for downstream selection while output packet timestamps start at zero. Safe Bash FFmpeg chorus mixes modulated voices independently per channel and emits the full delayed PCM tail; hexadecimal delay 0x10 means 16 ms. Safe Bash FFmpeg aeval supports FFmpeg 7 deterministic randomi(index,min,max) sequences. Safe Bash FFmpeg aeval supports bitand and bitor without truncating operands to 32 bits. Safe Bash FFmpeg apulsator supports sine, triangle, square, sawup and sawdown modulation through mode; waveform and timing selectors accept expressions such as mode=triangle+1 and timing=ms+0, including their own min, max, and default constants. Positional apulsator=1:1:0:0.5 is equivalent to apulsator=amount=0.5; option expressions support st/ld with fresh zeroed registers for each expression. Safe Bash FFmpeg apulsator=width=0.5 adjusts pulse width independently of channel offsets; widths from 0 to 2 use native clamping, and level_in/level_out control input/output gain. Safe Bash FFmpeg apulsator supports BPM and millisecond timing through timing=bpm:bpm=180 and timing=ms:ms=250. Safe Bash FFmpeg amix preserves NaN in floating-point output when normalized weights are all zero; normalize=0 produces silence. Safe Bash FFmpeg ebur128=metadata=1 attaches loudness tags to 100 ms audio frames while preserving audio and its final summary. Safe Bash FFmpeg astats=metadata=1 exposes cumulative measurements as audio frame tags for downstream filters. Safe Bash FFmpeg astats=reset=N reports measurements for the final interval of N audio frames without changing PCM. Its astats=length=0.02 selects a 20 ms RMS peak/trough and noise-floor window without changing PCM. Its measurement selectors accept RMS_peak, Peak_count, and channel Zero_crossings by name. Safe Bash FFmpeg amix applies each input branch’s filters independently before mixing and accepts native Boolean spellings for normalize, including on/off and yes/no. Safe Bash FFmpeg speechnorm supports timeline enable expressions with native lookahead and continuous gain recovery. Safe Bash FFmpeg acrossfade uses the first branch’s filtered precision, retaining float32 rounding even with float64 output and floating-point samples until final PCM16 conversion. It applies upstream filters separately to each input branch, preserves prefix, transition, and suffix frame boundaries and unblended frame tags for downstream audio filters and supports all native fade curves independently on each input, including c1=qsin:c2=qua and numeric curve expressions. Generic threads, thread_type, and extra_hw_frames options leave crossfaded PCM samples unchanged and reject invalid values. It accepts decimal seconds and s, ms, and us duration suffixes; invalid durations preserve existing output. Safe Bash FFmpeg ebur128=target=-16:scale=relative reports loudness relative to the target while keeping the final summary absolute. Safe Bash FFmpeg ebur128=peak=true and peak=sample+true measure intersample peaks, including the final partial interval, without changing PCM. Its audio concat applies native mono-to-stereo gain to later mono segments when the first segment is stereo. Its amerge concatenates overlapping speaker layouts in input order; two stereo inputs produce 4.0 audio. Its join filter accepts input speaker names such as map=0.FR-FL|1.FL-FR, resolving them against each input’s layout, and output layouts such as 2 channels (FL+FR). Safe Bash FFmpeg amerge accepts input-count expressions and repeated assignments, rounds ties to even, and preserves existing output on invalid options. Safe Bash FFmpeg amerge=inputs=N connects 1–64 inputs and merges their channels, preserving speaker order for disjoint layouts and input order for overlapping layouts. Its amerge and join apply each input branch’s filters before merging or routing channels. Its complex audio chains can omit input labels with audio-only inputs; single-input filters, acrossfade, and amerge fill unlabeled inputs from unused audio streams in input order while preserving explicit selections. Its silencedetect filter accepts escaped clock durations such as d='00\:00\:00.125', keeps silence durations measurable when timestamps are missing and accepts named noise constants (PI, E, PHI, default, min, and max) and matches native signed 16-bit and 32-bit noise threshold scaling and truncation, and reports only frames consumed before an output frame limit. Safe Bash FFmpeg amultiply remixes mono/stereo inputs to the first input’s layout with equal-power gains before multiplying. Safe Bash FFmpeg anlms accepts input and desired PCM signals for adaptive filtering, with input, desired, residual, estimate, and noise output modes. Both filters apply scheduled mu, eps, leakage, and out_mode updates while preserving adaptation history. Both anlms and anlmf round fractional order, out_mode, and precision values to the nearest integer, with ties to even. FFmpeg axcorrelate remixes mono, stereo, quad, 5.1 (back or side), and 7.1 inputs to the first input’s layout before correlation, preserving resampled frame boundaries and tail samples. Its size and algo options accept native min, max, and default constants in expressions. Safe Bash FFmpeg astreamselect resamples mixed-rate inputs to the first input’s sample rate before selecting whole audio frames. Safe Bash FFmpeg amultiply resamples its second input to the first input’s sample rate before multiplying and accepts generic threads, thread_type, and extra_hw_frames options without changing PCM samples. Safe Bash FFmpeg amix accepts numeric expressions for input count, duration mode, and dropout transition, plus generic threads, thread_type, and extra_hw_frames options; invalid values preserve existing output. Downstream audio filters retain amix and sidechaingate frame lengths and timestamps, including missing amix timestamps when a padded split branch outlives the first input. sidechaingate timeline enable expressions expose the program packet byte offset as pos. sidechaingate accepts a final colon after its options without changing audio. Safe Bash FFmpeg sidechaingate, sidechaincompress, and acompressor numeric options accept expressions such as level_sc=1/2 and threshold=1/4; invalid values fail without replacing output. sidechaingate also evaluates expressions for mode, detection, and link, including named choices and fractional values rounded to the nearest integer (ties to even). sidechaingate also accepts option-specific min, max, and default constants. Both compressor filters accept math constants (PI, E, PHI) and option constants (min, max, default, none, all) in numeric expressions. Both compressor filters also accept threads, thread_type, and extra_hw_frames without changing PCM samples. acompressor accepts scheduled ratio and makeup changes through asendcmd at audio frame boundaries, preserving detector history. Its upstream filters apply independently to the program and control inputs before gating. Safe Bash FFmpeg atrim accepts starti and endi as aliases for start and end. Sample and PTS bounds accept print(value[,level]), returning the value and logging it to stderr at the selected level. Its threads, thread_type, and extra_hw_frames options accept max in expressions and preserve the trimmed PCM samples; thread_type=default selects slice. Trimming preserves source timestamps for afade; use asetpts=PTS-STARTPTS to rebase them. Invalid atrim bounds return status 234; out-of-range bounds return 222, preserving output in both cases. Safe Bash FFmpeg asettb=1/1000 selects millisecond timestamp ticks for asetpts, atrim, and ashowinfo without changing PCM samples. Coarsening the time base after asetpts=NAN produces negative numeric timestamps for downstream filters, matching FFmpeg. Safe Bash FFmpeg asetpts resolves INTERLACED to 0 for audio frames. Video loop accepts arithmetic expressions for its integer options and rounds fractional results to nearest, with ties to even; after setpts it preserves replay and trailing frame timestamps, matching FFmpeg 7. FFmpeg output-side audio cuts honor PCM input timestamps, including -itsoffset, with or without filters. areverse preserves packet byte positions for downstream asetpts=POS expressions and returns native Linux FFmpeg statuses for rejected options without replacing the destination. It accepts threads, thread_type, and extra_hw_frames filter options, including st() and ld() register expressions, without changing reversed samples. Safe Bash FFmpeg asetpts expressions accept PREV_OUTPTS and PREV_OUTT for the previous output timestamp in ticks or seconds. Safe Bash FFmpeg atrim accepts start_pts and end_pts timestamp expressions with native 64-bit bounds and ties-to-even integer rounding, including timestamps shifted by asetpts or rebased with asetpts=PTS-STARTT/TB. Timestamp bounds apply independently to overlapping frames. Safe Bash FFmpeg asetpts exposes PREV_INPTS (ticks) and PREV_INT (seconds), both NaN on the first frame. Safe Bash FFmpeg color options use FFmpeg’s named colors, including tomato and LightSteelBlue; unsupported names such as grey fail before replacing output. Safe Bash FFmpeg supports lossless H.264 with -c:v libx264 -qp 0 and constant lossy quantization with -qp 1 through -qp 51. Safe Bash FFmpeg supports H.264 CRF encoding, including lossless -crf 0. Safe Bash FFmpeg -tune zerolatency encodes H.264 without B-frames and removes source presentation offsets so packet PTS and DTS match. Safe Bash FFmpeg freezeframes replaces an inclusive frame range with a frame from another video while preserving source timing. Safe Bash FFmpeg -b:v 200k sets a target average H.264 bitrate while preserving frame timing. Safe Bash FFmpeg -bf 2 emits bounded H.264 B-frame runs in MP4/MOV; -bf 0 disables them. Safe Bash FFmpeg adelay accepts signed numeric prefixes and native unit suffixes such as +2S and 0.5ms, and supports frame-based enable expressions, including deterministic random()/randomi() at startup or through asendcmd, with input packet position pos and zero audio dimensions w/h while preserving its delayed tail. Its threads, thread_type, and extra_hw_frames settings accept valid values without changing PCM output. Its all flag accepts native boolean aliases such as enabled/disabled and Y/N, plus signed or zero-padded decimal zero/one. Safe Bash FFmpeg H.264 -preset selects x264 encoder settings and rejects unknown names. Safe Bash FFmpeg feedback applies a filter to a rectangle in each frame while preserving the surrounding picture and frame timing. Safe Bash FFmpeg groups MPEG-TS AAC frames into PES payloads and accepts -pes_payload_size to set their byte target. Safe Bash FFmpeg copies M4A AAC-LC to LOAS/LATM using .latm or -f latm. Safe Bash FFmpeg preserves leading ID3v2 and trailing APE text metadata when copying ADTS AAC to M4A. Safe Bash FFmpeg preserves all mapped H.264 video tracks in MPEG-TS output, in mapping order. Output -pix_fmt gray (or gray8) removes color before encoding, after video filters. Safe Bash FFmpeg accepts -mpegts_service_id (1–65535, default 1) for matching PAT, PMT and SDT identifiers. Safe Bash FFmpeg -muxrate pads MPEG-TS output to the requested transport bitrate and paces PCR from packet positions without changing copied audio. Safe Bash FFmpeg -pcr_period 100 sets MPEG-TS clock insertion to 100 ms, including fixed-rate output with -muxrate. Safe Bash FFmpeg copies XVID/FMP4 AVI video to MP4 or Matroska as MPEG-4 Part 2, preserving compressed packets. WAV-to-AVI stream copy preserves IMA ADPCM audio blocks and format parameters. AAC stream copy from M4A into WAV preserves compressed packets and decoder configuration. Safe Bash FFmpeg VP9 stream copy to AVI preserves VP90 codec tags and compressed packets. Safe Bash FFmpeg -live 1 writes Matroska/WebM with an unknown Segment size and no Duration or Cues; -live 0 keeps normal file output. Safe Bash FFmpeg raw PCM input accepts isolated speakers (FL, FR), count-only layouts (2C, 9C), and extended named layouts (7.1.2, hexadecagonal); raw PCM output accepts tee:first.pcm|second.pcm to write identical bytes to both local files. Safe Bash FFmpeg -cluster_time_limit controls Matroska/WebM cluster duration in milliseconds while preserving copied packets. Safe Bash FFmpeg hevc_metadata crops the visible HEVC frame during stream copy, preserving coded pixels and compressed picture packets. Safe Bash FFmpeg freezedetect accepts threads without changing frames or freeze events, reports freeze intervals and prints boundary metadata in frame order, with metadata selection preserving video samples; downstream trim stops detection at its cutoff. Safe Bash ffmpeg and ffprobe accept concatf:parts.txt to read newline-listed local files as one seekable byte stream. Safe Bash FFmpeg pcm_rechunk=r=30000/1001 aligns PCM packets to fractional video rates, with optional final-packet padding. Safe Bash FFmpeg h264_metadata=sei_user_data=UUID+text inserts UUID-tagged SEI user data during H.264 stream copy. Safe Bash ImageMagick -resize applies explicit filters even when dimensions stay unchanged. Safe Bash ImageMagick -deskew applies distort:scale to its raster, page geometry and samples, uses the selected -filter and filter settings when resampling, and rejects invalid threshold syntax before replacing output; 40x2% uses the absolute threshold 40. The measured angle is available through %[deskew:angle] and %[artifact:deskew:angle], including after +set deskew:angle. Safe Bash ImageMagick -colorspace HCL and HCLp convert hue, chroma and luma for channel operations and RGB output. Safe Bash ImageMagick arbitrary rotations promote indexed images to direct color; right-angle and skipped rotations preserve indexed color. Safe Bash ImageMagick -contrast-stretch and -linear-stretch accept native clipping geometry, including ratios, embedded spaces and comma/slash separators. Safe Bash ImageMagick -colorize promotes indexed images to direct color even at zero strength. Safe Bash ImageMagick -contrast-stretch and -linear-stretch treat -channel Default like the implicit default, including alpha. Safe Bash ImageMagick -colorize activates alpha for RGBA fills, including fully opaque fills, while preserving pixel opacity. Safe Bash ImageMagick grayscale conversion preserves 16-bit color and alpha samples; -sepia-tone requires a current image and preserves the destination on failure; it keeps grayscale neutral with single-channel selections. Safe Bash ImageMagick -evaluate-sequence Undefined preserves a single input and clears active samples with multiple inputs. Safe Bash ImageMagick -evaluate Pow preserves native float32 working-sample overflow through INFO and pixel output. Safe Bash ImageMagick -evaluate-sequence preserves Discrete alpha samples, 16-bit operands, fractional Mean/-average results and operands, out-of-range Add/Sum/Subtract samples until encoding or -clamp, and each image’s virtual-pixel method across parentheses; -respect-parentheses scopes settings to the group. Sequence Mean retains deactivated alpha as zero, including when the first input uses -alpha Off, for later -alpha Extract. Sequence reduction retains a region’s zero-filled write-mask channel, affecting RGBA alpha until +write-mask removes it. Safe Bash ImageMagick -layers merge fits positioned layers into one raster while preserving page geometry. Safe Bash ImageMagick -type TrueColorAlpha, -type Palette, and -type PaletteAlpha (alias PaletteMatte) convert color storage before subsequent operators; PaletteAlpha preserves partial alpha and canonicalizes fully transparent colors to transparent black; Palette turns fully transparent pixels opaque black unless alpha was disabled first. PaletteBilevelAlpha (alias PaletteBilevelMatte) thresholds alpha to transparent or opaque before subsequent operators. Safe Bash ImageMagick -black-threshold and -white-threshold promote indexed images to direct color even when the cutoff leaves every pixel unchanged. Both accept slash-separated channel cutoffs: 50/20% is equivalent to 50x20%. -white-threshold also updates selected extra channels such as Meta0, using ImageMagick’s zero cutoff for those planes. Safe Bash ImageMagick -posterize evaluates level expressions against the current image list, including %[fx:u[1].w], image count and frame index; it honors -dither FloydSteinberg, Riemersma, None and +dither; opaque Riemersma posterization uses native palette-tree selection; undithered CMYK posterization includes black by default and honors explicit channel selections. Grayscale PNG posterization packs two, four, and sixteen levels into 1, 2, and 4 bits without changing pixels. Safe Bash ImageMagick -level '25%,75%!' applies inverse levels, equivalent to +level '25%,75%'. Safe Bash ImageMagick -level-colors 'black,white' expands color endpoints to the full range; +level-colors maps into those endpoints. Both honor -channel, including alpha. Safe Bash ImageMagick -copy geometry offset copies pixel rectangles within an image, expands properties in both geometry operands, supports native overlap propagation, and truncates fractional source and destination offsets to whole pixels. A bare -copy width requests a square (1 means 1x1); 1x copies no pixels. Safe Bash ImageMagick -clahe widthxheight+bins+clip-limit adjusts local contrast with interpolated tile histograms, preserves linear RGB and LinearGray brightness, and evaluates tile-size expressions against the full image list. Safe Bash ImageMagick -shave resolves @ area geometry before removing borders and preserves the source with a warning when signed pixel dimensions cannot safely remove a border. ImageMagick chop ignores numeric fields after a comma but honors their %, :, and / modifiers. Scalar modifier offsets such as -chop "1!+1+1" and -shave "1%+1+1" preserve the image with a warning. A second decimal point in chop height or the final offset preserves the fields parsed before it. With explicit dimensions, -chop preserves both offsets across !, ^, and #, so "1x1+1!+1" chops like 1x1+1+1. Safe Bash ImageMagick chained -contrast and +contrast operations preserve fractional samples on 8-bit images, including HSL working channels, while leaving alpha unchanged. Safe Bash ImageMagick +local-contrast fails as deprecated with status 1 without replacing output. Safe Bash ImageMagick -local-contrast radius{xstrength} accepts geometry modifiers, offsets and omitted fields (defaults: 10x12.5), then expands image properties, options and FX expressions against the current image, then adjusts local contrast in the active working colorspace, including HSL, Lab and CMYK, while preserving alpha, CMYK black and 16-bit precision. Safe Bash ImageMagick -bilateral-blur smooths noise in the active working colorspace, including HSL, Lab and all four CMYK inks, while preserving sharp edges. -selective-blur 2x1+10% smooths RGB neighbors within a 10% intensity threshold. -adaptive-sharpen 2x1 sharpens RGB and CMYK detail, including black ink, according to local edge strength. -blur and -gaussian-blur evaluate radius expressions against the current image list, so +clone -blur '%[fx:n]x1' uses radius 2. -adaptive-blur 1x1 smooths RGB and CMYK detail, including black ink, according to local edge strength; 0x1 selects the radius automatically. Both adaptive filters evaluate radius expressions against the current image list (n, t, u[1]), process extra planes such as Meta0 and honor -channel during edge detection and filtering, preserve unselected channels, and honor -virtual-pixel and -background at image borders. Safe Bash ImageMagick -liquid-rescale provides content-aware resizing with target expressions evaluated against the current image list, while preserving page geometry, grayscale extra channels, and fractional or out-of-range working samples. Safe Bash ImageMagick converts XWD window dumps with 8-bit palettes or 24/32-bit true-color pixels to PNG. Safe Bash ffmpeg -af surround upmixes stereo to 5.1, with window sizes divisible by four from 1024 to 65536 (including 1536), optional LFE, and temporal smoothing with smooth=0.5. Safe Bash ffmpeg -af lowpass=f=100:p=1 filters PCM audio with one or two poles (default cutoff 500 Hz). transform (alias a) selects di (default), dii, tdi, tdii, latt, svf, or zdf for lowpass, highpass, bandpass, bandreject, equalizer, and shelf filters, preserving each native transform’s sample rounding. Biquad audio filters accept threads and extra_hw_frames without changing samples. Audio asendcmd changes named biquad cutoff and shelf gain at frame boundaries while preserving filter history. Safe Bash ffmpeg -af treble=g=3 and highshelf=g=3 boost upper PCM frequencies; negative gain cuts them and zero gain preserves input. Safe Bash ffmpeg -af bass=g=3 and lowshelf=g=3 boost low-frequency PCM audio with native shelf curves and PCM16 rounding. Safe Bash ffmpeg -af bass=g=3 and lowshelf=g=3 boost low-frequency PCM audio with native shelf curves and PCM16 rounding. Safe Bash ffmpeg -af highpass=f=50,volume=1 uses the downstream volume precision when calculating highpass samples. Highpass enable expressions switch the effect at audio frame boundaries while retaining filter history. Safe Bash ffmpeg -af aecho=0.5:1:1|2:0.5|0.25 mixes per-channel echo taps and preserves the full echo tail. Its input and output gain expressions accept PI, E, none (0), and all (-1), alongside min, max, and default. H.264 stream copy supports display-orientation SEI rotation and flips, and selective orientation removal without changing encoded video. Safe Bash ffmpeg -c copy preserves Matroska/WebM 360° projection and pose metadata and writes a video-keyframe seek index. Matroska copy marks the first of multiple unmarked audio tracks default in mapping order, while respecting explicit dispositions. VP9 MP4/Matroska/WebM copy supports output -fflags -autobsf to preserve separate packets and -fflags +autobsf for default superframe grouping. VP9 MP4/Matroska/WebM stream copy automatically packs invisible frames with the next displayed frame, preserving decoded video. ffmpeg -c:a libvo_amrwbenc -b:a 23.85k encodes mono 16 kHz PCM to AMR-WB in 3GP or AMR output. FFprobe reports color_transfer=linear for QOI inputs marked as linear. Safe Bash FFprobe writer options sv=fail|replace|ignore control invalid UTF-8 metadata; svr sets replacement text. Safe Bash FFprobe -unit includes units on stream sample rates, stream/container bit rates, times and container sizes. Safe Bash FFprobe reports Matroska/WebM spherical projection, cubemap padding, signed pose, MP3 ID3 user-defined text tags, and AAC trailing APE text tags. ImageMagick -white-balance honors regions and write masks while correcting color casts and preserving alpha and out-of-range samples for later operations. ImageMagick MPR reads support frame selectors, reversed ranges, and crop geometry; info: preserves gaps in increasing scene numbers while %p reports the list position. ImageMagick .xwd and XWD: outputs write native-readable 24-bit RGB XWD. ImageMagick compare -set comment "reviewed" adds or replaces PNG difference-image text properties while preserving unrelated properties. ImageMagick compare -compress None|LZW|Zip|RLE writes lossless TIFF differences. ImageMagick distort Resize accepts resize geometry such as 6x4 or 2x2! and resamples to that canvas. ImageMagick SRT distortion rejects zero scale coefficients while allowing zero rotation; Plane2Cylinder projects a planar image onto a cylinder for a field of view in degrees. ImageMagick compare -colorspace measures distortion in sRGB, linear RGB, Gray, Lab, or CMYK, including independent black and alpha channels. ImageMagick CMYK conversion retains fractional ink values from 8-bit RGB inputs for separation and subsequent RGB output. CMYK xc: and canvas: literals retain their supplied ink channels in absolute or percentage syntax. ImageMagick compare applies scoped -level/+level and -brightness-contrast adjustments while preserving fractional samples. Its subimage dissimilarity warning uses a lower-than threshold for SSIM, DSSIM, NCC, and PSNR scores. Its +fuzz resets tolerance; +metric, +precision, +format, +similarity-threshold, and +dissimilarity-threshold preserve their current settings. ImageMagick compare -interlace Plane writes progressive JPEG difference images; -interlace None writes baseline JPEGs. ImageMagick compare accepts ( framed.png -trim ) to remove an operand’s border before measuring distortion. Percentage-based -trim honors -define trim:background-color=color; ordinary trim still uses corner colors. JPEG comparison output supports explicit -sampling-factor 4:2:0 and 4:4:4. TIFF difference images preserve the first operand’s resolution axes and units, including absent tags. Safe Bash FFmpeg and ffprobe accept inline data:audio/wav;base64,... media inputs. Safe Bash FFmpeg encodes mono 8 kHz PCM with libopencore_amrnb to 3GP or AMR and copies AMR-NB/WB audio from 3GP to standalone .amr files without re-encoding. FFmpeg FLAC encoding uses compression level 5 by default, matching explicit -compression_level 5. FFmpeg and ffprobe detect AAC and FLAC after leading ID3v2 tags. AAC preserves ID3 text; FLAC uses it only when FLAC comments provide no metadata. FLAC stream copy applies per-picture titles and picture types while preserving embedded images and audio. FFprobe applies 3GP AMR edit-list skips to packet side data and decoded-frame timing. Safe Bash FFmpeg stream copy and FFprobe preserve combined MP4 movie and track display transforms; FFprobe omits undeclared AU frame counts and reports AU stdin duration only when the header declares it. ImageMagick compare saves an operand with ( input.png -write snapshot.png ) while retaining it for comparison. ImageMagick compare supports positional -negate and grayscale-only +negate, preserving 16-bit samples. ImageMagick negation keeps Gray and LinearGray neutral: -channel R selects gray, while G and B leave it unchanged. ImageMagick -negate complements selected extra channels (Meta0, Meta1, etc.) and preserves indexed GIF and PNG palette order for subsequent -cycle operations. The first ImageMagick -cycle applies external write masks during palette conversion, preserving protected RGB after +write-mask. FFmpeg aphaseshift rotates PCM phase while preserving tone frequency and sample count. FFmpeg sidechaincompress resamples the detector input to the program’s sample rate when the rates differ. FFmpeg rotate angles accept input dimensions iw/in_w and ih/in_h, such as rotate=PI/iw. Safe Bash FFmpeg aeval=sqrt(val(ch)):c=same evaluates channel sample square roots, preserving NaN until PCM16 encoding. aeval=log(n+1)/4 evaluates natural logarithms. aeval=hypot(n\,1)/8 evaluates the hypotenuse from the sample index. FFmpeg aeval=exp(n/4)/4 evaluates exponential sample expressions. Safe Bash FFmpeg writes headerless VIDC audio to files or stdout with -f vidc, downmixes labeled 5.1 input before extrastereo and stereotools, and copies AAC into ADTS or M4A segments at packet boundaries and supports Matroska/WebM front seek indexes with -cues_to_front and -reserve_index_space, and preserves WAV header speaker assignments when input channel-layout options disagree. FFprobe reads MP4/MOV timecode data-track tags and referenced video timecodes, including drop-frame timecodes. FFprobe preserves AU channel counts without inventing speaker layouts. FFprobe decodes both legacy QuickTime language IDs and packed ISO language codes in MP4 tracks. FFprobe reports Matroska video field order and selects attachment streams with t or t:N. ImageMagick -attenuate value exposes its option value without changing pixels or -evaluate noise amounts. ImageMagick magick and convert accept saved mpr: registers as read and write masks; compare -read-mask mask.png measures selected pixels and marks excluded pixels gray in the difference image. ImageMagick sequence Mean retains a zero-valued read mask from its inputs; +read-mask restores statistics over all output pixels. Safe Bash qpdf reports recovered PDF damage on stderr and exits 3, or 0 with --warning-exit-0. Safe Bash AWK record separators support multi-character regular expressions, buffering regex-separated input to EOF within configured limits. Safe Bash jq filters can use input_filename and input_line_number to identify the current input source and position. debug emits JSON diagnostics to stderr while preserving its input. Safe Bash supports noncapturing SDK execution with captureOutput: false and streams CLI output without retaining a full result. Sips PDF conversion and detailed image inspection keep input and rendered pixels in caller-backed storage. ImageMagick compare applies -delete indices within the current image stack before selecting its two comparison frames. ImageMagick supports -treedepth when reducing colors, including montage tiles. Its -set EXIF:Orientation overrides formatted property output without changing pixels or the encoded orientation tag. Its ISOBRL: and ISOBRL6: outputs write headerless binary braille cells to files or stdout. Its -resize, -scale, and -thumbnail preserve HSL, Lab, HWB, and XYZ working colors and alpha. ImageMagick plasma thumbnails retain source dimensions and URI. ImageMagick -thumbnail retains source dimensions and URI for default-color canvases and gradients. After rotation (including 0 degrees), transpose, or transverse, it reports Thumb::Size as zero; skipped conditional rotations preserve the source byte count. It records the current image-list length in Thumb::Document::Pages and sets Software to https://imagemagick.org, replacing any prior value even when dimensions stay unchanged. -morph applies the selected resampling filter even when input dimensions stay unchanged. Same-size -morph preserves fractional and out-of-range input samples for later arithmetic and 16-bit output. Its -morph interpolates Discrete alpha while deactivated alpha copies the second input’s opacity. Its -morph interpolates extra channels such as Meta0 in each generated frame, using the first source’s channel selection for each pair. The second input’s channel selection and region also control its color resampling before blending. Use -sort-pixels to sort each scanline by pixel intensity, preserving retained alpha when blending a region, or -enhance to reduce noise by averaging similar neighboring colors while preserving disabled alpha for later reactivation and exact half-range gray virtual pixels. Its -statistic uses the requested neighborhood width and height, including even dimensions and x, comma, colon, or slash separators. A trailing # preserves those dimensions (2x1# equals 2x1). -statistic Maximum preserves out-of-range working samples for subsequent arithmetic; use -clamp to clip them explicitly. Its -morphology Dilate includes the selected virtual pixels at image borders, including the -background color. Its -morphology Thicken grows only foreground/background kernel matches while preserving existing foreground. Invalid -statistic geometry such as x3, bad, offsets without dimensions (+2+1, -2+1), or scalar windows immediately followed by offsets (2+0, 2+1+2) fails without replacing the output. Use 2x+1+2 for a valid 2×2 window with offsets. ImageMagick -statistic preserves 16-bit input samples and honors virtual pixels at image borders; Mean, RMS and StandardDeviation retain sub-byte precision in PNG64 output. Reduced palette colors weight RGB by alpha and group fully transparent colors together. ImageMagick -colors retains DisplayP3, Adobe98, and ProPhoto working colorspaces when reducing palettes; automatic tree depth follows the color limit and dithering setting, including low-contrast RGB images. ImageMagick -remap uses the reference palette’s colorspace when remapping sRGB images. ImageMagick +remap builds a shared palette across loaded images using the current -colors limit and dithering settings. ImageMagick smush honors each image’s gravity and virtual-pixel setting across parenthesized groups and uses nonzero working alpha to retain image extents, even when output-depth rounding makes that alpha zero. It preserves fractional and over-range working samples, plus the first image’s print resolution and units, when appending images, and uses stored background colors for smush and shear unless -background overrides them; smush preserves HSL, HSB, XYZ and HWB source colors and blends CMYK overlaps with black separate from alpha, and shear applies -compose and honors -channel before resampling, keeping unselected channels from the background. CMYK shear resamples all four inks and keeps black separate from alpha. Shear geometry expands %w and %h using each image’s current dimensions. It keeps grayscale color-matrix results in the gray channel and preserves CMYK ink channels when morphing mixed-color frames. Named color matrices accept Gaussian, Blur (including quarter-turns), Laplacian, Diamond, Disk, Octagon and Rectangle kernels. DoG, LoG, Comet, Binomial, Ring, Plus, Cross, Peaks and distance kernels also resolve by name, along with native defaults for FreiChen, Roberts, Prewitt, Compass, Kirsch and hit-and-miss kernels such as Edges and Skeleton. It rejects the replaced -recolor option before overwriting output (use -color-matrix); it accepts weighted -color-matrix Square:radiusxweight kernels and preserves fractional and out-of-range samples across chained color matrices and supports -intensity for alpha masks, black/white thresholds, linear stretch and charcoal (including repeatable random virtual pixels with -seed), ordered channel exclusions such as -channel 'All,!Alpha'; it selects only red for quoted -channel 'Red Blue'; commas or pipes select multiple channel names. It includes alpha with explicit -channel Default for Polynomial and sigmoidal contrast (midpoints 5x0x2e and 5x2e match 5x46 and 5x2; 6:25% normalizes to 0.24x1% for both contrast directions; a lone 10% scales the default midpoint and differs from 10 or 10x50%). Its distortion handling fits all supplied Affine and Perspective control point pairs and honors distort:viewport output size and origin from -define, -set option:distort:viewport, or per-image -set artifact:distort:viewport, with distort:scale controlling output scale. AffineProjection applies six matrix and translation coefficients. Polar remaps angle and radius into source pixels, with optional radii, center, and angular range; +distort Polar fits the output canvas. DePolar unwraps circular images using radius, center and angle controls; +distort fits the output canvas. BilinearReverse fits destination-to-source bilinear mapping from four or more point pairs. BilinearForward fits four or more source/destination point pairs and inverts the forward mapping for sampling. Cylinder2Plane projects cylindrical images onto a plane for the given field of view; +distort fits the output canvas. ImageMagick alpha removal, association and disassociation preserve 16-bit RGB precision for PNG48 output. Alpha removal in CMYK composites all four ink channels, including black. Swirl and implode honor the selected interpolation method. Sequence noise operators honor -seed for reproducible pixels; seeds use the leading decimal integer (1e1 means 1, 0x11 means 0, and 17.5 or 17x2 means 17). ImageMagick rejects invalid conversion channel masks before replacing output. Pandoc RTF conversions use caller-backed parsing and Lua filters, including streamed HTML image embedding. Pandoc DOCX input preserves embedded images and their media bytes. Native and Wasm Pandoc preserve inline HTML as typed JSON nodes; plain output requires an explicit raw-content policy. ZIP reads and TAR mutations use caller-backed staging and range reads; large archives require suitable external filesystem storage. FFprobe exposes 20-byte MP4 timecode descriptions with -show_data -show_entries stream=extradata,extradata_size. It reports a zero codec tag for ordinary AIFF and accepts -select_streams d for MP4 timecode streams and packets. FFmpeg and FFprobe reject piped WAV audio that precedes its format header. FFmpeg and ffprobe read PCM16 NIST SPHERE speech recordings in either byte order, preserving header tags and packet offsets. Both commands read float32 IRCAM audio in either byte order. FFmpeg H.264 MP4/MOV encoding supports -force_key_frames timestamp lists. FFmpeg output color options set SDR/HDR MP4 tags during video stream copy without changing encoded samples. MPEG-TS output advertises service_name and service_provider metadata, defaulting to Service01 and FFmpeg. FFmpeg input-side -ss retains Ogg Opus page preroll during stream copy. Decoded-video -ss and -sseof seeks round to the nearest video timebase tick, with half ticks rounding upward. FFmpeg ignores -sseof for standalone SRT/WebVTT inputs with unknown duration, preserving every cue and its timestamps. Opus stream copy from Ogg or Matroska into MP4 preserves decoder configuration and timing. FFmpeg apad sample counts and packet_size accept numeric expressions with PI, E, and PHI constants and round exact halves to even; a following atrim can bound silent padding without an output duration. Output time bounds size apad silence from the final frame timestamp, including after asetpts compresses timestamps. Its mixed named and positional options follow native FFmpeg shorthand order. FFmpeg apad durations pad_dur=-1us and whole_dur=-1us remain unset, while zero remains explicit. FFmpeg afade sample counts also round fractional values to nearest, with exact halves going to even; complete frames outside the fade use the configured silence or unity gain, including with c=nofade. FFmpeg acrossfade overlap accepts case-insensitive Boolean words such as yes/no and on/off. FFmpeg WAV extraction decodes Ogg Opus/Vorbis, AAC, CBR/VBR MP3 and mono, stereo, and multichannel 16-, 24-, and 32-bit integer lossless WavPack audio with title and artist metadata (including lossless 32-bit floating-point input) in memory and encodes 16-/24-bit mono/stereo PCM with -c:a wavpack for checksums and Matroska output and copies compressed WavPack packets to .wv files or -f wv pipe output and supports adeclip restoration of clipped PCM peaks and afftdn FFT denoising with configurable noise floor, reduction, and noise-only output, afftfilt spectral expressions with timeline enable support, Hann, rectangular, Hamming, or Blackman windowing and real(bin,channel)/imag(bin,channel) lookups, and afwtdn wavelet denoising with timeline enable expressions and timed sigma, softness, profile, adaptive, and percent updates and anull passthrough, astats PCM statistics, anullsink for unused audio graph branches, asupercut ultrasonic attenuation and asubboost low-frequency enhancement and virtualbass 2.1 bass synthesis with automatic stereo remixing in audio filter chains, including double-precision mixing for a preceding layout-only aformat. virtualbass accepts register and random functions in enable expressions while always synthesizing bass, matching native FFmpeg. FFmpeg adynamicequalizer supports cutbelow, cutabove, boostbelow, and boostabove modes with native gain smoothing, configurable target frequency/Q and bell or shelf shapes, and explicit attack, release, threshold, ratio, makeup, and gain range. adynamicequalizer=mode=listen outputs the detector signal, with dftype=bandpass (default), lowpass, highpass, or peak; detector frequency and Q accept expressions such as dfrequency=2k and dqfactor=1/2. Its enable expression switches at audio frame boundaries and keeps detector history running during bypass. Scheduled asendcmd updates to dfrequency, dqfactor, and dftype apply at audio frame boundaries while preserving detector history, including named instances. Valid target and dynamics settings are accepted without changing the listen signal; out-of-range values are rejected. precision=auto (default), float, or double selects processing precision; auto retains double/64-bit input and uses float for other formats. FFmpeg bandreject=f=500:t=q:w=1 removes a frequency band from PCM audio; t=h:w=150 selects a 150 Hz bandwidth. FFmpeg atilt accepts scheduled asendcmd updates to freq, slope, width, order, and level while preserving filter history. It supports per-frame enable expressions using frame number n and timestamp t, preserving input samples and filter history during bypass. FFmpeg and FFprobe accept WebVTT input -kind subtitles|captions|descriptions|metadata, preserving the kind in WebM stream copy. FFmpeg supports input -sub_charenc for SubRip decoding while preserving raw bytes with -c:s copy. PJS-to-SRT conversion preserves trailing dialogue spaces while removing leading spaces. FFmpeg input -t/-to preserve transcoded subtitle cues; output limits and input-limited stream copy still trim by cue start time. FFmpeg preserves named ASS bold styles when converting to SRT; -xerror stops subtitle transcoding at the first invalid UTF-8 cue. FFmpeg SubRip stream copy preserves original packet bytes, including non-UTF-8 text. FFmpeg input -sub_charenc_mode ignore preserves non-UTF-8 subtitle bytes in SRT and WebVTT output; do_nothing still validates UTF-8. FFmpeg uses CRLF for physical line breaks and literal \n inside WebVTT-to-SRT dialogue, preserving LF for structural lines and preserving trailing spaces and edge tabs while removing initial ASCII spaces; WebVTT stream copy retains cue text, identifiers, and settings. SRT-to-WebVTT conversion strips closed {y:...} and {Y:...} directives while preserving literal braces. FFmpeg retains the final decoded AAC samples unless an explicit time limit trims them. FFmpeg and FFprobe concat inputs accept -segment_time_metadata 1 to attach per-file start and duration packet tags in microseconds. Concat input seeking honors declared durations and warns when an unindexed manifest cannot seek, preserving native WAV PCM continuation. FFmpeg concat timing directives accept explicitly positive durations, such as outpoint +0.5. FFmpeg DASH -min_playback_rate and -max_playback_rate advertise playback bounds in the manifest. FFmpeg DASH publishes dynamic manifests as segments become available and finalizes a static manifest at EOF. Independent H.264/AAC DASH segments advertise access and bitstream switching flags. FFmpeg DASH supports explicit MP4 or WebM segment selection with -dash_segment_type. FFmpeg Opus encoding accepts -b:a target bitrates. FFmpeg validates complete -ac channel counts before replacing output. FFmpeg DASH -streaming 1 writes one fragment per frame without indexes while preserving segment boundaries. FFmpeg HLS honors segment intervals below 200 ms when keyframes permit. FFmpeg DASH supports -utc_timing_url to advertise a UTC timing source in its manifest. FFmpeg DASH selects WebM for VP9; MP4 media segments carry native msdh/msix segment brands and support time-based fragment subdivision with -frag_type duration -frag_duration 0.5. FFmpeg HLS playlist sizes accept numeric expressions and round decimals to the nearest integer, with exact halves rounded to even. FFmpeg HLS playlist types accept 0 (default), 1 (EVENT) and 2 (VOD). Repeated HLS options validate their final assignments; signed flags modify earlier flags. FFmpeg accepts -mpegts_flags +initial_discontinuity to mark each MPEG-TS PID’s first packet. FFmpeg HLS accepts numeric segment types 0 (MPEG-TS (including -mpegts_service_type digital_radio)) and 1 (fragmented MP4). FFmpeg HLS flags accept numeric masks such as 0 and 16, including combinations with named flags. FFmpeg checksum outputs support RIPEMD128, RIPEMD160, RIPEMD256 and RIPEMD320. FFmpeg md5: output URLs hash encoded bytes and write a digest line to a file or stdout. FFmpeg whole-output and per-stream hashes support native 128-bit Murmur3 via -hash murmur3. FFmpeg framecrc includes a software header unless -bitexact or -fflags +bitexact is set. FFmpeg and ffprobe read raw AAC-LC LOAS/LATM audio, including packet hashes, WAV decoding and byte-preserving LATM stream copy. FFmpeg ADTS and AC-3 stream-copy checksums preserve complete packets and their native time base. ADTS output accepts -write_mpeg2 1 for MPEG-2 frame headers; zero or omission selects MPEG-4 without changing AAC payloads. ADTS output supports optional ID3v2.4 metadata with -write_id3v2 1, preserving copied AAC packets. FFmpeg framemd5 and framehash report copied codec extradata sizes and selected digests, including ALAC configuration. FFmpeg framecrc reports copied codec extradata sizes and checksums. FFmpeg segments accept -segment_time_delta to cut at eligible packets slightly before each target time. FFmpeg -initial_offset shifts segment packet timestamps without changing cut points or list times. FFmpeg MPEG-TS output supports -muxdelay (default 0.7 seconds), preserving the native offset between presentation timestamps and PCR. FFmpeg segment filenames and list entries can start at a chosen sequence number with -segment_start_number. FFmpeg segment lists accept -segment_list_entry_prefix without changing output filenames. Its -segment_list_size N keeps the last N list entries while retaining every segment file. FFmpeg -segment_format selects segment contents independently of the filename suffix, including headerless PCM. WAV segments support a separate header file with -segment_header_filename. Its -write_header_trailer 0 writes headerless PCM WAV segments while preserving segment boundaries and list timestamps. FFmpeg WAV stream-copy segments preserve packet-aligned output seeks and their timestamps. FFmpeg also copies PCM audio into Matroska segments while preserving packet timestamps and samples. Matroska output includes CRC-32 checksums by default (-write_crc32 0 disables them); WebM omits them. FFmpeg segment lists support filename-only output and CSV timestamps, inferred from the list filename or selected with -segment_list_type flat|csv. Its sidechaingate and alimiter filters support timeline enable expressions to bypass processing on selected audio frames. Its asendcmd supports comma-separated actions in written order and scheduled alimiter threshold, input gain, output gain, automatic level, and automatic release (asc/asc_level) changes while preserving lookahead and release state. Its alimiter=asc=1 filter supports automatic release across sustained peaks and quiet intervals. Its afreqshift filter shifts audio frequencies by a signed Hz offset, with output gain control. Its apulsator filter converts mono input to stereo with native mixing gain and independent channel phases. Its compensationdelay filter accepts numeric expressions, rounds distance and temperature to the nearest integer with ties to even, and preserves existing output on invalid values. Timeline expressions expose packet byte position pos (NaN when unavailable) and audio width w (0). Its dialoguenhance filter accepts scheduled original gain changes through asendcmd, preserving earlier audio overlap. Its adelay filter accepts threads=none and extra_hw_frames=all as 0 and -1 without changing PCM output, and returns status 234 for invalid delays or all values and 8 for unknown option names. It skips empty delay entries, passes audio through when delays are omitted, and resolves positional values after named options in native FFmpeg order. Its apad filter accepts padding durations with minimum sample counts, and padding sample counts with minimum durations; explicit padding takes precedence. Its aformat filter accepts mono/stereo layout alternatives, preserving an allowed input layout or converting with native mixing gains; converting a single FL or FR speaker to mono preserves its samples. Its aresample=16000 filter resamples PCM in chain order, preserving frame timestamps for later reporting and fades even after asetpts changes the timing. aresample=ochl=stereo also remixes FC+LFE input using the center channel and preserves downmix input samples. Output -ac 4 routes FC+LFE input to the center speaker in 4.0, omitting LFEInline phase_shift, linear_interp, and exact_rational options control each resampling stage independently. Its aselect expressions accept per-channel frame sample counts (samples_n), the incoming sample_rate, and the unavailable (NaN) consumed_samples_n counter. Safe Bash FFmpeg amix mixes mono, stereo, and six-channel 5.1 inputs in either order using the first input’s layout. amix and amerge resample their second input to the first input’s sample rate; amerge preserves channel identity, uses the first input’s time base after asettb, and stops at the shorter duration. Its amultiply filter applies upstream audio filters on each branch before multiplying samples. Its astreamselect filter connects unlabeled inputs to unused audio streams and applies upstream audio filters on each branch before selecting an input. Its atrim filter accepts duration (durationi) relative to the retained audio start, keeping the longest range when combined with other end bounds. Its apad filter treats pad_len=-1 and whole_len=-1 as unset sample counts and accepts output audio frame limits as finite padding bounds. A following atrim also bounds padding across anull, acopy, and volume, and across asetnsamples for sample end bounds. Positional aformat=s16:8000:mono selects the sample format, rate and channel layout in that order. Its aformat=sample_rates=16000|8000 filter preserves an allowed input rate or resamples to the nearest listed rate before later filters. Its aeval expressions support sine waveforms such as sin(PI*n/2)/2. Its aeval channel indices truncate toward zero; negative indices produce silence. Its aeval=val(0)*random(0) advances the FFmpeg 7 random sequence across samples independently for each output channel. Its aeval=abs(val(ch)):c=same rectifies each audio channel. Its aeval=sgn(val(ch))/10:c=same extracts each channel’s sign at one-tenth amplitude. Its aeval conditionals evaluate only the selected branch and default an omitted else to zero. FFmpeg -guess_layout_max controls layout guessing for unmasked WAV input without changing its audio samples. FFprobe exposes all nine MP4 display matrix coefficients for nonidentity transforms. FFmpeg AIFF stream copy preserves title, author, comment and copyright text tags, including explicit -metadata overrides. FFprobe reports nominal AIFF PCM stream bitrates even with no sound samples. FFprobe reads local concat manifests and reports packet timestamps across clips. FFprobe compact/CSV item separators must be exactly one UTF-8 byte. FFmpeg and FFprobe read local concat: inputs as one byte stream, including split headers and samples. Its standalone WebVTT packet dumps and hashes include exact caption bytes, excluding cue IDs and settings. Plain WebVTT reports counted cues only through requested read counts, without inventing a declared frame count. FFmetadata keys with whitespace before # or ; remain metadata; only markers at the start of a record begin comments. FFmetadata accepts CR, CRLF, and LF record terminators. Omitted chapter ends follow chronological boundaries while preserving source chapter order, including equal-start duration fallback. Uppercase [CHAPTER] and [STREAM] markers must start at the first byte of a record; trailing text is ignored. FFprobe reports FFmetadata [STREAM] sections as ordered data streams, including empty sections. FFmetadata round trips retain global tag order, including mixed standard/custom tags and integer-like keys. FFprobe compact and CSV output supports escape=c|csv|none (alias e). FFprobe truncates AIFF container bitrates to whole bits per second. FFprobe AIFF packet data dumps and hashes exclude SSND padding; declared frame counts remain separate from read packet and frame counts. FFprobe WebVTT frames report decoded subtitle timing and display fields; packets retain millisecond timestamps. WebVTT stream start timestamps are reported only when packets or frames are read or counted. Standalone WebVTT streams omit undeclared language tags. Chapterless FFmetadata omits unknown duration and bit rate from JSON. FFmpeg detects BOM-marked UTF-16 ASS input and preserves its cue text and timing. FFmpeg tmix preserves existing output on invalid options and returns native exit statuses: 222 for out-of-range frame counts, 234 for invalid counts or weights, and 8 for unknown options. FFmpeg decimate accepts a scene-change threshold with scthresh=0–100 (default 15). FFmpeg Matroska/WebM stream copy applies named stereo_mode stream metadata edits without changing packets. Matroska audio stream copy supports setting, adding and removing forced, hearing_impaired and visual_impaired disposition flags. SRT-to-ASS conversion discards inline override text while retaining native alignment handling. FFmpeg and ffprobe honor local subfile byte ranges when probing, decoding and seeking. FFmpeg and ffprobe read embedded WAV ID3 title and artist tags, with later metadata chunks taking precedence. Automatic ffprobe MP3 and WAV probes also expose ID3 private owners and binary payloads as format tags. Piped WAV input retains every PCM data chunk, while filename input selects the last chunk. Extensible WAV decoding matches native FFmpeg sample counts when 16 or 20 valid bits occupy wider storage slots. FFmpeg and ffprobe read WAV ID3 chapter times and titles. FFmpeg combines input seek and timestamp offset before clipping exported chapters. Piped WAV cue chapters keep an unknown final end at the cue start instead of inferring it from buffered audio. For piped WAV input, they import RIFF cue chapters only before the first audio data chunk. FFmpeg DASH output supports -ldash 1 for per-frame streaming and GOP-based buffer timing. FFmpeg stream-copies standalone AMR-NB and AMR-WB packets to 3GP and decodes 3GP AMR-NB audio to PCM. FFmpeg also reads and writes Sony Wave64 (.w64) audio. Matroska ACM signed PCM64 audio copies to WAV without losing sample bits. Finite FFmpeg input loops honor input -t across the full looped timeline. Finite FFmpeg input loops apply input seeking once and restart repeats at the beginning. Its segment muxer writes M3U8 playlists for .m3u8 segment lists. Filtered and resampled WAV segments cut at output audio frame boundaries. Its silenceremove filter supports start_silence to retain leading audio. Timed commands for non-runtime silenceremove options leave audio settings unchanged while processing and later valid commands continue. Its silenceremove timeline enable expressions, including deterministic random(0) and randomi(0,0,1) gates, select whole frames while detection continues through disabled frames; scheduled asendcmd updates can disable or resume trimming. Its silenceremove filter preserves surviving frame timestamps with timestamp=copy (or 1); the default write (or 0) closes timestamp gaps while retaining frame boundaries. Its acrusher=bits=8:mode=log filter reduces PCM bit resolution with logarithmic quantization and accepts scheduled asendcmd bit-depth changes (all bits targets the first crusher) and supports optional LFO modulation of sample reduction and returns native exit statuses for invalid options. acrusher=samples=3 reduces the sample rate with per-channel holds that persist across frame boundaries. Its aemphasis filter supports Columbia, EMI, BSI, RIAA, CD, FM, and FM-KF reproduction and production equalization with input/output gain expressions with NaN/infinity predicates (including root() equation solving, none=0, all=-1, random(), and randomi()) and independent channel history, including frame-timed gain, mode, and type changes through asendcmd. Its crystalizer intensity expressions accept PI, E, and PHI. Its dcshift filter accepts positional or named limitergain expressions such as 1/4 for peak limiting, with zero gain retaining ordinary clipping; invalid gains return native exit statuses. Its extrastereo and stereotools filters accept case-insensitive Boolean values and per-frame timeline enable expressions. Its asendcmd supports scheduled extrastereo width changes on the first matching filter instance. It also supports scheduled crystalizer intensity and clipping changes while preserving channel history. It also supports scheduled afade unity gain changes without altering earlier samples. Initial and scheduled afade timeline expressions support deterministic random() and randomi() gates. Its stereotools filter accepts generic threads, thread_type, and extra_hw_frames options without changing processed audio, accepts positional arguments such as 1:1:0:0:0:0:1 to mute the right channel and supports stereo pair rotation (phase=0–360 degrees), input and output gains, and softclip with adjustable sclevel (1–100). Its stereotools=base control narrows or widens stereo audio. Its stereowiden exposes packed float frames to downstream filters; its delay rounds to the nearest sample, with exact halves rounding to even, and accepts scheduled feedback changes through asendcmd without resetting delay history. Its gain options and scheduled gain commands accept none as zero. Pan expressions ignore empty equation fields between or after assignments and accept subtraction, compact gains, scientific notation and hexadecimal gains such as 0x1p-1; PCM16 mixing matches native integer overflow for large gains. Its join filter routes downmix (DL+DR) and wide (WL+WR) speakers with numeric or named channel maps, and accepts threads, thread_type, and extra_hw_frames without changing the joined PCM. Its pan filter preserves double precision when mixing float64 channels and infers FFmpeg’s default speaker positions for unmasked multichannel WAV, treats valid input channels absent from the input as silence and accepts nonfinite gains on the PCM16 output path. ImageMagick WebP output uses 100 ms for frame delays below 10 ms. ImageMagick -delay and -set delay accept the # geometry modifier while preserving frame timing. ImageMagick layer comparisons and duplicate removal preserve one-quantum 16-bit color and alpha changes at zero fuzz. ImageMagick TXT input preserves HSV, HSB, HWB, YCbCr, DisplayP3, CMY and Luv color spaces, including alpha and 16-bit samples. ImageMagick TXT input accepts 32-bit sample ranges while preserving small nonzero color and alpha values. ImageMagick TXT output preserves LinearGray labels and sample precision. ImageMagick converts to and from OHTA, including palette extraction with -unique-colors. ImageMagick -colorspace Rec601YCbCr and -colorspace Rec709YCbCr use their distinct native transforms and support conversion back to sRGB. ImageMagick reads DirectClass MIFF in CIELab, XYZ, HSL and YCbCr and converts those samples to sRGB on request. ImageMagick reads and writes CMYK MIFF with independent black ink and alpha channels and supports conversion to sRGB. ImageMagick reads every frame in uncompressed DirectClass and indexed PseudoClass MIFF files, including unsigned 32-bit DirectClass samples, preserving pixel colors, stored gamma and animation timing, and supports selectors such as input.miff[1]. MIFF input preserves virtual canvas dimensions and offsets for geometry reporting and flattening. ImageMagick flatten, merge and mosaic blend in the first image’s working colorspace and preserve its gamma. ImageMagick conversion and compare accept -extract to crop subsequent inputs with dimensions and offsets or resize them with dimensions alone; offsets alone preserve the image and page, and +extract resets the setting. ImageMagick offset-only crops use the virtual page dimensions after -repage. ImageMagick -set page x5 clears the page width, while -set page 0 preserves its height. ImageMagick -repage expands image properties, options, and FX geometry for each image; -page expands options defined before it, including before input. Invalid -repage geometry fails before overwriting the destination. ImageMagick write masks stay aligned after -flop, -crop, and -roll. Read masks stay aligned with source pixels through -auto-orient. ImageMagick -posterize evaluates levels such as %[fx:w-2] for each current image before quantizing. ImageMagick -threshold and -deskew expand image and option properties and FX expressions in their thresholds for each current image. Plain -threshold updates selected HSL and Lab working channels before -separate and applies the default intensity result to extra channels; explicit Meta0 or Meta1 selections threshold only that channel. It accepts geometry cutoffs such as 50%,20%, 50%x, 50%+20, 50%!, 50/20, and 50:20, using the first field and its units. Plain and automatic thresholds replace CMYK with sRGB using the CMY samples; black, white and range thresholds keep CMYK. ImageMagick -cycle expands palette shifts such as %[w] and %[fx:w-3] for each current image. ImageMagick -frame keeps colored mattes grayscale on grayscale sources, including forced RGBA output, while preserving matte alpha. Frame interiors retain 16-bit blend precision from translucent 8-bit sources. ImageMagick -extent preserves opaque source colors after -alpha off, including with transparent padding. Scalar extents such as 2 and 2@ inherit the virtual page height; 2x keeps the image height. It keeps the input dimension for zero axes (including 0%), expands FX dimensions such as %[fx:w+2]x%[fx:h-1] against each current image and honors -compose when placing pixels over the background. It retains attached read masks with their selections cleared, matching native masked statistics. Extending onto white retains stored Discrete and Deactivate alpha channels; Discrete alpha separation yields opaque samples. -crop '3x2<' preserves the full image when both requested dimensions are smaller than the raster. ImageMagick -crop warns when a rectangle touches the right or bottom edge without containing pixels, preserving the full image and successful exit status. ImageMagick %[minimum-bounding-box:area], :width, :height, :angle, and :unrotate report box measurements; :perimeter preserves native coordinate text. ImageMagick identify expands %p as the selected image-list index, separately from the source scene %s. Formatted FX expressions expand nested image properties, such as %[fx:%[width]*2]. ImageMagick formatted output reports palette storage class and counts the index channel separately from alpha. -type Palette and -type PaletteAlpha retain fractional Gray samples for subsequent thresholds. Its -colors N palette remains usable by a subsequent -cycle. ImageMagick -cycle also quantizes direct-color input to an opaque palette, preserving 16-bit color averages and honoring dithering even for shift zero; +dither disables it. FFprobe stream selectors accept decimal, hexadecimal and leading-zero octal ordinals; # and i: stream IDs also accept these bases and optional signs; Matroska streams match ID selectors #0 and i:0 without displaying an id field. FFprobe reads Matroska/WebM stereo layout tags and Stereo 3D side data directly from the input. FFprobe -select_streams u selects streams with usable codec configuration. FFprobe XML metadata uses a tags parent, matching ffprobe 7. FFprobe -prefix -byte_binary_prefix scales byte counts with binary prefixes while keeping sample rates and bitrates decimal; the binary flag alone leaves values unscaled. FFprobe flat output accepts s and sep_char key separators while preserving scalar values and literal tabs in metadata. FFprobe combined XML packet/frame output uses one packets_and_frames parent in demux/decode order. FFprobe flat output accepts h=0 and hierarchical=0 to omit parent collection names. FFprobe XML accepts q=1 (or fully_qualified=1) for a namespaced root with schema location. FFprobe strict XML uses -noprivate -of xml=xsd_strict=1 (alias x=1), forces the namespaced root, and rejects units and value prefixes. FFprobe JSON chapter reports include only the fields selected with -show_entries chapter=...; QuickTime timecode samples remain packets without decoded frames. Montage -blur radiusxsigma filters source tiles before layout and respects parenthesized input groups. Montage -polaroid angle decorates each tile before layout, honoring -bordercolor. Montage accepts ICON: (case-insensitive) as an alias for ICO output; ICON:- writes the icon to stdout. Montage writes all pages to a plain PPM or raw RGB filename; use +adjoin or %02d in the filename for separate pages, and -adjoin to restore joined output. Raw RGB scene selectors such as [1] and [0-1] accept complete frames before a partial trailing frame; reading the incomplete frame still fails. ImageMagick reads headerless RGB from .rgb filenames or rgb: operands with -size and optional -depth/-endian settings; endian names accept mixed case, hyphens, underscores and surrounding whitespace. Named raw inputs r:, g:, b:, a:, o:, c:, m:, y: and k: read one sample per pixel into red with opaque alpha; gray: replicates samples across RGB. Raw RGB and GRAY input accepts IEEE 16-, 32- and 64-bit samples with -define quantum:format=floating-point. Raw rgba: and rgbo: inputs preserve alpha or invert opacity, respectively, for 4-bit, 8-bit and 16-bit samples. Raw RGB and GRAY inputs support packed 10- and 12-bit samples with byte-padded rows. Raw rgbo: output writes RGB plus zero opacity; bgro: writes three BGR channels. ImageMagick -statistic expands properties and FX expressions in its method and window operands before validation. ImageMagick -despeckle reduces speckle noise with native border and alpha behavior, honoring regions and write masks on selected extra channels. ImageMagick composite -write file saves the images read so far in input order and continues to the final composite. ImageMagick composite -stereo +X+Y creates an anaglyph with offset red from the second input and green/blue from the first; unequal sizes return status 1 while writing the full base image, including with -tile. -stereo and -stegano are composite-only options; top-level magick rejects them. composite -swap i,j exchanges input images; +swap exchanges the last two. ImageMagick -complex Add, -complex Subtract and -complex Multiply (also selected by properties such as %[op] set with -set option:op Add) combine real/imaginary image pairs in their working channels, including CMYK, preserving the first operand’s alpha when the matching operand has no alpha channel. -complex Divide divides real/imaginary pairs and accepts -define complex:snr=VALUE to regularize the denominator. -complex Conjugate (or Undefined) preserves the first real image and negates its imaginary image, retaining negative samples for subsequent arithmetic. ImageMagick +monochrome preserves loaded pixels, including earlier -monochrome conversion. ImageMagick -blue-shift factor adjusts RGB tones while preserving unmasked transparency and discarding disassociated alpha; it requires a current image and preserves the destination when none is loaded. With -region, blue shift matches native alpha and protected-pixel blending. +blue-shift operand consumes and ignores its operand, applying the default factor of 1.5. ImageMagick -sepia-tone preserves 16-bit color and alpha, including channel-selected normalization. CMYK sepia toning keeps black and alpha separate. ImageMagick -combine produces sRGB pixels from HSL, Lab and linear RGB source intensities, including the alpha plane. ImageMagick montage -delay 7 sets GIF pages to 70 ms; -delay 15x50 sets them to 300 ms. ImageMagick reorientation, crop and trim discard disassociated alpha; zero-degree rotations retain it. Morph frames generated from a disassociated first input are transparent after -alpha Activate; endpoint alpha is preserved. On RGB inputs without alpha, -alpha Disassociate adds a zero alpha channel before scaling colors, matching native ImageMagick. ImageMagick reads PSD and PSB composites and layers, including input.psd[0] / input.psb[0] selection and explicit psb: input. Montage PSD output honors -depth 8 and -depth 16 for both the composite and layer channels. Montage -type Grayscale and -colorspace Gray write grayscale PSD/PSB composites and layers with one color channel. ImageMagick -colorspace CMYK -channel K -separate extracts black ink as grayscale; Black is an alias, and alpha remains independent. Appending CMYK images preserves all four ink channels and keeps alpha independent. CMYK -gamma and +gamma correct selected ink channels, including black, independently of alpha. Gamma also corrects selected extra channels from -combine, preserving unselected planes. Both -gamma and +gamma accept quoted whitespace-separated numbers such as "2 3 4", using the leading value. ImageMagick -cdl grade.cc reads XML color grades from the shell filesystem, with slope, offset, power and saturation controls. ImageMagick -kmeans reduces image colors by iterative clustering; -verbose reports centroids and populations on stderr until +verbose disables it. ImageMagick -equalize honors explicit Sync in channel selections and preserves 16-bit results from 8-bit inputs. ImageMagick -interpolative-resize uses the selected interpolation method and preserves scaled page geometry; blend supports alpha-weighted resizing and FX pixel sampling. ImageMagick -adaptive-resize uses native mesh interpolation, preserves scaled page geometry, and evaluates FX target sizes against the current image list. ImageMagick json: and yaml: destinations write image descriptions with image type, effective depth, pixel count, and native channel statistics to files or stdout, including intermediate -write output; -write and +write without a separate output return syntax status 11 and the operator’s CLI argument position while preserving the destination. It also provides Graphviz rendering through poe-code/safe-bash/graphviz, local audio/video inspection (including codec names, AMR mono layouts, MIME codec strings, H.264 chroma and AVC configuration, and Y4M stream descriptors) and WAV editing through poe-code/safe-bash/commands/audio, recursive file search with rgrep, and structural code search and rewrites with ast-grep / sg. AMR-WB audio in 3GP inputs decodes to mono 16 kHz PCM. ADTS AAC output supports optional trailing APE metadata with -write_apetag 1 (off by default). MPEG-TS output starts elementary PIDs at 256, including audio-only output; -mpegts_start_pid selects a different starting PID. MPEG-TS output repeats PAT/PMT every 0.1 seconds; -pat_period sets the interval in seconds. FFmpeg surround upmixes stereo to quad, 5.1, 5.1(side), or 7.1 via chl_out, preserving each speaker’s PCM and layout. FFmpeg surround supports additive bass routing with lfe_mode=add (0, default) and subtractive routing with lfe_mode=sub (1). FFmpeg surround accepts win_func=rect (0), hann/hanning (1, default), and hamming (2). FFmpeg equalizer=f=1000:t=q:w=1:g=6 applies parametric EQ to PCM audio; negative gain cuts the band and zero gain retains native rounding. FFmpeg surround=fl_in=0 or surround=fr_in=0 mutes the selected stereo input before upmixing. FFmpeg surround=win_size=1024:overlap=0.75 adjusts the audio window overlap and emits 256-sample frames. FFmpeg surround=lfe_low=16:lfe_high=48 tunes the LFE transition band in stereo-to-5.1 upmixing without changing the other speakers. FFmpeg biquad filters also accept positional options, such as lowpass=500:q:1, bandpass=800:h:200, and bass=300:q:1:4. bandpass=f=800:t=q:w=2:csg=1 selects constant skirt gain (peak gain equals Q); csg=0 (default) keeps constant peak gain. csg also accepts Boolean words such as true/false. FFmpeg bandpass=f=1000 filters PCM audio with default Q width 0.5; w=1 selects Q width 1 and width_type=h:w=200 selects 200 Hz bandwidth. FFmpeg -f bmp_pipe reads single BMP images or concatenated BMP frames from a file or stdin, preserving frame order. FFmpeg -f pgm_pipe reads concatenated binary or ASCII PGM frames from a file or stdin. FFmpeg PPM and PGM input preserve 16-bit samples in matching rawvideo output, including either byte order. FFmpeg image2pipe input reads concatenated PNG, PPM, PGM, BMP, QOI and MJPEG frames from files or stdin using the selected input decoder. FFmpeg -c:v tiff -f image2pipe writes lossless TIFF images to a file or stdout. FFmpeg -c:v exr -f image2pipe encodes RGBA frames as OpenEXR, preserving transparency; numbered -f image2 output is also supported. FFmpeg auto-detects concatenated QOI images from files or stdin, preserving every frame and copied packet. FFmpeg QOI output honors -pix_fmt rgb24 to discard alpha and -pix_fmt rgba to retain or add it. Requests for gray, gray8, gray16be, rgb48be, or yuv420p fall back to RGB, preserving colors and discarding alpha. BMP output honors -pix_fmt bgr24, bgra, rgb565le, rgb555le, rgb444le, rgb8, bgr8, rgb4_byte, bgr4_byte, pal8, and monob for files, numbered sequences, and image2pipe; bgra preserves alpha. FFmpeg hstack, vstack, and xstack can stack repeated references to one video stream without another input file. FFmpeg hstack, vstack, and xstack can stack repeated references or named split branches from one video stream, including independently filtered branches. FFmpeg output -t and -to limit the video timeline after filters, including repeated loop frames. FFmpeg thumbnail=n=1+2 selects one representative frame per batch; batch sizes accept expressions, round to the nearest integer with ties to even, and must be at least 2 before rounding. FFmpeg thumbnail accepts repeated n options (the last value wins) and a trailing option separator. FFmpeg zoompan animates a crop with multiple output frames per input and a configurable output size and frame rate. FFmpeg edgedetect renders grayscale wires; mode=colormix mixes edges with source colors, and mode=canny:planes=r filters only red. low and high set normalized thresholds. FFmpeg colorcontrast adjusts weighted RGB contrast with optional lightness preservation (pl), leaving alpha unchanged. FFmpeg colorcorrect applies manual shadow/highlight and saturation adjustments or analyze=average to 8-bit planar YUV while preserving luma. FFmpeg colorchannelmixer mixes 8-bit RGBA channels with coefficients rr through aa; aa=0.5 halves alpha while preserving RGB. FFmpeg colorbalance adjusts RGB shadows, midtones, and highlights separately, with optional pl=1 lightness preservation. FFmpeg loop=-1 stops at a finite output frame/time limit or downstream trim, counting only frames retained by select toward -frames:v. FFmpeg tpad accepts threads, thread_type, and extra_hw_frames without changing padded pixels. FFmpeg adeclick and adeclip accept the same generic settings without changing PCM output. FFmpeg crop rejects unknown options with exit code 8, invalid booleans with 234, and unsupported enable with 176, preserving existing output. FFmpeg metadata=delete:key=NAME removes one video frame tag; omit key to clear all tags while preserving frames. FFmpeg pan accepts the LFE2 layout with numbered channels, but rejects LFE2 speaker names in equations. FFmpeg crossfeed mixes multichannel pan output to stereo with speaker-specific gains, including block_size processing. FFmpeg aformat accepts quad and 5.1 targets on stereo input, preserving front left/right samples and silencing the other speakers; layout alternatives retain the input layout when allowed. FFmpeg aexciter accepts case-insensitive listen=y/n and listen=enabled/disabled, including runtime commands, and scheduled enable expressions switch whole audio frames between processed and dry output. Numeric listen values accept signed and zero-padded decimal 0 or 1; invalid values return status 234 at startup or log an error and preserve the mix at runtime. FFmpeg asendcmd truncates command times to microseconds and compares them against rounded frame timestamps. FFmpeg -ar accepts stream specifiers such as -ar:a:0; output uses the last matching rate, while raw input uses the last rate regardless of selector. FFmpeg input -itsscale scales timestamps after -itsoffset and before audio filtering, preserving PCM samples and packet durations. FFmpeg silenceremove accepts threads=none and extra_hw_frames=all without changing the trimmed audio. FFmpeg silenceremove advances missing timestamps after its first emitted frame in timestamp=write mode, preserving native negative timestamps. FFmpeg asendcmd can update silenceremove channel modes (start_mode and stop_mode) at audio frame boundaries. FFmpeg asendcmd can change a named adelay filter’s enable expression at an audio frame boundary, preserving delay history and the tail. FFmpeg blackframe=75:32 detects nearly black frames without changing pixels, exposes lavfi.blackframe.pblack, and supports downstream metadata=print or metadata=select by key. FFmpeg fieldmatch=order=tff:mode=pc matches neighboring fields on 8-bit planar YUV video; order=bff selects bottom-first matching, preserving source timestamps and chroma samples. FFmpeg weave pairs successive fields into frames with double height and half the frame rate; weave=first_field=bottom selects bottom-field-first output. weave and doubleweave preserve all RGB48 and RGBA64 sample bytes in either byte order. FFmpeg deflicker=size=3 smooths brightness for grayscale, planar YUV, and packed RGB24/RGBA/RGB48 input, accepts register and deterministic random expressions for size and mode, and treats mode=none as arithmetic mode; smoothing names such as gm and median are valid only for mode; bypass=1 preserves negotiated pixels while exposing luminance metadata. Its threads, thread_type, and extra_hw_frames options accept scheduling hints without changing filtered pixels. Invalid deflicker options return native exit statuses: 222 for out-of-range size or mode, 234 for invalid expressions, and 8 for unknown options, without writing output. FFmpeg colortemperature adjusts 8-bit RGB temperature with mix and lightness preservation pl, including native default 6500 K behavior. FFmpeg alphaextract turns 8-bit opacity, including the original YUVA420P alpha plane, into grayscale without mixing in RGB. FFmpeg shuffleplanes=0:0:0 copies luma into chroma on planar YUV and NV12 input, resampling to the requested output format. FFmpeg extractplanes=y, extractplanes=u, and extractplanes=v extract one 8-bit YUV plane as grayscale, preserving its samples and subsampled dimensions. extractplanes=r, g, b, and a extract individual 8-bit RGB or alpha components as opaque grayscale in pixel order. FFmpeg fade=in:1:2 fades video by frame count; fade=out:st=0.25:d=0.5 uses timestamps, with alpha=1 for opacity-only fades and color=red for a colored fade. FFmpeg lagfun=decay=0.75 lets bright pixels fade across subsequent darker 8-bit or 16-bit grayscale frames (gray, gray16le, gray16be), preserving sample precision and timestamps. Decay defaults to 0.95; planes=0 leaves frames unchanged. Generic threads, thread_type, and extra_hw_frames options are validated and accepted without changing pixels. Invalid lagfun option values return native exit statuses: 222 for out-of-range values or fractional planes, 8 for unknown options, and 234 for invalid expressions, without writing output. Timeline enable expressions preserve disabled frames while continuing to update and decay brightness history. It also supports 8-bit planar YUV and RGB video: planes selects Y/U/V or G/B/R with bits 1/2/4, preserving unselected samples and subsampled chroma. FFmpeg tblend=all_mode=difference subtracts native YUV samples directly, preserving zero-valued differences and source timestamps. tblend=all_expr=A uses the current frame, all_expr=B uses the preceding frame, and c0_expr through c3_expr select individual components; expressions run for each pixel. Its all_opacity and c0_opacity through c3_opacity options control blending globally or per component. FFmpeg tblend=all_mode=addition adds successive frames with saturation at the channel maximum. FFmpeg PPM output preserves 16-bit RGB samples with -pix_fmt rgb48be; -pix_fmt rgb24 selects 8-bit output. FFmpeg -chroma_sample_location left|center|topleft sets Y4M chroma siting to MPEG-2, JPEG, or PAL-DV without changing frame samples. FFmpeg -mpegts_flags +pat_pmt_at_frames repeats PAT/PMT before every video frame. Explicitly mapped SubRip stream copies to MPEG-TS preserve cue payloads and timestamps as private data; player subtitle recognition is not guaranteed. FFmpeg -bsf:s setts=pts=PTS+500 shifts copied SRT captions by 500 ms and re-encoded captions by 1 ms after rounding; setts=duration=DURATION/2 halves cue duration. Invalid -set page values preserve the existing canvas; -page nonsense before input sets a zero canvas. The output prefixes r:, g:, b:, a:, k:, c:, m:, y: and o: write the same grayscale samples as gray:. Raw unsigned -depth 32 and -depth 64 output writes full-width samples: 32-bit samples honor -endian, while 64-bit samples use most-significant-byte-first order, matching native ImageMagick. tblend=c0_mode=difference (also tblend=difference) blends only luma; c1_mode and c2_mode select the chroma planes. Unspecified components retain the current frame, and all_mode overrides component modes. RGB components follow planar GBR order.
ImageMagick .sun files and sun:- streams contain Sun raster RGB data; multiple images share one output by default. ImageMagick writes DDS textures to .dds files or dds:-, keeping the first frame of a sequence. ImageMagick UBRL: and UBRL6: write Unicode braille with image dimensions, optional labels and page offsets; use UBRL:- for stdout or .ubrl and .ubrl6 filenames. ImageMagick raw floating-point output at -depth 12 preserves fractional samples when rounding to 16-bit floats in either byte order. ImageMagick pal:- writes packed U-Y-V-Y bytes to stdout. yuv:- writes planar YUV with default 2x2 sampling; -sampling-factor 2x1 selects packed U-Y-V-Y. ImageMagick also reads raw yuv: input with -size, -depth, and the same sampling settings; use -colorspace sRGB for RGB output. ImageMagick ycbcr:- writes raw Y-Cb-Cr triples; ycbcra:- adds alpha as the fourth sample. ImageMagick reads native Q16-HDRI DirectClass MPC files with their adjacent pixel caches, including frame selections. ImageMagick MIFF output preserves orientation metadata for -auto-orient after reopening the file. ImageMagick reads uncompressed one-bit Palm bitmaps by filename or palm: prefix, preserving black/white pixels and row order. PALM:- writes uncompressed Palm bitmaps to stdout, including dimensions and word-padded rows; adjoined output retains every frame with linked bitmap records.
ImageMagick -clut preserves interpolated 16-bit colors when PNG depth is chosen automatically. ImageMagick reads 8-bit SGI images, including RLE-compressed input and explicit sgi: paths. ImageMagick .sgi and sgi:- output writes SGI RGB(A) images, adjoining image sequences by default; use +adjoin for numbered files.
Use poe-code programmatically in your own code:
import { spawn, getPoeApiKey, getPoeAuthIdentity } from "poe-code";
// Get stored API key
const apiKey = await getPoeApiKey();
// Fetch the authenticated Poe account identity
const identity = await getPoeAuthIdentity();
// Run a prompt through a provider
const result = await spawn("claude-code", {
prompt: "Fix the bug in auth.ts",
cwd: "/path/to/project",
model: "claude-sonnet-4-6"
});
// Spawn against a GitHub repository
const { events, result: ghResult } = spawn("codex", {
prompt: "Review the auth module",
cwd: "github://owner/repo#main:packages/auth"
});
console.log(result.stdout);Agent spawn activity timeouts and parallel concurrency limits are optional; set activityTimeoutMs or maxConcurrent explicitly when needed. Autonomous spawn retries have no ceiling unless maxTimeoutRetries is supplied.
For plugin-first agent composition, import the public agent builder from the
poe-code/agent subpath. In Cloudflare Workers, pass agent({ fs, cwd, homeDir })
with a SafeFS provider and configure an explicit API key or model. The agent and
poe-code/memory exports support Workers without nodejs_compat; host subprocesses
require an injected runner where supported:
import { agent, openaiResponsesPlugin, systemPromptPlugin } from "poe-code/agent";
const run = await agent()
.model("gpt-5.5")
.use(openaiResponsesPlugin())
.use(systemPromptPlugin())
.run("Summarize the current repository", {
cwd: process.cwd()
});
console.log(run.output);Runs a single prompt through a configured service CLI.
service– Service identifier (claude-code,codex,opencode,goose)options.prompt– The prompt to sendoptions.cwd– Working directory or workspace locator (optional). Supports local paths andgithub://owner/repo[#ref[:subdir]]locators. See @poe-code/workspace-resolver for the full locator syntax.options.model– Model identifier override (optional)options.mode– Permission mode:yolo,auto,edit, orread(optional; defaults toauto. Agents without an auto mode fail clearly)options.args– Additional arguments forwarded to the CLI (optional)
Returns { stdout, stderr, exitCode }.
Same as spawn(), but renders the ACP event stream to stdout with colored, formatted output — matching the CLI's visual style.
import { spawn } from "poe-code";
const result = await spawn.pretty("codex", "Fix the bug in auth.ts");
console.log(result.exitCode);Returns Promise<{ stdout, stderr, exitCode }>.
Reads the Poe API key with the following priority:
POE_API_KEYenvironment variable- Credentials file (
~/.poe-code/credentials.enc)
Throws if no credentials found.
Fetches the Poe account identity for the resolved API key.
import { getPoeAuthIdentity } from "poe-code";
const identity = await getPoeAuthIdentity();
console.log(identity.name, identity.handle);Uses POE_API_KEY or the stored credential and honors POE_BASE_URL. Throws an API error when Poe rejects the credential.
These features are available but subject to breaking changes.
- SafeJS — A JavaScript interpreter with explicit host capabilities, portable browser/Worker root exports, a
/workerdentry, workerd-awarepoe-code/safe-jsandpoe-code/safe-fsimports, filesystem adapters, explicit Worker host-context capture, configurable unlimited resource budgets, and resumable checkpoints. Safe Bashuniq -D -uemits all but the last record of each repeated group, preserving--all-repeatedseparators. Safe Bashjoinaccepts unique--helpand--versionprefixes such as--heland--ver. Safe Bash FFmpeg frame checksums preserve automatically selected audio alongsideshowwavespicoutput. - Pipeline — Run task plans with configurable steps, live task progress, queued follow-up messages, and plans you can add while the TUI is running.
- Ralph — Agentic build loop that iterates on a markdown doc
- Experiment loop — Karpathy-style optimize loop: agent changes code, eval script scores it, keep or discard via git, repeat.
- Poe Agent — Composable agent runtime with shared safe-fs access
npx poe-code@latest update
npx poe-code@latest update --package-manager pnpmFor version checks, dry runs, and managed worktrees, see the reference.