# Updated pistol HUD icons

2026-09-07. Built-in imagegen edit mode. User requested pistol icons and explicitly asked not to touch Colt 45. Only ID 23 (suppressed pistol) and ID 24 (Desert Eagle) were replaced.

Final assets: `../23.png` and `../24.png`, also stored here as `23.png` and `24.png`. Previous images are `23-original.png` and `24-original.png`. Colt 45 (`../22.png`) is byte-for-byte unchanged; SHA256: E42D515F7FDDB317801E86F5DE0610291C4D851C71F617D907EDB8CBC96631E6.

Both use a gentle rear three-quarter view with the barrel pointing away toward upper-left and the grip nearer lower-right, matching the existing AK-style illustration. Silver-white and neutral gray cel shading, no realistic metal or text. HUD normalizes their painted size to the same 96px maximum as other ammunition weapons, with responsive constraints. Standalone preview initially selects Desert Eagle. No game/server files were changed.

## Alpha extraction

Generated outputs contained a checkerboard. Using the user's earlier authorization for programmatic background removal, `tmp/prepare-hud-cutout.ps1` produced RGBA PNGs with 16px empty border. Trigger-guard background seeds: ID 23 (750,620); ID 24 (640,575). No programmatic reshaping or perspective distortion.

## Prompt set

### 24

Raw output: `exec-e184bfae-b004-417c-b85f-552b84f9721c.png`

```text
Use case: precise-object-edit. Create an updated game HUD icon from the references. Image 1 is the exact Desert Eagle pistol design to preserve. Image 2 (AK) is ONLY a style and three-quarter camera reference; do not include any rifle parts. Show ONE recognizable Desert Eagle pistol in a gentle REAR three-quarter view, grip and rear of slide closer to viewer at lower-right, barrel extending away toward upper-left. Show plenty of the SIDE of the slide plus a little of its top and rear, with moderate foreshortening, not a straight rear view and not extreme perspective. Slight diagonal composition like the second reference. Keep iconic heavy Desert Eagle slide, angular barrel, compact solid grip, one trigger and clear trigger guard. No suppressor, no optic, no stock, no hands, no extra pistol. Match the existing flat illustrated silver-white and gray style: broad simple cel shading, clean gray outlines, smooth curves and edges, light silver main body with darker gray grip; no realistic shiny metal, scratches or noisy microdetails. Keep it crisp and readable at 96px HUD size. Complete centered weapon on a SQUARE canvas, about 85% occupancy, comfortable equal empty margins, no clipped tips. Genuine transparent PNG alpha background, including trigger-guard opening, NO baked checkerboard or solid backdrop. No text, branding, logo, frame, glow or drop shadow.
```

### 23

Raw output: `exec-591df563-4287-4db4-9826-fcb15bfe7893.png`

```text
Use case: precise-object-edit. Make an updated suppressed pistol game HUD icon from the references. Image 1 is the exact original suppressed pistol design to preserve, including its clear slim cylindrical suppressor, simple slide, curved trigger guard and gray grip. Image 2 (Desert Eagle) is ONLY the target camera, silver-white/gray palette and illustration style; do NOT turn the pistol into a Desert Eagle. Show ONE standard GTA SA style pistol with an attached suppressor in a gentle REAR three-quarter view: grip and rear of slide nearer viewer at lower-right, suppressor and barrel extending away toward upper-left. Show mostly SIDE plus a small amount of top and rear, moderate foreshortening matching image 2, not extreme perspective. Preserve natural pistol proportions and a clearly recognizable long suppressor, not excessively thick or oversized. Complete separate trigger and open trigger guard, one grip only. Match smooth flat/cel-shaded silver-white and neutral-gray game illustration with clean gray outlines, broad simple shading and gray grip, no photorealism or noisy metallic texture. Icon must be readable when reduced to 96px. Center complete weapon on a square canvas with balanced empty margins and around 85% occupancy, no cut-off suppressor tip or grip. True transparent PNG alpha background including trigger guard, NO painted checkerboard or solid backdrop. No text, branding, logo, frame, glow, outside shadow, hands, extra weapon, optic, stock or rifle parts.
```

## Verification

`node tmp/test-hud-icon-sizing.cjs` passed for all 23 icons across 1366x768, 1920x1080, 390x844 and 320x568. Cache, rapid switching, custom PNG uploads, resize and fallback passed. Both pistol HUD screenshots inspected. Colt PNG hash checked unchanged after installation.

