stikmi

JPG to sticker

JPG to sticker

JPEG compression blurs exactly where a sticker edge needs to be sharp. Here are the settings that cope with it, and the photos where no setting will.

Your sticker shows up here

Add a photo to start.

What the results look like

Three sample images run through this tool with the settings shown. They are illustrations on photo-like backgrounds, processed by the same code that runs on this page.

Cartoon puppy on a plain blue-grey wallOriginal
The puppy with the wall removed, on a transparent backgroundBackground removed
Finished puppy sticker with a white outlineFinished sticker
Pet portrait · tolerance 30, white outline 14, 512 × 512. A plain, slightly uneven wall comes off in one pass.
Round green coffee logo on a beige backgroundOriginal
The logo cut out on a transparent backgroundBackground removed
Logo sticker with a white outlineFinished sticker
Round logo · tolerance 24, outline 10, 512 × 512. Flat colours and a clean edge only need a thin outline.
White mug with a red stripe on a peach background, with a shadow underneathOriginal
The mug cut out; background still visible inside the handleBackground removed
Mug sticker with a white outline and an uneven bottom edgeFinished sticker
Mug with a handle · tolerance 36, outline 18, 512 × 512. Two limits show here: the gap inside the handle is enclosed, so the fill from the corners never reaches it, and the soft floor shadow leaves a ragged white edge at the bottom. Crop the shadow out first, or choose a photo where the handle is open to the background.

JPEG is the format most photos arrive in, and it is also the format that makes background removal hardest. Not because the tool is weak, but because JPEG throws away information exactly where a sticker needs it most: at the edge between the subject and the background.

What JPEG does to an edge

Compression works by grouping small blocks of pixels and storing them approximately. On flat areas that is invisible. On a hard boundary, it turns a one pixel line into a two or three pixel fade of intermediate colours. A person against a white wall in a JPEG does not have a crisp outline; they have a haze of pale grey between them and the wall.

The flood fill has to decide where that haze ends. Set it too strict and the haze survives as a white halo around the subject. Set it too loose and the fill eats into the subject itself.

Settings that work for camera photos

Start with tolerance at 32 to 36 and an outline of 8 to 12 pixels at 320 size. The higher tolerance pushes through the JPEG haze; the thinner outline keeps the total edge from looking mushy. If you use the default 14 pixel outline on a JPEG you often get a thick white border sitting on top of an already soft edge, and the result reads as low quality even though the source was fine.

Two other things help more than any slider. Shoot or crop against a plain background. A photo taken against a wall will always beat a photo taken against a bookshelf. Start from the largest version of the file you have. A JPEG that has already been sent through a chat app has been recompressed at least once; the original from the camera roll is cleaner.

When to give up on the background

If the subject is in front of foliage, a crowd, a patterned rug or a window, no tolerance value will separate it cleanly. Stop adjusting and make a different decision: either crop in so tightly that the background is barely visible, or keep the background entirely and rely on the white outline to frame it. The second option produces a rectangular sticker with a thick border, which is a normal and accepted look in every app.

JPG to emoji

Small emoji are more forgiving than full stickers. At 128 pixels, a slightly ragged edge disappears and the subject reads as a shape rather than a photo. If you want a reaction image for Discord or Slack and the cut is imperfect, exporting at emoji size is often the way to salvage it.

What about HEIC from an iPhone?

Most browsers decode HEIC directly now. If yours does not, the upload will fail silently or show a broken thumbnail. The fix is in the phone's share sheet: export or share as JPEG first, then upload that.

Around this page

Questions

Why is there always a white halo around my subject?

Because the JPEG haze survived the fill. Raise tolerance in steps of four until the halo goes, and lower the outline at the same time so the edge does not get thicker as the halo gets thinner.

Does saving as PNG first help?

Not for quality; the damage is already in the JPEG. It can help if your browser has trouble decoding a particular file, but it will not restore a clean edge.

Can I use a photo from a messaging app?

You can, but expect a softer edge. Messaging apps recompress images, and every recompression smears the boundary a little more. Pull the original from the camera roll whenever it is available.