Snibgo, thanks for the idea! Looks like I can do a workaround where the sed output gets sent to a text file, which is then read by convert. Not the most elegant solution but it will hold me over until I succeed in building imagemagick myself.
Thanks everyone!
Edit: I built ImageMagick from source ...
Search found 6 matches
- 2018-02-12T17:36:27-07:00
- Forum: Users
- Topic: Color flatting with ImageMagick
- Replies: 12
- Views: 6248
- 2018-02-12T16:35:45-07:00
- Forum: Users
- Topic: Color flatting with ImageMagick
- Replies: 12
- Views: 6248
Re: Color flatting with ImageMagick
I'm running Linux Mint 18.3. I checked my policy.xml file and found that the line was not commented out. I corrected it but I'm still getting the same error as before. For me policy.xml was located in /etc/ImageMagick-6. Is it possible that there is another config file somewhere that is overriding ...
- 2018-02-11T18:07:47-07:00
- Forum: Users
- Topic: Color flatting with ImageMagick
- Replies: 12
- Views: 6248
Re: Color flatting with ImageMagick
That is exactly the result I am looking for, but so far I've been unable to reproduce your procedure. I tried copy-pasting it straight into a shell script, and entering it manually, but both had the same resulting error message:
john@strangelove ~/flood-fill $ convert panel_isolated_colors.png ...
john@strangelove ~/flood-fill $ convert panel_isolated_colors.png ...
- 2018-02-11T14:43:07-07:00
- Forum: Users
- Topic: Color flatting with ImageMagick
- Replies: 12
- Views: 6248
Re: Color flatting with ImageMagick
You are correct. Here it is: https://i.imgur.com/rgCA59X.png
- 2018-02-11T12:46:09-07:00
- Forum: Users
- Topic: Color flatting with ImageMagick
- Replies: 12
- Views: 6248
Re: Color flatting with ImageMagick
Sorry about that. IM version: 6.8.9-9
The entire source image can be obtained here: https://ibb.co/hpHmJ7
I did convert the white pixels to transparent before running sparse-color. (I altered my Python script to output transparency instead of white.)
Following the directions in the documentation ...
The entire source image can be obtained here: https://ibb.co/hpHmJ7
I did convert the white pixels to transparent before running sparse-color. (I altered my Python script to output transparency instead of white.)
Following the directions in the documentation ...
- 2018-02-11T12:24:15-07:00
- Forum: Users
- Topic: Color flatting with ImageMagick
- Replies: 12
- Views: 6248
Color flatting with ImageMagick
Hello everyone,
I'm trying to come up with an automated way to fill in shapes with randomized colors. The goal is to take a bitmap line drawing and fill in all the white areas with color, so that I can later go in with a paint program and easily drop the appropriate colors in with the paint bucket ...
I'm trying to come up with an automated way to fill in shapes with randomized colors. The goal is to take a bitmap line drawing and fill in all the white areas with color, so that I can later go in with a paint program and easily drop the appropriate colors in with the paint bucket ...