Problem creating a transparent eps file from a black and whi

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Problem creating a transparent eps file from a black and whi

Post by fmw42 »

Sorry, I have not dealt much with vector processing. Had no idea that one could go from pixel images to vector images without doing image segmentation.

Fred
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problem creating a transparent eps file from a black and whi

Post by anthony »

JPEG is raster, so to create a vector image you need a raster to vector convertor.

Onlt two free ware ones I know of is autotrace (whcih IM can use automatically if installed and you save to SVG. and "PoTrace".

These however work better for greatly simplified images, that have color reductions (like to two colors only) to gnerate basic shapes. Their web pages have more detail.

Some examples of use in IM is
http://www.imagemagick.org/Usage/transform/#edge_vector
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
kanwar_daman

Re: Problem creating a transparent eps file from a black and

Post by kanwar_daman »

Thanks a lot i think PoTrace can just work fine for what I want.

Thanks a lot man.

regards,
Kanwar
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Problem creating a transparent eps file from a black and whi

Post by anthony »

I looks at potrace and autotrace, I opted for autotrace as it seems to produce cleaner output.

the potrace output was scaled and distorted making it harder to use. Mind you I wanted to extract the path and change the resulting SVG so as to convert a filled shape into a outline shape. However if you are happy with potrace, go for it.

Prehaps you like to publish what you are actually doing with it. If you don't want it public, send it to me using the "PM" (private mail) button below.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply