Crate dxf2image[][src]

Expand description

dxf2image

dxf2image is a fast and efficient dxf to image converter!

Usage

use dxf2image::{dxf2svg, dxf2png};

fn main() {
    let dxf = "sample.dxf";

    // Convert to svg
    let svg = "sample.svg";
    dxf2svg(dxf, svg).unwrap();

    // Convert to png
    let png = "sample.png";
    dxf2png(dxf, png).unwrap();
}

Functions

Convert dxf to svg