JPG & Photo to CAD DXF Converter for Sketches and Floor Plans

Eliminate uneven desk lighting and JPEG compression artifacts from smartphone photos of hand-drawn parts, gaskets, and floor plans—or drop annotated architectural SVGs to preserve room labels as native CAD MTEXT.

Courtyard Floor Plan (MTEXT)
Try sample:
Tracing
Vectorized preview of Courtyard Floor Plan (MTEXT)
Dimensions
4800 × 3400 mm
Closed / Open
6 / 4
Circles / Arcs
1 / 1
Native MTEXT
7
Layers:
WALLS
COURTYARD_DECK
FIXTURES
MTEXT (7)
Architectural courtyard scale model morphing into crisp cyan and white CAD DXF wall lines

Turning Smartphone JPG Photos & Floor Plans into Clean DXF

  1. 1. Local Illumination & JPEG Artifact Flattening

    Integral-image background division neutralizes desk lamp shadows and 8x8 JPEG macroblock ringing across white paper.

  2. 2. Speckle Despeckling & Wall Line Extraction

    Raise Minimum Island Area to discard paper grain speckles while retaining structural walls, doors, and mechanical contours.

  3. 3. Architectural Scale Calibration & MTEXT Export

    Scale full room widths (e.g., 4800 mm) in one step; when converting vector floor plans, room dimensions export as editable MTEXT.

Photo & Floor Plan JPG to DXF Processing Benchmarks

Recommended parameter ranges for photographed sketches, scanned blueprints, and CAD floor plans.

ParameterCADMorph specificationFabrication impact
Smartphone Desk Photo (Uneven Shadow)Normalize Shadows: ON · Threshold: 165–190Prevents dark corner gradients from flooding half the DXF drawing with solid black polygons.
Compressed JPEG Scan (8x8 Ringing)Minimum Island Area: 20–45 px² · Simplify: 1.25 pxStrips mosquito noise around dark ink lines before generating LWPOLYLINE vertices.
Architectural Floor Plan ScaleTarget Width: 3000–12000 mm ($INSUNITS = 4)Imports at 1:1 millimeter architectural scale in AutoCAD LT, BricsCAD, and SketchUp.
Annotated SVG Diagram Pass-ThroughAcDbMText with rotation (code 50) & attachment (71)Keeps room names and dimension callouts editable on the dedicated TEXT layer.

Why engineers and makers use this workflow

Built for Real-World Phone Captures

Global thresholding fails whenever a phone casts a shadow over notebook paper. Integral-image normalization estimates local paper brightness in O(N) time so ink lines stay crisp edge-to-edge.

JPEG Compression Mosquito Filtering

Lossy JPG files scatter faint gray ringing blocks around sharp lines. Connected-component filtering removes isolated artifacts before CAD polyline compilation.

Full-Scale Architectural Millimeters

Type 4800 mm or 360 in directly into Target Width to generate full-scale building layouts ready for CAD dimensioning.

Frequently asked questions

Common questions on DXF R2000 compatibility, unit scaling, Cricut layer stacking, and local browser privacy.

How do I stop phone shadows from turning into giant black shapes in my jpg to dxf file?

Keep the Normalize Paper Shadows switch enabled. It divides each pixel's luminance by the local neighborhood paper brightness using an integral image, flattening lighting gradients before thresholding.

What is the best way to photograph a gasket or bracket for accurate DXF tracing?

Place the part on high-contrast matte white paper, hold the camera directly overhead at 90 degrees from 40–60 cm away using 2x optical zoom to minimize barrel lens distortion, and measure the part's real outer width in millimeters to enter into Target Width.

Can I convert floor plan text labels into editable AutoCAD text?

Raster JPG pixels do not contain text tags, so JPG labels trace as outlines; however, if your floor plan is exported from a diagramming or AI SVG tool with <text> elements (like our Courtyard Floor Plan preset), CADMorph compiles every label into native editable DXF MTEXT.

Standards and technical sources

Specification verified