# Where the imagery and the figures came from

Everything on the new site that originated on the old threestarspk.com is
recorded here, along with what was deliberately left behind. The pipeline that
produced it is `scripts/prepare-media.mjs`, and the untouched originals are
cached in `media-src/`, which is not committed.

## Used

### Product photography

| Output | Source | Treatment |
| --- | --- | --- |
| `products/product-1.webp` to `product-15.webp` | `2022/12/1-scaled.jpg` to `15-scaled.jpg`, 2560 x 1920 | Garment detected and cropped out of the spec sheet, padded, squared to 3:4 at 900 x 1200, mild sharpen, WebP q82 |

Each source is a product sheet: the garment shot on white with its fabric
specification set to the right. The pipeline finds the garment by locating the
widest dense run of columns carrying ink, which separates the garment from the
specification text. Two sheets set their text far enough left that density
alone could not separate it, so `product-13` and `product-15` carry an explicit
narrower search zone in the script.

Nothing was upscaled. Every crop is a downscale from the original.

### Text and figures

| Content | Source |
| --- | --- |
| Denim capacity: 2.7 million pieces a year, 3 million pieces a year wet and dry, 600 plus manpower | `2022/11/Three-Star-Company-Profile-TS-denim-06.jpg` |
| Laundry statement and the seven wash types | `2022/11/Three-Star-Company-Profile-TS-denim-07.jpg` |
| Client list and the framing sentence | `2022/11/Three-Star-Company-Profile-TS-denim-10.jpg` |
| All fifteen product names, fibre contents and fabric weights | The fifteen product sheets above |

## Two corrections worth knowing about

**Client names.** The brochure misspells several of its own customers. It prints
"Gooco", "TK Max", "Desire" and "H Lander", while the logos set on that same
page read Gocco, TK Maxx, Desires and H Landers. The site uses the trademarks as
their owners write them.

**Clipped captions.** Four product sheets have their own caption cut off at the
page edge, ending mid phrase at "and side". Item 8 is fully legible and reads
"and side slits", so the four clipped captions were completed to match. If that
is wrong, `content/products.ts` is the one place to correct it.

## Deliberately not used

| Source | Reason |
| --- | --- |
| `2022/11/128654-1010_10.jpg`, `114336-9090_1.jpg`, `127456-7646_10.jpg`, `579252.jpg`, `images.jpg` | Filenames read as supplier catalogue references and stock library ids. Not obviously the company's own photography |
| `2022/11/textile.jpg` | A stock "global network" graphic, a hand touching floating icons |
| `2020/09/spinnereien.jpg` | German filename, reads as a theme asset rather than their own floor |
| `2021/03/0.jpg` to `10.jpg` | Customer brand logos at 200 x 200. Third-party trademarks, and too small to use regardless |
| `2022/11/Three-Star-Company-Profile-TS-denim-*.jpg` | Brochure layout pages, not photographs. Mined for text, not used as images |
| `2022/12/knitting-department.png`, `fishing-packing.png` | Collages of small tiles. Individual frames too small to extract |
| `2020/10/about-us.jpg`, `who-we-are.jpg` | 320 x 460, far too small |
| `2021/03/Intro-image.jpg` | 500 x 358, too small |
| `2018/10/*.jpg`, `2021/04/Fabric-Dyeing.jpg` | 375 x 500 up to 700 x 394, all below the usable threshold |

### The factory photography

`2021/04/Cutting-1250x703-1.jpg`, `emb-1250x703-1.jpg`,
`swining-1250x703-1.jpg` and `Fabric-Dyeing-finishing-1.jpg` are genuine
photographs of the company's own cutting room, embroidery hall, sewing floor
and dyeing department. They are not placed on the site.

The reason is shape, not quality. All of them are landscape at 1250 x 703, and
every image slot in the current design is portrait at 4:5 or 3:4. Cropping a
1250 x 703 frame to portrait leaves about 560 x 700, which is too soft for a
modern display. I probed the server for larger originals behind each one and
none exists, so 1250 x 703 is the ceiling.

They are worth using. Doing it properly needs either a landscape home in the
layout or a fresh shoot. Both are decisions for Three Stars rather than
something to force.

## Adding real photography later

The eight image slots documented in `MEDIA.md` still work exactly as described:
drop a correctly named file into this folder and it replaces the generated
artwork on the next build. That is the intended route for a proper photo shoot.
