# Gerador de sprite sheet

> Empacote imagens em um atlas e exporte as coordenadas.

[Open tool](https://www.toolcabana.com/pt-br/image-sprite-sheet-maker) · [Imagens e fotografia](https://www.toolcabana.com/pt-br/category/images-and-photography)

Tool ID: image-sprite-sheet-maker. Requested language: pt-BR. Description language: pt-BR. Complete guide translation: yes.

## Overview (en)

The Image sprite sheet maker packs multiple images into one PNG grid of square cells and exports a JSON file with each sprite's x, y, width and height. You set the number of columns from 1 to 20, a cell size from 8 to 1,024 pixels and a gap of up to 100 pixels between cells. Images are scaled to fit their cell while keeping aspect ratio.

## Supported tasks (pt-BR)

Empacote imagens em um atlas e exporte as coordenadas.

## Steps (pt-BR)

1. Escolha um arquivo de origem. Se a ferramenta aceitar vários arquivos, ordene-os como quiser.
2. Ajuste a configuração básica e abra o modo avançado para opções de exportação e ajuste fino. A configuração personalizada continua ativa ao fechar o painel.
3. Execute o gerador de sprite sheet, revise a saída e use os controles disponíveis para copiar ou baixar.

## Settings

- Colunas (pt-BR; key: columns; type: number); minimum: 1; maximum: 20
- Tamanho da célula quadrada (px) (pt-BR; key: cell; type: number); minimum: 8; maximum: 1024
- Espaço entre células (px) (pt-BR; key: gap; type: number); minimum: 0; maximum: 100

## Limitations (pt-BR)

As imagens usam o limite existente de 32 megapixels. São permitidas até 100 imagens de origem onde houver suporte. O HTML colado é limitado a 200,000 caracteres; diagramas Mermaid a 20,000 caracteres e 300 linhas. A geração de SVG e PNG exige um navegador.

## Privacy and connections (pt-BR)

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

## Questions (pt-BR)

### What does the sprite coordinates JSON contain?

The sprite-coordinates.json file has one entry per image, keyed by its position number and file name, such as 1-icon.png. Each entry gives the x and y offset of the sprite in the sheet and its drawn width and height in pixels.

### How are sprites positioned inside each cell?

Every image is scaled down or up to fit inside the square cell while keeping its aspect ratio, then drawn from the top-left corner of the cell. Non-square images therefore leave empty transparent space to the right or below.

### Why add a gap between sprites?

A gap of a few pixels keeps neighboring sprites from bleeding into each other when the sheet is scaled or filtered in a game engine or CSS. The gap is added after each cell, and the coordinates in the JSON already account for it.

### Onde minha entrada é processada?

Esta operação processa sua fonte no seu navegador. Copiar e baixar são ações explícitas; a entrada de origem não é salva em conta nem em histórico.

### Quais são os limites de entrada?

As imagens usam o limite existente de 32 megapixels. São permitidas até 100 imagens de origem onde houver suporte. O HTML colado é limitado a 200,000 caracteres; diagramas Mermaid a 20,000 caracteres e 300 linhas. A geração de SVG e PNG exige um navegador.

## Related tools

- [Image brightness and contrast editor](https://www.toolcabana.com/pt-br/image-brightness-and-contrast-editor)
- [Image comparison slider](https://www.toolcabana.com/pt-br/image-comparison-slider)
- [Image pixel difference checker](https://www.toolcabana.com/pt-br/image-pixel-difference-checker)
- [Photo contact sheet maker](https://www.toolcabana.com/pt-br/photo-contact-sheet-maker)
