Halftone Dot Generator: Photo to Dot SVG and DXF
Sample a PNG or JPG into a dot screen at the width and pitch you need, preview it here, then download an SVG of real circles and a millimetre DXF. The image stays in this browser tab.
Image
10 MiB · 4 million pixels. No automatic resizing.
A self-made sample, processed exactly like your image.
No image selected yet
Dot preview
Choose an image or try the sample.
Choose an image or try the sample.
Result
Choose an image or try the sample.
Before downloading
- SVG re-read: circle count, millimetre size and boundsNot checked yet
- DXF re-read: entity count, closed flags, millimetres and boundsNot checked yet
Not checked: self-intersection, laser power and material overlap, target-software import.
What this tool produces
A halftone screen replaces continuous tone with dot size. This page reads each pixel's luminance, places dots on a square or 45-degree lattice across a physical canvas you choose, and sets every dot's diameter from the ink that pixel should carry. One set of dots becomes two files: an SVG whose elements are real circle tags in millimetres, and an AC1015 DXF where each dot is a closed 16-sided LWPOLYLINE so the site's strict DXF parser accepts it. No server, no account, no upload.
- Physical size comes from the width you enter in mm or inches, never from image DPI.
- Dot area, not diameter, carries the tone: a 50% patch covers half the paper.
- Both downloads are re-parsed before they are offered: the SVG here, the DXF with the same strict parser as the DXF checker.
Parameters and what they change
Every value below is applied before the screen is sampled. Changing one closes the previous downloads until a new screen has been generated and checked.
- Target width
- Entered in mm or inches. Height follows the source aspect ratio, so a 3:2 photo at 150 mm wide is 100 mm tall.
- Dot pitch
- Distance between neighbouring dot centres. A smaller pitch means more dots, more detail and a heavier file; the 25,000-dot ceiling becomes a hard stop, not a silent trim.
- Dot diameter range
- The smallest diameter is used where there is no ink, the largest where the pixel is fully dark. A largest dot above 90% of the pitch is reported as a warning and is never reduced for you.
- Grid
- Square rows, or hex rows offset by half a pitch and spaced pitch x 0.866 apart. Hex keeps the nearest-neighbour distance equal in every direction.
- Screen angle
- 0 degrees aligns rows with the artwork edges; 45 degrees rotates the lattice about the centre. Rotated dots that fall outside the canvas are dropped.
- Contrast and gamma
- Contrast spreads or compresses tone around mid-grey. Gamma above 1 adds ink and below 1 removes it, which is usually the step a photo needs before engraving.
- Invert ink
- Off, dark pixels get the large dots. On, light pixels do, which suits white-on-black artwork and negatives.
Halftone screen or a traced outline?
Both tools start from the same raster but answer different questions. Pick the direction before spending time on parameters.
Outline tracing
Thresholds the image once and follows the boundary of every remaining shape. Tone inside a shape is discarded; the result is a set of closed contours you can cut, score or fill. Use it for logos, silhouettes and stencils.
Halftone screen
Keeps tone and drops boundaries. There is no shape to cut: the marked area is a field of separate dots whose sizes reproduce the light and dark of the photo. Use it when the photograph's shading is the subject.
Limits, and what this page does not check
One file of 10 MiB, 4 million pixels, 25,000 dots for export, and a warning from 5,000 dots. Dense screens are slow to mark and slow to review, so the ceiling blocks the export rather than handing you a file nobody can inspect.
The DXF circle is an approximation: each dot is a closed 16-sided polyline, not a CIRCLE or arc entity. The polygon sits on the same radius, so its width and height still equal the dot diameter, but the outline is 16 straight segments.
Not checked by this page
- Self-intersection and dot overlap: neighbouring dots may touch or overlap by design, and no geometry repair is performed.
- Laser power, speed, material and ablation overlap: the file describes size and position, not process settings.
- Target-software import: open the file in the software you actually use and measure the dot size before marking a job.
Open the DXF in the DXF checkerPrepare a laser cut file from an image
FAQ
Can I use a colour photo, or does it have to be greyscale?
Colour is fine. Each pixel is reduced to luminance with the same coefficients the outline tracer uses (0.2126 R, 0.7152 G, 0.0722 B), then alpha is composited over white. A fully transparent pixel therefore becomes white, which is no ink, unless you invert the screen.
Why is a DXF dot a 16-sided polygon instead of a circle?
Because this site's DXF stays inside the strict LINE and LWPOLYLINE 2D subset that the DXF checker and DXF to SVG already parse. A CIRCLE entity would be outside that subset and could not be re-parsed before download. The polygon keeps the same radius on both axes, so the size check still holds, and the page states the approximation instead of hiding it.
How small should the pitch be for a 100 mm wide screen?
A 1 mm pitch gives about 100 columns and roughly 11,500 dots on a 100 mm square, already past the 5,000-dot warning. A 2 mm pitch gives about 50 columns and roughly 2,900 dots. Start coarser than you expect to need, generate, then look at the preview before going finer.
Is my image uploaded, and what happens at the limits?
The file is decoded and sampled inside a Web Worker in this tab, and the download names are fixed (halftone-dots.svg and halftone-dots.dxf), so neither the file name nor the pixels leave the browser. Above 10 MiB, 4 million pixels or 25,000 dots the tool stops and asks you to change the input instead of resizing it silently.