BGZero
Auto RemoveManual RemoveBatch Remove
Game Assets
Blog
EN中文
Sign In
BG ZERO
All processing runs locally in your browser · No data uploaded · 100% private
ToolsChange Image Background ColorProduct Photo White BackgroundID Photo Background ChangerPassport Photo Background ChangerWebP Background RemoverTransparent PNG MakerBatch Background Remover
Game Asset ToolsGIF to Sprite SheetSprite Sheet MakerSprite Sheet CutterPixel Art UpscalerImage to Pixel Art
BGZero

AI-powered background removal tool
Runs locally in browser, zero data upload

Open Source Licenses

  • Default engineAGPL-3.0
  • Transformers.jsCC BY-NC 4.0
  • rembg-webMIT
Privacy PolicyTerms of ServiceOpen Source LicensesAccessibilityDMCAContactSource Code (AGPL-3.0)Report Abuse
© 2026 BG Zero. Released under AGPL-3.0.粤ICP备2026016654号-2Made with care · Local first
← Back to Tutorials
convert image to pixel artPublished August 16, 2026Updated August 16, 202624 min read

How to Convert an Image to Pixel Art

A practical explanation of spatial pixelation, palette reduction, dithering, and the checks that turn a source image into usable pixel-style art.

Turning an image into pixel art is not the same as placing a mosaic filter over it. Convincing pixel-style output depends on two controlled reductions: fewer spatial samples and fewer colors. The first creates visible blocks and simplifies shapes; the second creates a deliberate palette instead of thousands of nearly identical shades.

An automatic converter gives you a useful starting point, reference, or production asset for the right context. It cannot make every photograph read like hand-authored pixel art. Composition, silhouette, focal detail, and manual cleanup still matter.

This guide explains how target pixel width, palette choice, color count, dithering, and output scale interact so you can make informed adjustments rather than clicking random presets.

Think small first Judge the reduced pixel image at its logical resolution before enlarging the preview. If the subject is unreadable at 32 or 64 pixels wide, a larger nearest-neighbor preview will only make the same problem bigger.

What an image-to-pixel-art converter does

The Image to Pixel Art Converter performs a sequence of browser-side operations:

  1. Resize the source to a low target pixel width.
  2. Preserve the source aspect ratio to calculate height.
  3. Reduce colors using an adaptive or preset palette.
  4. Optionally distribute color error with Floyd–Steinberg dithering.
  5. Enlarge the result with nearest-neighbor blocks for preview and export.

Each step solves a different problem. Pixel resolution controls shape detail. Palette controls color language. Dithering controls how limited colors approximate gradients. Output scale changes viewing size without changing the chosen logical pixels or palette.

A landscape progressing from smooth source to low resolution, limited palette, and dithering

The process runs locally in the browser. That is useful for unpublished concept art and game assets, but browser processing still consumes decoded image memory, so source and output dimensions matter.

Choose a source image that can survive simplification

Strong silhouettes, clear lighting, and limited visual clutter convert better than busy scenes. A full-body character against a simple background is easier than a crowded city photograph. A bold icon is easier than small text and thin linework.

Crop around the subject before conversion when large empty areas consume most of the frame. Decide whether the background belongs in the result. Removing it first can give the palette more capacity for the subject and produces a transparent game asset; keeping it can create atmosphere but competes for colors and pixels.

Use the highest-quality practical source. Heavy JPG artifacts may turn into deliberate-looking but unwanted speckles. Very large photos do not guarantee better pixel art because the first operation intentionally reduces resolution; they mainly increase decode cost.

Respect ownership and licenses. A style conversion does not grant rights to copyrighted characters, game art, or stock images. Use your own work or assets licensed for the intended project.

Step 1: Select the target pixel width

Target width is the logical horizontal resolution of the pixel-art result, available from 8 to 256 pixels. Height follows the source aspect ratio.

Lower values simplify aggressively:

Target widthTypical result
8–16 pxAbstract icons, tiny silhouettes
24–48 pxSmall sprites and recognizable objects
64–128 pxPortraits, props, richer scenes
160–256 pxDetailed pixel-style illustrations

These are starting points, not rules. A face may need more pixels than a sword icon. Wide cinematic art needs more horizontal samples than a square portrait to preserve comparable subject detail.

Start lower than you think, then increase until the important features become readable. If you start at 256 pixels, the result may look like a low-resolution photo rather than intentional pixel art.

Evaluate at logical size and at an integer zoom. At logical size, check readability. At zoom, inspect block structure and isolated noise.

Step 2: Choose the color count

Color count controls how many levels or palette entries can represent the image. Fewer colors create stronger grouping and a more graphic style; more colors preserve gradients and subtle lighting.

A low-resolution image with too many colors often looks noisy because neighboring blocks differ by tiny amounts. A very small palette can destroy important separation, such as merging a character's hair into the background.

Try this sequence:

  1. Begin with a moderate value such as 16 or 32 colors.
  2. Identify the focal subject and its key value groups.
  3. Reduce colors until clutter disappears.
  4. Increase slightly if important features merge.

Do not evaluate color count in isolation. A 16-color palette behaves differently at 32 pixels wide than at 128 pixels wide because the larger grid has more places for color variation.

Step 3: Pick a palette

