Photo to Laser Engraving Image and G-code

Open a photo, set the engraving size in millimetres and the line interval, pick a material preset, adjust brightness, contrast and gamma, choose grey-scale power or Jarvis, Stucki, Floyd-Steinberg, Atkinson or ordered dithering, and save a PNG with the right dpi for LightBurn or LaserGRBL, or raster G-code for GRBL lasers.

ブラウザ内で動作します。ファイルは端末の外に出ません。 確認方法を見る

…

使い方

  1. 1
    Open the photo

    Pick a photo, portrait, pet picture or logo.

  2. 2
    Pick the material

    Choose a material preset as a starting point.

  3. 3
    Set the size

    Enter the width or height in mm and the line interval.

  4. 4
    Adjust the tone

    Use brightness, contrast and gamma, then pick the dither or grey mode.

  5. 5
    Set the laser

    Enter the power range, speeds, overscan and S range for your controller.

  6. 6
    Save

    Save the PNG for LightBurn or LaserGRBL, or the G-code, and run a test first.

このツールについて

A laser burns dots, not shades. To engrave a photo the picture has to be turned into a pattern the laser can draw line by line, at exactly the spacing of its scan lines. If the image has more or fewer pixels per millimetre than the laser has lines, the software resamples it again and fine detail turns to mush. This tool prepares the photo for the machine. You give the width in millimetres and the line interval, for example 0.1 mm (10 lines per millimetre or 254 dpi), and the picture is resized so one pixel is one dot. Tone controls lift the shadows that wood tends to burn too dark. Then you choose the mode: grey-scale, where the laser power follows the tone, threshold for logos and line art, or one of the error-diffusion dithers. Jarvis-Judice-Ninke and Stucki spread the error widely and give smooth portraits on wood; Floyd-Steinberg keeps more fine detail; Atkinson looks crisp on slate. The before and after slider shows the result. Material presets set a starting point for line interval, dither, tone, power range and speed for wood, slate, anodised aluminium, leather, painted acrylic, card and tile.

The G-code

The raster G-code is written for GRBL style controllers in laser mode. Each line of the image becomes a row of moves; runs of the same power become one move, blank rows are skipped, and rows alternate direction to save time. Overscan adds a short run-up past each end so the head is at speed when it starts burning. M4 dynamic power is the default because it lowers the power during acceleration and keeps edges even. The S range must match the controller setting $30, often 1000. The estimate of job time ignores acceleration, so real jobs take a little longer.

The PNG for LightBurn or LaserGRBL

The PNG carries its dpi, so it imports at the right size. In LightBurn set the image mode to Passthrough (or Threshold for a 1-bit file) so the software does not dither it a second time.

Limits and safety

The material presets are example starting points for a 5 to 10 W diode laser; machines, lenses and material batches differ, so always burn a small test grid first. The tool does not control your laser and does not check your machine's work area. Never leave a running laser unattended, wear eye protection rated for its wavelength, use extraction, and do not engrave PVC or vinyl, which release chlorine gas.

計算例

A maker calibrates birch plywood with a grey ramp test card of 100 × 75 mm. At 10 lines per millimetre the image becomes 1,000 × 750 dots. With the wood preset (Jarvis dither, gamma 1.2, contrast 15, power 0 to 70 percent of S1000, 3000 mm/min, 2 mm overscan, bidirectional) the G-code has 313,977 lines, burns 34.6 m of path and is estimated at 23 min 48 s. The PNG saves at 254 dpi.

ポイント

よくある質問

What line interval should I use?

Diode lasers usually engrave photos well at 0.08 to 0.1 mm (10 to 12 lines per mm) on hardwood; softer pine likes wider lines, and slate or anodised aluminium can take finer ones. Match it to your laser's spot size.

Grey-scale or dithering?

Dithering gives the most reliable photo results on wood and most diode lasers because every dot is either on or off. Grey-scale varies the power and can look smooth on materials that darken evenly, but needs good power control.

Why is my engraving too dark?

Wood burns darker than the screen suggests. Raise brightness or gamma, lower the maximum power or speed up. A test grid with several power and speed pairs finds the right setting quickly.

Which S value means full power?

It depends on the controller setting $30. GRBL defaults to 1000. Choose the matching S range so 100 percent in the tool equals full power on the machine.

When should I invert?

Invert when the laser makes the material lighter, not darker: slate, dark coated metal, black painted acrylic engraved from the front, or glass with marking paste. The preset for slate inverts by default.

Is the photo uploaded?

No. Resizing, dithering and G-code writing all run in this browser tab.

完全無料料金なし、登録なし
ファイルはプライベートすべてブラウザ内で動作します
あなたの言語で使いやすく多くの言語に対応