2

Convert A Cartoon Picture To A Svg Icon/image


11 replies to this topic

#1 RobJM

RobJM

    Nokia Theme Support

  • Admin
  • 5,682 posts
  • Gender:Male
  • Location:UK

Posted 12 June 2009 - 02:19 PM

Here is how I made some svg icons and wallpapers from a jpg image for my Flintstones theme.

I used photoshop and illustrator, but I presume you can do the same with the free alternatives.

Cartoons are probably the easiest of images to convert to vector files, the better the image the easier it is, although it's possible to get good results even with quite poor images with a bit of tinkering.

This is for an icon but it's really just the same if you want to use it as a wallpaper, just adjust the finished size.
Here is the original file I used if you want to follow along > Attached File  fred006.rar   235.22K   39 downloads

This image I used was perfect for this, very easy to do.
First open up your image in Photoshop and crop it roughly to a square of how you want your finished icon to look.
Attached File  01.png   132.89K   22 downloads

Then right click on the layer and select 'layer from background'
Attached File  02.png   97.6K   11 downloads

In the pop-up just select OK , it should be then same as below.
Attached File  03.png   33.98K   6 downloads

Next select the magic wand tool and select the white background with it and press delete on your keyboard to remove it, remove all the background.
Attached File  04.png   25.15K   5 downloads Attached File  06.png   154.55K   5 downloads


Save your image as a png file, then open that file in Illustrator.

With your image selected, go to 'Object/Live Trace/Tracing Options.
Attached File  07i.png   116.54K   7 downloads

Move the box that pops-up to the side so you can see your image, now in the pop-up box you can see all your tracing options,tick the preview box to see how the settings affect the image.
Attached File  08i.png   66.22K   4 downloads
it depends on your image what settings you use, with this image it came out really good just by using Preset 'default' and Mode 'colour'.My final file size came out at 34kb, a bit big I thought for an icon.

I managed to half that file size by using the settings as in the screenshot above, Mode 'black and white' and then colouring the image myself.

So select Mode 'Black and White' then press 'Trace' you should get something like this..
Attached File  09i.png   39.75K   3 downloads

Next go to 'Object/Expand' then select OK.This basically splits the image up into the parts that are outlined by the 'black lines' so you can colour each part individually.
Attached File  10i.png   47.53K   4 downloads Attached File  11i.png   51.53K   5 downloads

Save it now as svg 1.0, untick 'preserved editing capabilities'.

Next just to make things easier, I copied and pasted the original png file into this one, just to make it easier to select the colours.
Attached File  12i.png   102.35K   3 downloads

Next use the 'Direct Selection' tool [the 2nd arrow down] and select an area you want to colour, zoom in if you want to make sure you select the correct part, then choose the 'eyedropper tool' and click on the corresponding colour in your png image you pasted in, thats your selection coloured, now just repeat for you entire picture.
Attached File  13i.png   94.47K   2 downloads

Once that's finished click on 'View/Show transparency grid' if it isn't already showing.
Attached File  14i.png   71.88K   5 downloads

You will see the background is white, simply select it with the Direct Selection' tool as you did above, and press delete on you keyboard to remove it, do the same with each portion of the background.
Attached File  15i.png   69.91K   2 downloads

Also use the top 'Selection Tool' and select the png image you pasted in and delete it.

Now to make it an icon, go to 'File/New and make a new document 60x60 pixels, go back to your finished image,go to 'Select/ All then 'Edit /Copy'.
Go back to your 60x60 document and go to 'View/Actual Size' and then 'Edit / Paste' to paste you image in, it will be too big but just select it all , and resize it to fit [holding shift why you do this will keep it's proportions]
Once you have it roughly the right size you can zoom in and make finer adjustments.
Then save it as a svg 1.0 file, untick 'preserve editing capabilities' , that came out as 16kb for me, half the size of the colour mode version, and I'm sure there are other ways to tweak it, to get it smaller still.

Next try it out in carbide...
Attached File  carbss_1.png   113.26K   4 downloads Attached File  carbss_2.png   88.96K   5 downloads

You could also use that 60x60 icon as a wallpaper,because it is vector it will resize to any size without degrading in quality, if you paste your image into a 60x80 [240x320 ratio] instead of the 60x60, you will have a 16kb wallpaper.
Attached File  wall.png   45.22K   4 downloads

#2 odbot

odbot

    SE Theme Support

  • Admin
  • 4,622 posts
  • Gender:Male
  • Location:UK
  • Applications of choice:imagination :)

Posted 12 June 2009 - 02:42 PM

thanks rob thats a great post cheers

#3 crazysun321

crazysun321

    Member

  • Theme Maker
  • 654 posts
  • Gender:Male
  • Location:United Kingdom
  • Applications of choice:Nimbuzz, BBM, IPOD.

Posted 15 June 2009 - 04:00 AM

Superbbb Rob.............Awesome post from you.

#4 Jeannie

Jeannie

    Walkabout

  • Wallpaper Designer
  • 5,039 posts
  • Gender:Female
  • Location:USA
  • Applications of choice:mpTrim
    PaintShop Pro X4 Ultimate
    Animation Shop 3
    Quick Media Converter
    Sony Ericsson Theme Creator

Posted 15 June 2009 - 08:56 AM

You are awesome Rob!

#5 olek21

olek21

    Nokia Theme Support

  • Tehk Core
  • 1,424 posts
  • Gender:Male
  • Location:UK
  • Applications of choice:Photoshop :)

Posted 15 June 2009 - 06:00 PM

:thanks: Rob!
You are full of great knowledge, thanks for sharing it :thumbsup:

#6 Danut

Danut

    Founding Super Mod

  • Nokia Themer
  • 1,998 posts
  • Gender:Male
  • Location:Romania

Posted 15 June 2009 - 07:38 PM

Added to the How To Make Elements For Themes And Not Only tutorial list

#7 Guest_dhanusaud_*

Guest_dhanusaud_*
  • Guests

Posted 16 June 2009 - 07:28 AM

Good job ROB, awesome tutorial :(

#8 DustyJaneway

DustyJaneway

    Wannabe Master Theme Creator

  • Theme Maker
  • 567 posts
  • Gender:Female
  • Location:UK

Posted 16 June 2009 - 09:15 PM

Absolutely brilliant tutorial, very helpful indeed! :yes: I can't wait to give this a go :o Thanks, Rob B)

#9 dsaBlue

dsaBlue

    Member

  • Member
  • 53 posts
  • Gender:Male

Posted 16 November 2009 - 04:02 PM

Awesome job Rob!
I never seem to get my live trace right.. hopefully this will help.
Maybe its cause I always try to trace really complicated stuff :)

#10 primavera77

primavera77

    Member

  • Theme Maker
  • 19 posts
  • Gender:Female
  • Location:Italy

Posted 31 March 2010 - 06:10 PM

thanxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

#11 xprobert

xprobert

    Member

  • Nokia Themer
  • 241 posts
  • Gender:Male
  • Location:Philippines

Posted 27 July 2011 - 12:07 PM

very helpful thanks a lot!

#12 sagar12345

sagar12345

    Member

  • Member
  • 364 posts
  • Gender:Male
  • Location:mumbai , india
  • Applications of choice:carbide ui , audacity , adobe ps , Inkscape much more !

Posted 26 December 2011 - 07:25 AM

:tehk-rockin: thanks rob :mellow:




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users