The converter offers different palette strategies:

  • Adaptive RGB levels derive a reduced color space from the image controls.
  • PICO-8 provides a compact, saturated game-style preset.
  • Game Boy uses a small green-toned family.
  • Grayscale removes hue and emphasizes value structure.

Palette choice is an art-direction decision. A preset can unify multiple assets, but it also forces source colors toward its available entries. Skin tones, brand colors, or atmospheric lighting may shift dramatically.

Use the visible palette swatches to understand the selected color family before processing. Compare at least two candidates on the same image. Choose based on readable values and project consistency, not only novelty.

For a multi-asset game, record palette, target width, color count, and dithering settings. Applying the same recipe makes a batch feel related, though some images may still need manual adjustment.

Step 4: Decide whether to use dithering

Floyd–Steinberg dithering distributes part of a pixel's color error to neighboring pixels. With a limited palette, alternating available colors can suggest an intermediate tone.

Enable dithering when:

  • A sky or shadow gradient collapses into harsh bands.
  • A limited palette loses too much volume.
  • A textured retro look fits the art direction.

Disable it when:

  • You want flat, clean color regions.
  • The subject contains small faces, text, or UI shapes.
  • Dither patterns create flicker across animation frames.
  • The image already has significant noise.

Dithering does not add new palette colors; it changes their spatial arrangement. At very low resolution, one distributed pixel can alter a facial feature or outline, so inspect the focal area closely.

For animation, independent dithering can produce different patterns in neighboring frames, creating shimmer. Use a stable palette, reduce noise, and consider manual cleanup for production sequences.

Step 5: Compare the result at multiple scales

The enlarged preview uses nearest-neighbor blocks so the chosen logical pixels stay crisp. Increasing export scale changes output dimensions, not the logical target width, palette, or dither calculation.

For example, a logical result 64 pixels wide exported at 8× becomes 512 display pixels wide, but it still contains the same 64 columns of color decisions. This is useful for sharing or UI placement without introducing interpolation.

Check three views:

  1. Logical size for recognition and silhouette.
  2. Integer zoom for pixel clusters and palette noise.
  3. Final display context for readability against the real background.

If the result is unreadable, change target width or crop—not merely output scale. If it is readable but visually noisy, adjust color count, palette, or dithering.

Step 6: Export and continue editing

Export PNG to preserve sharp color boundaries and transparency. Keep a settings note in the filename or asset record, for example target width, palette, color count, dither state, and scale.

Automatic conversion is often the beginning of pixel-art work. In a pixel editor, clean isolated noise, reinforce important outlines, simplify clusters, correct facial features, and standardize light direction. These edits turn algorithmic reduction into intentional art.

Keep the original source and an unscaled logical-resolution version. Generate larger display copies with the Pixel Art Upscaler instead of repeatedly resizing an already enlarged export.

If the output will become an animation frame, place it on the same canvas, pixel grid, and palette as neighboring frames. A beautiful standalone conversion can still feel inconsistent in motion.

Common problems and adjustments

It still looks like a blurry photo

Lower the target pixel width and ensure the preview uses nearest-neighbor display. Too many logical pixels preserve photographic detail without creating strong clusters.

The subject disappears into the background

Increase target width or color count, choose a palette with stronger value separation, crop closer, or remove the background first.

Dithering creates too much noise

Disable it, use more colors, simplify the source, or apply it only as a reference before manual cleanup.

The colors do not match the original

A preset palette intentionally remaps colors. Use adaptive settings for closer source colors or accept the shift as part of a consistent art direction.

The output dimensions are very large

Reduce export scale. Logical pixel width controls the effect; export scale only enlarges the block display and can multiply memory dramatically.

Using converted art in a game

Use nearest or point filtering in the engine, avoid non-integer transforms when crispness matters, and test at target resolution. Disable or review compression and mipmaps for 2D pixel assets.

For a set of animation frames, apply a shared palette and logical resolution, then combine them with the Sprite Sheet Maker. Confirm every frame uses equal canvas dimensions and consistent pivots.

For a sprite with an unwanted background, remove the background before color reduction when possible. This prevents the background from consuming palette entries and makes edge cleanup easier.

A practical decision order

Crop and simplify the source, choose logical pixel width, set a moderate color count, compare palettes, toggle dithering, inspect logical and zoomed views, export PNG, and finish important areas manually.

The best result is not necessarily the one with the fewest colors or biggest blocks. It is the one whose silhouette, focal detail, palette, and intended display context work together.

Convert an image to pixel art

FAQ

What target width should I use for pixel art?

Start around 24–48 pixels for small sprites and 64–128 for more detailed subjects, then adjust based on silhouette and focal detail.

What does dithering do?

It arranges available palette colors in patterns that suggest intermediate tones. It can preserve gradients but may add noise or animation shimmer.

Does output scale change the pixel-art effect?

No. It enlarges the already reduced result with nearest neighbor. Target pixel width, palette, and colors define the effect.

Can a converter replace a pixel artist?

It can create a useful base, reference, or simple asset. High-quality production art usually benefits from manual cluster, silhouette, and detail cleanup.

Are my images uploaded to a server?

The conversion and PNG export run locally in the browser. Browser memory limits still apply to large source and output dimensions.

Related guides

upscale pixel art without blurHow to Upscale Pixel Art Without Blurremove background from spriteHow to Remove the Background from a Sprite or Pixel Artconvert GIF to sprite sheetHow to Convert a GIF to a Sprite Sheet
← Back to Tutorials