What I get is an outline of the logo and I need a solid like the original.
I then want to input this file to Potrace to get a SVG file, again with the logo a solid color.
What am I doing wrong, or how do I get what I need?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks for writing. Mkbitmap is for turning grayscale images into black and white, and it does things like smooth backgrounds and thresholding. Since your image is already black and white, you shouldn't use mkbitmap on it.
Instead, just use Potrace directly on your image. For example:
potrace -b svg imperial.bmp
I hope this helps, -- Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am having a problem, or dont understand the app.
I have a BMP file which is a simple 2 (black & white) color logo where logo is a solid color.
I want to convert it to pgm file to input to potrace. when I enter
mkbitmap -f 2 -s 2 -t 0.48 imperial.bmp >imperial.pgm
What I get is an outline of the logo and I need a solid like the original.
I then want to input this file to Potrace to get a SVG file, again with the logo a solid color.
What am I doing wrong, or how do I get what I need?
Hi Bob,
thanks for writing. Mkbitmap is for turning grayscale images into black and white, and it does things like smooth backgrounds and thresholding. Since your image is already black and white, you shouldn't use mkbitmap on it.
Instead, just use Potrace directly on your image. For example:
potrace -b svg imperial.bmp
I hope this helps, -- Peter