Converting Raster img to Vector img and vice versa

BlitzMax Forums/BlitzMax Programming/Converting Raster img to Vector img and vice versa

Could anyone explain me how to convert a raster image to vector image. I have created a pixmap and saved that pixmap as a png using "grabpixmap()" and "savepixmappng" commands. But i could like to know how can we convert that raster image into vector image and again make it to raster from vector. Any idea appreciated.