Convert JPG to DXF: Conversion & Editing Software


Convert JPG to DXF

In this guide we’ll run through how you can convert JPG to DXF quickly and easily with Scan2CAD.

Scan2CAD is Avia Systems’ market leading software, helping users around the world to convert with intelligence and edit with precision every day.

download your fully featured 14 day trial now


 What is a JPG file?

JPG is the most common file extension type for files that conform to the JPEG compression standard.

JPEG is an acronym for Joint Photographic Experts Group, with other file extension types for JPEG compression including JPE, JPEG, JIF and JFIF.

The JPEG compression method is known as a ‘lossy’ type and is best applied to photographic images with smooth transitions between areas of color and tone. Because of this loss of definition, JPEG compression is not well suited for line drawings, text or solid graphics which have a sharp transition from typically black(ink) to white(paper).

Applying JPEG to these black and white image types will result in greyscale, blocky artefacts being introduced which will blur the definition between the ink and the paper.

If you attempt a JPG to DXF conversion using a JPEG image, you will never end up with a defined and useful product.


Example of JPG Conversion

Example JPG Image with Segment Magnified

If we were to convert this JPG to DXF without modification then the results would be as follow (vectors displayed in red and magenta, JPG image in black).



Image showing errors caused by converting JPG directly to DXF

How to Avoid JPG to DXF Conversion Problems

1. Do not use JPG.

The simplest way to avoid the above problems is do NOT use the JPG file type for line drawings, text or solid graphics. For black and white images use a file type such as TIF set at Group3Fax, or preferably Group4Fax. This will not introduce the above problems, and beneficially the file size will be relatively small.

However, this advice is not so useful if you have no control over how the file is given to you and it is a JPG type. In this situation we need to modify it.

2. Modify using Thresholding.

Thresholding is a way of setting all gray image parts (pixels) below a certain value to white, while setting all pixels above this value to black.

Scan2CAD contains 2 methods of Thresholding – simple and adaptive. In most cases the simple method will suffice.

Thresholding couldn’t be simpler:

  • With the JPG image loaded into Scan2CAD, select menu option:
Raster Effects > Threshold > Simple
  • You will be presented with a Scan2CAD Dialog containing a preview window together with a Threshold slider control.
  • Setting the slider around the mid point and moving it up and down the scale you will see the resultant effect in the preview window.
  • You can zoom in and out of the image in the preview window to aid clarity.
  • When you consider that the image is now properly black(ink) for image elements and white(paper) for the background then press the dialog OK button to exit the dialog.

Performing a Scan2CAD JPG to DXF Conversion

  • To do a JPG to DXF conversion, select the vectorization type using menu option:
Type > Architectural

(the part drawing we are using is from an Architectural floor plan)

  • Now press the VEC toolbar button


Convert JPG to DXF with Scan2CAD

Above is the result of Thresholding the JPG image with a value of 127 and then performing a JPG to DXF conversion. Note the lack of errors in the conversion.

download your fully featured 14 day trial now


Read More

Here are some suggestions for further reading:

Related Posts

Market leading Conversion and Editing Software

Start your unlimited 14 day trial
download your free trial

8 Responses to Convert JPG to DXF: Conversion & Editing Software

  1. Ben April 1, 2014 at 12:04 am #

    Hi Mr LukeI am a 60 years young man semi retired i play with CNC plasma and router hobby machinei am getting exploited by so call expert designer of JPEG and DXF filesIwant to buy a software froendly to learn and operate to stop that abuseCan you recommend something acceptables in price and again friendly to use and learn.Icount on your loyalty,objectivity and my walletand a good sens of humour Life is shortThanks and RegardsBen

  2. Colin July 10, 2014 at 12:11 pm #

    Hi,I am a 3D crystal engraver and looking for software to convert any jpg,jpeg image into 3D for engraving (DXF) format. 3ds Max on the expensive side,your help/suggestions would be much appreciated.

    • Luke Kennedy
      Luke Kennedy July 20, 2014 at 2:24 pm #

      Hey Colin – with Scan2CAD only 2D cDXF files are supported.

      Bear in mind that JPEGS and any other image file types are only 2D. So it’s not strictly possible to automatically convert the 2D to 3D. You would probably be best converting the files to DXF with an application like Scan2CAD.

      At which point you’d have a clean 2D CAD file with which you’d need to input the ‘z’ axis information. You couldn’t do this step with an application like Scan2CAD.
      This probably isn’t the information you were hoping for but I hope it helps somewhat.

  3. Sudarshan April 26, 2015 at 1:50 pm #

    Hellow sir,
    I m a student and an aeromoodeller I have lots of plans to turn them into cdr from pdf plz help

    • jay April 26, 2015 at 2:57 pm #

      Hi Sudarshan,

      Have you tried it for free? You can get the free trial at

  4. branden July 10, 2016 at 6:29 am #

    how much is your product after the free trial if i like it ?

    • jay July 10, 2016 at 6:50 am #

      Hi Branden,

      We have both licenses and subscription licenses to suit your preferences. Full pricing details here

Leave a Reply