-
Notifications
You must be signed in to change notification settings - Fork 4
User Instructions
Welcome, scene traveler. rez2ans is a GUI tool for turning your PNG/JPG into 80xN CP437 goodness — exporting either:
- ANSI: .ans / .ansi (BBS-ready)
- TheDraw/PabloDraw BIN: .bin (classic editor format)
Think of it as: open image → drag crop → render → save → post on the board like a legend.
Heads-up: the build you’ve got literally identifies itself as “rez2ans v .01 Alpha”. So yeah… it’s a spicy alpha. Expect rough edges, but also vibes.
- File → Open Image…
- Drag a selection box on the image (this defines your 80xN crop target).
- Pick your Mode, tweak the Gamma / Contrast / Saturation / Dither knobs.
- Smash F12 (Render).
- Save… (or Alt+S) → pick ANSI (.ans/.ansi) or BIN (.bin).
If you forget step 2, the app will basically bark: “Open an image, drag a box to crop, then Render.”
F12 — Render current mode (main “make it happen” key)
Alt+S — Save (ANSI/BIN)
Alt+R — RESET EVERYTHING to factory defaults (panic button)
There’s also a legacy Tronicshade render path mentioned as F11 in the codebase, but your day-to-day muscle memory is F12.
At a high level you’ve got:
- Left: Source image + your selection box (crop)
- Right: Preview of the ANSI/BIN render (your future fame)
- Controls for:
- Mode
- Palette
- Glyph set
- Dithering
- Image tuning (gamma/contrast/etc)
- Shaders / patchbooks / Tronicshade (advanced wizardry)
You’ll also see status text like:
- Selection: (x,y) - (x,y) size=... px
- Loaded: ... | Output: 80 x N | BIN bytes: ...
rez2ans ships with a bunch of render modes:
- hires — sharper detail, more “pixel decisions”
- shades — shade/block driven, classic chunky ANSI feel
- hybrid — mix of hires + shades (often a sweet spot)
- cartoon — bolder simplification (good for line art / flat art)
- colorbook — more stylized color treatment
- glyphfit — tries harder to “fit” characters to shapes/texture
- autoshader — leans into shader-assisted styling
- tronicshade — a texture/style pass that can feel “dither-like” but character-driven
Practical advice (scene-tested energy):
- Photos → start with hybrid
- Line art → try cartoon or shades
- Pixel art → jump to ANSI Art Mode (see below)
- Want stylized grit → tronicshade / autoshader
There’s a dedicated ANSI Art Mode aimed at ANSI-ish glyph workflows like:
- ansiblocks
- ansiblocks-pixel
- “Load ANSI…” support (bring in an existing .ans / .ansi)
Also includes Glyph-only options:
- Glyph-only (characters only)
- Glyph-only (keep existing colors; change characters only)
That’s super handy if you’ve already got a palette pass you like and just want to re-char the piece.
Hints bias palette matching so pastel/saturated colors don’t wash out.
- Drag a selection on the image (left panel)
- Choose the ANSI color index you want it to be
- Click “Add hint from selection”
There’s also a Dropper mode:
- Turn it on, then click the image preview to sample + create a hint.
- Hint tolerance (0..255) How close a pixel has to be before it counts as “this hinted color”.
- Hint strength How hard it pushes palette matching toward that ANSI color.
- Options like:
- Use hints to build a temporary palette (VGAPAL)
- Refit hinted palette each pass (gentle)
- Post-fix colors using hints (final pass) (snaps FG/BG to hinted index if very close)
When to use hints:
- Skin tones turning into swamp green
- Pastels getting murdered by the nearest ANSI neighbor
- Logos needing exact brand-ish colors in the 16-color prison
ANSIrez Mode applies a post-quantization smoothing pass:
- Filters: median, blend, brite, 4x4
- Useful for: reducing pepper-noise, thickening thin lines a bit
- Tradeoff: may soften detail (worth it often)
Suggested starting knobs:
- Brightness: 0.90–1.10
- Gamma: 0.95–1.05
- Contrast: 1.10–1.25
- Saturation: 0.90–1.10
If your render looks like it got faxed through a toaster, back off contrast and try median.
You can Import shader (BIN/ANS)… and/or Use shader BIN (curated FG/BG ramps).
You’ll see status like:
- Shader: swatches=... pairs=... glyphPairs=... file=...
There’s also:
- “Shader rows to read (top N rows)” Useful if your shader file has multiple rows of swatches and you only want the top chunk.
Patchbooks are like a stash of learned glyph/color pair vibes.
You can:
- Load patchbook…
- Save patchbook…
- Clear patchbook
You may see:
- Patchbook: learned from import
- Or the app yelling: “Patchbook is empty. Import shader files first.”
Tronicshade has its own style files:
- Load a TronicShade/Shader style profile from the styles folder
- Save as: *.tronic.json / *.tronic
It can also:
- Load ANSI into Tronicshade library (shade-only)
If you’re chasing a consistent “house look” across a pack, Tronicshade styles + patchbooks are your repeatability weapons.
When saving ANSI, you’ll typically have options like:
- Trim trailing spaces (keeps lines from having pointless default cells)
- ClearScreenHome (adds the classic ESC[2J + ESC[H at the start)
- Line endings:
- CRLF (Windows)
- CR
- LF
- Add SAUCE metadata
- Title / Author / Group
- Optional source comment (writes a comment like SOURCE: )
- Set iCE colors flag in SAUCE (bit0) (Use this if you intend iCE behavior and want viewers to know.)
- Copy source image beside ANSI file as *_source. Great for showing “before/after” in release zips.
- Mode: hybrid
- Dither: moderate
- Contrast: 1.10–1.20
- Optional: ANSIrez median to reduce speckle
- ANSI Art Mode
- Try ansiblocks-pixel
- If colors are sacred: Glyph-only (keep existing colors)
- Import shader BIN/ANS
- Let it learn patchbook
- Save patchbook + Tronicshade style
- Apply consistently across your set
- “Open an image first.” You didn’t load an image.
- Render looks wrong / off-color Add Color Hints for the problem colors (logos/pastels).
- Too noisy Reduce dither strength, or enable ANSIrez (median/blend).
- Patchbook won’t save / is empty Import shader files first so it has something to learn from.
- Need maximum compatibility Enable Clear screen + home, use CRLF, and add SAUCE.
Before you ship it to the BBS:
[ ] It’s 80 columns wide (always)
[ ] You’ve previewed it in something real (PabloDraw/TheDraw/SyncTerm/etc.)
[ ] SAUCE is set (Title/Author/Group) for proper cred
[ ] If it uses iCE tricks, you set the iCE flag
[ ] You didn’t accidentally Alt+R and nuke your perfect settings (RIP)
rez2ans is created by Sudden Death
- Creators of Intense Art (CIA) Co-founder
- CIADraw Programmer
Discord: https://discord.gg/MZh2bsfR | Twitch: https://www.twitch.tv/sudden_death_thg