Search found 7 matches

by bpopovic
2011-05-25T16:16:05-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Re: Imagemagick and converting to monochrome bitmaps

With your help to pointing me to the right direction and a bit of doc browsing, I found the solution: convert folder1.xpm -background white -alpha Background folder1.xbm that is NOT the right solution. That only sets the color of fully-transparent pixels (it does not make them visible either). Its ...
by bpopovic
2011-03-23T21:17:16-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Re: Imagemagick and converting to monochrome bitmaps

And this does the job for creating masks:

Code: Select all

convert -alpha extract -negate image.xpm image_mask.xbm
by bpopovic
2011-03-23T20:17:25-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Re: Imagemagick and converting to monochrome bitmaps

With your help to pointing me to the right direction and a bit of doc browsing, I found the solution:

Code: Select all

convert folder1.xpm -background white -alpha Background folder1.xbm
This does the job.

Thank you for the help fmw42. :wink:
by bpopovic
2011-03-23T20:06:27-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Re: Imagemagick and converting to monochrome bitmaps

Maybie it would help to post the output of identify on folder1.xpm Image: folder1.xpm Format: XPM (X Windows system pixmap (color)) Class: DirectClass Geometry: 32x32+0+0 Resolution: 72x72 Print size: 0.444444x0.444444 Units: Undefined Type: Bilevel Base type: Bilevel Endianess: Undefined Colorspace ...
by bpopovic
2011-03-23T19:57:18-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Re: Imagemagick and converting to monochrome bitmaps

Thank you. That partially solved the problem. I replaced the alpha color with white in an image editor and it worked. Is there a way to do this automatically with IM (convert alpha to white)? Or I should do that (as a pre-step) with original images before converting to monochrome?
by bpopovic
2011-03-23T19:06:48-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Re: Imagemagick and converting to monochrome bitmaps

The original images: http://www.bojanpopovic.com/downloads/arch_old-48x48.png http://www.bojanpopovic.com/downloads/folder1.xpm First picture is a traditional Arch Linux logo taken as an example of colour to mono conversion. The second picture is from my icon set inspired by monochrome Mac Classic ...
by bpopovic
2011-03-23T18:11:28-07:00
Forum: Users
Topic: Imagemagick and converting to monochrome bitmaps
Replies: 10
Views: 23497

Imagemagick and converting to monochrome bitmaps

Before I get to the problem, i would first like to say hello as I just registered and am posting my first thread. :) Ok. Now to the ugly stuff. I'm running ImageMagick 6.6.8-5 Q16 on Arch Linux 64-bit. I can't get any decent pics by using convert to convert colored or grayscale images to xbm or ...