How to Auto Trace a Photo

Inkscape related questions, tips and topics can be posted here
Post Reply
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

How to Auto Trace a Photo

Post by adbuch »

This example will show how to start with a screen shot image and process it using Paint.net and Inkscape to produce a vector file.This is only an example, but the same steps could be used to process any similar image you choose to work with. Let me know if you have any questions about this process and I will be happy to provide further explanation.

David
anchor welcome sign for auto trace example.jpg
anchor welcome sign for auto trace example.jpg (25.98 KiB) Viewed 9542 times
auto trace 2.jpg
auto trace 3.jpg
auto trace 4.jpg
auto trace 5.jpg
auto trace 6.jpg
auto trace 7.jpg
auto trace 8.jpg
auto trace 9.jpg
Last edited by adbuch on Tue Sep 12, 2023 3:23 am, edited 1 time in total.
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

auto trace 10.jpg
auto trace 11.jpg
auto trace 12.jpg
auto trace 13.jpg
auto trace 14.jpg
auto trace 15.jpg
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Here is an alternative method to auto tracing using circles, rectangles and other shapes combined with the Union and Difference tools and a little bit of manual tracing to achieve a similar result. Let me know if you have any questions and I will be happy to reply.

David
anchor welcome sign for auto trace example.jpg
anchor welcome sign for auto trace example.jpg (25.98 KiB) Viewed 9530 times
scratch copy 1.jpg
scratch copy 2.jpg
scratch copy 3.jpg
scratch copy 4.jpg
scratch copy 5.jpg
Last edited by adbuch on Tue Sep 12, 2023 3:23 am, edited 1 time in total.
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

scratch copy 6.jpg
scratch copy 7.jpg
scratch copy 8.jpg
scratch copy 9.jpg
scratch copy 10.jpg
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to Auto Trace a Photo

Post by acourtjester »

good show :Like :Like
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Dirtmotor
2.5 Star Member
2.5 Star Member
Posts: 238
Joined: Wed Aug 24, 2022 2:48 pm

Re: How to Auto Trace a Photo

Post by Dirtmotor »

Nice , I assume that is not the "free" version of paint ?
I searched Paint.net , evidently I have a old version on my windows 8 laptop , it doesn't have a lot of editing options...
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Dirtmotor wrote: Tue Sep 12, 2023 10:29 am Nice , I assume that is not the "free" version of paint ?
I searched Paint.net , evidently I have a old version on my windows 8 laptop , it doesn't have a lot of editing options...
The Paint.net I use is free. It came as a standard accessory on all of my Windows computers. You can use the link below to get to the Paint.net site to download the latest version. I am using version 4.3.12, and haven't updated to the newest version yet. Let me know if you have any specific questions about using it for the examples I have posted.

David

https://www.google.com/search?channel=f ... t+download
paint.net.jpg
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to Auto Trace a Photo

Post by acourtjester »

There is a difference Paint.net is free but Microsoft's paint is not the same program. I had it and I think one of the auto updates by Microsoft removed it. I just downloaded it from the correct site and it is 5.0.9
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

acourtjester wrote: Tue Sep 12, 2023 5:15 pm There is a difference Paint.net is free but Microsoft's paint is not the same program. I had it and I think one of the auto updates by Microsoft removed it. I just downloaded it from the correct site and it is 5.0.9
Tom - I am using Paint.net for my examples. My Windows pc came with several different paint programs, as shown below. Thanks for your input.

David
paint.net 1.jpg
paint.net 1.jpg (79.52 KiB) Viewed 9458 times
Dirtmotor
2.5 Star Member
2.5 Star Member
Posts: 238
Joined: Wed Aug 24, 2022 2:48 pm

Re: How to Auto Trace a Photo

Post by Dirtmotor »

Thanks, looks like mine only has paint on it , I need to upgrade to ten . not going do it on this one , will have to wait till I get a new computer . I can see where being able to adjust contrast would really help with picture tracing ,something I am struggling with .
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Dirtmotor wrote: Tue Sep 12, 2023 8:38 pm Thanks, looks like mine only has paint on it , I need to upgrade to ten . not going do it on this one , will have to wait till I get a new computer . I can see where being able to adjust contrast would really help with picture tracing ,something I am struggling with .
You don't need to upgrade to get Paint.net. It is a free download available for anyone to use. I have it on Windows 10, Windows 7, and maybe even my Windows xp machine. You can download it using the link below.

https://www.getpaint.net/download.html

David
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Dirtmotor wrote: Tue Sep 12, 2023 8:38 pm I can see where being able to adjust contrast would really help with picture tracing ,something I am struggling with .
Yes - being able to adjust brightness/contrast and inverting inverting colors can be very helpful to get your image into a more "Inkscape friendly" format for auto tracing and further editing. Here is an example showing the steps I used for this one. It's a combination of adjusting brightness/contrast, then inverting the colors, and then one more time adjusting the brightness/contrast. The result is almost all black and white and will give a much better auto trace than the original colored image.

David
Paint.net 1.jpg
Paint.net 2.jpg
Paint.net 3.jpg
Paint.net 4.jpg
Paint.net 5.jpg
Paint.net 5.jpg (27.38 KiB) Viewed 9432 times
Paint.net 6.jpg
Paint.net 7.jpg
TJS
3.5 Star Elite Contributing Member
3.5 Star Elite Contributing Member
Posts: 716
Joined: Wed Nov 26, 2014 1:22 pm
Location: Fairfield, CT.
Contact:

Re: How to Auto Trace a Photo

Post by TJS »

This is a great post. I have to look into what Paint I acutally have as well.
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to Auto Trace a Photo

Post by acourtjester »

Here is another function in the Paint.net program that is very helpful, recorded by rdj356.

You can select sections in an images and use this to copy for use in Inkscape for clearer work. Here are some screen shots showing some of that. Adjusting the tolerances you add of subtract portions to copy. Placing the cursor on what you want for the function to copy as you start makes it easy to break up an image and copy parts to be used in Inkscape to combine helps too.
anchor image 2.JPG
anchor image 3.JPG
anchor image 4.JPG
anchor image 4.JPG (54.62 KiB) Viewed 9399 times
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Dirtmotor
2.5 Star Member
2.5 Star Member
Posts: 238
Joined: Wed Aug 24, 2022 2:48 pm

Re: How to Auto Trace a Photo

Post by Dirtmotor »

I opened the link for paint.net , I may be wrong but it looks like my computer with 8 on it does not meet their system requirements ?
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Tom - thanks for that tip! I had seen Robert's video before - he offers a great tutorial on using some of the features of Paint.net.

David
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Dirtmotor wrote: Wed Sep 13, 2023 1:33 pm I opened the link for paint.net , I may be wrong but it looks like my computer with 8 on it does not meet their system requirements ?
You could try to install it anyway to see if it works, or maybe look for an older version to install. Let us know how you make out.

David
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Dirtmotor wrote: Wed Sep 13, 2023 1:33 pm I opened the link for paint.net , I may be wrong but it looks like my computer with 8 on it does not meet their system requirements ?
I just checked and I am using Paint.net version 4.3.3 on my Windows 7 computer. I expect the newer version would work fine with Windows 7 as well. I think it all depends on your graphics card, memory, etc. I would go ahead and download it and try it with your Windows 8. Good Luck!!

David
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

acourtjester wrote: Wed Sep 13, 2023 10:02 am Here is another function in the Paint.net program that is very helpful, recorded by rdj356.

You can select sections in an images and use this to copy for use in Inkscape for clearer work. Here are some screen shots showing some of that. Adjusting the tolerances you add of subtract portions to copy. Placing the cursor on what you want for the function to copy as you start makes it easy to break up an image and copy parts to be used in Inkscape to combine helps too.
Tom - I just tried out your method and it works great! I think the result of the auto trace turned out cleaner than my original where I had adjusted brightness/contrast, inverted colors, etc. So less editing to clean it up for the parts I wanted to keep. I personalized it just for fun. Another tool to add to the tool bag.
Thanks,
David
Magic Wand 1.jpg
Magic Wand 2.jpg
Magic Wand 3.jpg
Magic Wand 4.jpg
Magic Wand 5.jpg
Magic Wand 6.jpg
Magic Wand 7.jpg
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to Auto Trace a Photo

Post by acourtjester »

I just copied Roberts video, your detailed post show the steps better. :Like
I like the Anchors Away, as an old swap jockey :Yay
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

acourtjester wrote: Thu Sep 14, 2023 9:15 am I just copied Roberts video, your detailed post show the steps better. :Like
I like the Anchors Away, as an old swap jockey :Yay
:Like :Like :Like
Dirtmotor
2.5 Star Member
2.5 Star Member
Posts: 238
Joined: Wed Aug 24, 2022 2:48 pm

Re: How to Auto Trace a Photo

Post by Dirtmotor »

Thanks David , I downloaded it on work computer works great I think it will be a big help . Would not load on old computer .
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

adbuch wrote: Thu Sep 14, 2023 9:23 am
acourtjester wrote: Thu Sep 14, 2023 9:15 am I just copied Roberts video, your detailed post show the steps better. :Like
I like the Anchors Away, as an old swap jockey :Yay
:Like :Like :Like
Tom - I was trying to do something a little bit different. Thanks for your appreciation! Here is the svg just in case you have any interest in doing anything with it.

David
Anchors  Away.svg image.jpg
Anchors Away.svg image.jpg (48.35 KiB) Viewed 9282 times
Anchors Away.svg
(236.7 KiB) Downloaded 123 times
Last edited by adbuch on Thu Sep 14, 2023 10:59 am, edited 2 times in total.
adbuch
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 8664
Joined: Thu Sep 21, 2017 5:22 pm
Location: Tucson, Arizona
Contact:

Re: How to Auto Trace a Photo

Post by adbuch »

Dirtmotor wrote: Thu Sep 14, 2023 9:46 am Thanks David , I downloaded it on work computer works great I think it will be a big help . Would not load on old computer .
Great to hear you've got it installed on one of your computers! Let us know how you make out using it and if you have any questions or comments.

Thanks,
David
User avatar
acourtjester
6 Star Elite Contributing Member
6 Star Elite Contributing Member
Posts: 7796
Joined: Sat Jun 02, 2012 6:04 pm
Location: Pensacola, Fla

Re: How to Auto Trace a Photo

Post by acourtjester »

Thanks David downloaded and stored, my table is in pieces as I am doing an upgrade to Clearpath servos. I am waiting on a power supply should be in a few days.
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Post Reply

Return to “Inkscape”