# DXF na PNG

> Cały rysunek albo tylko fragment widoczny na ekranie, do 7680 pikseli szerokości, na białym, ciemnym lub przezroczystym tle. Za darmo, bez rejestracji.

Human page: https://unmakelabs.com/pl-pl/dxf-na-png/. This is the version for AI agents.

## What it does

DXF na PNG: wyraźny obraz rysunku do maila, czatu lub prezentacji. Cały rysunek albo tylko fragment widoczny na ekranie, do 7680 pikseli szerokości, na białym, ciemnym lub przezroczystym tle. Za darmo, bez rejestracji.

## Kiedy obraz jest lepszy niż plik CAD

Większość osób, którym wysyłasz rysunek, nie otworzy pliku DXF, a komunikatory, prezentacje, raporty, serwisy ogłoszeniowe i strony internetowe wymagają obrazu. PNG zachowuje ostrość cienkich linii CAD i drobnego tekstu (to format bezstratny, w przeciwieństwie do JPEG), a z przezroczystym tłem dobrze wygląda na każdym slajdzie i każdej stronie.

## Dokładnie to, co widzisz

PNG jest rysowany tym samym kodem co przeglądarka: te same warstwy, ten sam układ, te same kolory. Przybliż szczegół i wyeksportuj opcję „To, co na ekranie”, aby uzyskać zbliżenie, albo wyeksportuj cały układ jako widok ogólny – w szerokości 1920, 3840 lub 7680 pikseli.

## Facts

- **Wynik:** PNG, bezstratnie
- **Szerokość:** 1920, 3840 lub 7680 px
- **Tło:** Białe, ciemne lub przezroczyste
- **Weryfikacja:** Obraz jest ponownie odczytywany, a jego rozmiar potwierdzany

## How a person does it

