gizmobench

Seamless Texture Maker

Turn a local still image into a repeatable PNG texture using deterministic border blending. Trim the source, choose an output size and optionally reduce a linear lighting gradient. Compare before and after, move boundaries into the centre with offset inspection, and examine a three by three repeat built from the exact exported tile.

Source and border blend

Still PNG, JPEG or WebP, up to 16 million decoded pixels and 128 MiB of encoded input. Source files stay unchanged. All work runs in this browser.

0 leaves borders unchanged. From 1 to 50, matching opposite borders are mixed toward their shared alpha-weighted color. The band fades smoothly into the centre.

Trim source pixels

Output size

Leave both dimensions blank to keep the trimmed size. Custom dimensions use nearest-neighbor sampling; changing the aspect ratio stretches the image.

Lighting correction removes an alpha-weighted linear RGB gradient before blending. It can change intentional color patterns and clips adjusted colors to the 8-bit range.

Before, after and repeat inspection

Build the current image to see its before/after comparison, exported tile and three by three repeat.

Choose a local still image, then build a repeatable tile.

Output
No current tile
Edge tolerance
0 RGBA bytes
Repeat preview
3 × 3 exact tile
Zero blendNo trim, resize or lighting correction
Every decoded RGBA byte is retained
Opposite bordersPositive blending on both axes
Edge pixels and corners match exactly
TransparencyOpaque color beside transparency
Color mixing is weighted by alpha

The PNG contains 8-bit RGBA pixels from the browser-decoded image. Source color profiles and metadata are not copied. Matching edge pixels can reduce a boundary seam; visible structures and derivatives may still repeat.

Accuracy. Deterministic blending can reduce seams but cannot preserve every structure; no AI synthesis.

Common questions

How does the border blend work?
The tool pairs opposite edge pixels and mixes their colors using alpha-weighted blending. A smooth transition fades from a shared edge color into the image. Horizontal blending runs first, followed by vertical blending, so opposite edge pixels and all four corners match exactly when blending is positive. The declared edge tolerance is zero RGBA byte values; repeating structures or abrupt slopes can still be visible.
Does a blend width of zero keep my image unchanged?
Yes, if trimming, resizing and lighting correction are also off. The computed and exported PNG retains every 8-bit RGBA byte produced by the browser's image decoder. This does not preserve the original encoded file, metadata or color profile. With other controls enabled, those requested transformations still apply before the unchanged-border result.
Can I trim or resize the texture?
Enter whole-pixel trims for each source edge. Leave both output dimensions blank to keep the trimmed size, or supply both dimensions. Resizing uses nearest-neighbor sampling without added smoothing. A different output aspect ratio stretches the image. Sources and outputs are bounded to 16 million pixels and 16384 pixels per side.
What does lighting correction do?
It fits an alpha-weighted linear RGB gradient and removes that gradient before edge blending. This can reduce gradual brightness or color changes across the tile, but it can also alter intentional patterns. Alpha is retained during lighting correction, and corrected color values are clipped to the 8-bit range.
Is the repeat preview the same as the PNG download?
Yes. The three by three preview uses nine copies of the actual exported PNG, with no separate smoothing pass. Offset inspection repositions that same image by whole half-dimensions. The 100% option displays one image pixel per CSS pixel; fit-to-panel views use nearest-pixel display scaling.
Which images can I use, and are they uploaded?
Still PNG, JPEG and WebP images are processed locally in a bounded, cancellable worker. Animated or active image formats are refused. The source file stays unchanged. Encoded input is bounded to 128 MiB for browser memory, and source dimensions are checked before native decoding. Only validated settings are saved in this browser; images and filenames are not saved.
Does this use AI to invent missing texture?
No. It uses deterministic pixel processing and does not synthesize new objects or reconstruct structures. Border mixing can soften or mirror details near the boundaries. Inspect the repeat and adjust the blend width, trim or source image when the repetition remains distracting.

Deterministic blending can reduce seams but cannot preserve every structure; no AI synthesis.