1. **Otwórz plik DXF.** Upuść go, wybierz z dysku lub wklej link, a następnie wybierz model lub arkusz.
2. **Wybierz kadr.** Przybliż potrzebny fragment albo zostaw cały rysunek. Wyłącz warstwy, które zaśmiecają obraz, np. linie konstrukcyjne lub ukryte notatki.
3. **Zapisz PNG.** Kliknij „Konwertuj do PNG”, wybierz szerokość i tło, a potem pobierz plik. Jeśli ktoś musi wydrukować rysunek w skali, użyj PDF.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/pl-pl/dxf-na-png/?src=https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=cx,cy,width&lay=1&off=Layer1|Layer2&bg=light&u=mm` (view centre and width in drawing units, layout index, hidden layers, background dark or light, unit override).

Embed: `<iframe src="https://unmakelabs.com/embed/cad/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: DXF version, units, layouts with sizes, layers (colour, on/off, object counts), blocks with insert counts and a dimension check (each dimension's printed value against the distance between its own points), plus a PNG render. POST /v1/dxf_render/jobs adds SVG and PDF per layout; a DWG file goes through dwg_to_dxf (returns the DXF plus the same renders). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/qcad/qcad/af1d1fa6c70fc41cf981da0f2114814c2d2c1310/examples/flange.dxf"}'
```

## Good to know

PNG to obraz: nie ma skali i po zapisaniu nie da się go mierzyć. Bardzo cienkie linie mają szerokość jednego piksela, więc przy 7680 px duży plan może wyglądać blado – wyeksportuj fragment albo zaznacz „Tylko czarne linie”, aby zwiększyć kontrast.

## Not done by this tool

- Obrazy nie mają skali (do tego służy PDF lub SVG)
- Największy obraz: 7680 px szerokości (8192 px wysokości)
- Nie tworzy plików JPEG ani WebP
- Nie konwertuje jeszcze plików DWG

## Value

Opens ASCII DXF drawings (R12 to 2018) in any browser, phones included: model space and paper layouts with viewports, layers, blocks, text, MTEXT, dimensions, leaders, hatches with their patterns and linetypes; measures distance and area with vertex snapping in the file's units ($INSUNITS); checks every linear, aligned, radius and diameter dimension's printed value against its definition points; exports vector PDF (A4-A0, Letter, Tabloid), real-size SVG with one group per layer, and PNG, each read back by the program after export. Free, no sign-up.

## When it fits

- A user has a DXF (from AutoCAD, BricsCAD, LibreCAD, QCAD, SolidWorks, Inventor, Fusion, Revit, SketchUp, Illustrator, Inkscape or CAM software) and no CAD program, and wants to look at it, read its title block, switch layers or layouts, or measure a distance or an area.
- A user needs a DXF as a PDF to print or send, as a real-size SVG for a laser or vinyl cutter, Inkscape or Illustrator, or as a PNG picture.
- A user wants to know a drawing's units, size, layers, block names, or whether its dimension values match the geometry.

### When not

- DWG files in the browser: the viewer opens DXF (the page explains how to save one). For agents, DWG to DXF runs on our server today (POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/dwg_to_dxf/jobs).
- Binary DXF, 3D solids (ACIS), raster images, external references, editing drawings.
- 3D meshes and CAD solids such as STEP, STL, GLB, OBJ: use the 3D file viewer.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a DXF from a public link in any browser (?src=) and can be embedded in a page (/embed/cad/), with layers, layouts and the view carried in the link.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same facts as JSON (version, units, layouts, layers, blocks, checked dimensions) plus a PNG render; POST /v1/dxf_render/jobs adds SVG and PDF.
- Online viewers such as ShareCAD put measuring behind a paywall; desktop viewers need an install; Autodesk Viewer needs an account.
- This viewer needs no install or account, measures with snapping, checks dimension values against the geometry, and exports vector PDF, real-size SVG and PNG, free without limits, ads or sign-up.

### What rebuilding it would take

- Write a DXF reader for twenty-odd entity types (POLYLINE/LWPOLYLINE bulges, SPLINE NURBS, HATCH boundary paths and pattern lines, MTEXT inline codes, MULTILEADER context data, nested INSERT transforms and attributes, OCS extrusion), layouts and viewports, ByLayer/ByBlock colour and linetype rules and code pages.
- Build a renderer that stays fast on large plans and phones, plus three exporters (PDF, SVG, PNG) that match the screen and are verified after export.
- Add snapping, unit handling and a dimension check.
- Real DXF samples from many CAD programs and versions to test against, and upkeep as writers and browsers change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are currently read on the user's device, not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer, measuring and PDF/SVG/PNG export work for DXF in the browser. For agents, POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for DXF and DWG files (dxf_render, dwg_to_dxf)._

## Privacy

- Files opened in the page are read on the user's device and not uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- For PDF export only, the page loads one extra program from a public code host, which receives the visitor's IP address for that request.

## Data

Otwiera się w przeglądarce; plik zostaje na twoim urządzeniu, chyba że go udostępnisz. Udostępnione pliki przechowujemy 30 dni.

## FAQ

- **Jaką rozdzielczość wybrać?** 1920 px do czatu i maila, 3840 px do prezentacji i raportów, 7680 px, gdy odbiorcy będą przybliżać duży plan.
- **Czy mogę uzyskać przezroczyste tło?** Tak: w sekcji „Tło” wybierz „Przezroczyste”. Linie zachowują wtedy kolory, jakie mają na białym tle.
- **Dlaczego obraz wygląda inaczej niż w AutoCAD?** Kolory są dostosowywane tak, aby żółte lub białe linie były widoczne na białym tle, a tekst używa standardowej czcionki. Włącz „Tylko czarne linie”, aby uzyskać prosty, czarno-biały wygląd.
- **Czy to naprawdę za darmo?** Tak: bez reklam, bez rejestracji i bez płatnej wersji do przeglądania, mierzenia czy eksportu.
- **Czy przesyłacie mój rysunek na serwer?** Tylko jeśli go udostępnisz. Udostępniony plik przechowujemy 30 dni, żeby link działał, i możesz go w każdej chwili usunąć. Szczegóły znajdziesz w sekcji „Co się dzieje z twoim plikiem”.
- **Czy mój agent AI może czytać pliki DXF?** Tak. Agenci wywołują POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect z linkiem do pliku DXF lub DWG albo z przesłanym plikiem (bez klucza) i dostają jako dane wersję, jednostki, układy, warstwy, bloki, sprawdzone wymiary oraz obraz. Agent może też otworzyć w tej przeglądarce dowolny publiczny plik DXF przez link: wystarczy dodać do adresu tej strony ?src= i adres pliku.
- **Kto to robi?** Unmake Labs (Julien Salomon). Kontakt: hello@unmakelabs.com.

## Related pages

- [Przeglądarka DXF](https://unmakelabs.com/pl-pl/przegladarka-dxf-online/)
- [DXF na PDF](https://unmakelabs.com/pl-pl/dxf-na-pdf/)
- [DXF do SVG](https://unmakelabs.com/pl-pl/dxf-do-svg/)
- [Pomiar DXF](https://unmakelabs.com/pl-pl/pomiar-dxf-online/)
