Search found 6 matches

by bodomalo
2020-02-05T08:48:32-07:00
Forum: Users
Topic: Replace ALL colors except black-grey scales with white
Replies: 3
Views: 2062

Re: Replace ALL colors except black-grey scales with white

magick in.png \( +clone -colorspace HSL -channel 1 -separate -threshold 0 \) -compose Lighten -composite out.png

that worked...looks great, thank you
by bodomalo
2020-02-05T08:43:36-07:00
Forum: Users
Topic: Replace ALL colors except black-grey scales with white
Replies: 3
Views: 2062

Re: Replace ALL colors except black-grey scales with white

snibgo wrote:
2020-01-09T09:24:02-07:00

Code: Select all

magick in.png ( +clone -colorspace HSL -channel 1 -separate -threshold 0 ) -compose Lighten -composite out.png
It says syntax error, did not expect a ( sign on that place.....
by bodomalo
2020-01-09T07:22:05-07:00
Forum: Users
Topic: Replace ALL colors except black-grey scales with white
Replies: 3
Views: 2062

Replace ALL colors except black-grey scales with white

Hello I know that it is possible to replace a specific color (like RED) and similar colors (fuzzy:30%) with another color. convert thing.jpg -fuzz 15% -fill white -opaque "rgb(143,141,250)" -opaque "rgb(216,217,62)" result.png But: What I would like to have as a result is, that ALL colors beside bla...
by bodomalo
2019-11-26T11:45:53-07:00
Forum: Users
Topic: ImageMagick - replace all colors with white
Replies: 3
Views: 2718

Re: ImageMagick - replace all colors with white

Plattform is ubuntu 15 , server installation
version is 7.0.2-9 Q16

A mask is made in two steps? And then?
can you show me a convert example?
by bodomalo
2019-11-24T10:28:54-07:00
Forum: Users
Topic: ImageMagick - replace all colors with white
Replies: 3
Views: 2718

ImageMagick - replace all colors with white

Hi I need help with a CONVERT command I would like to do the following: Remove all images from a text-preview image (created from PDF) My only idea so far is: "I remove all colors and replace them with white" (I know, this will keep black and white images...but those are rare) = convert balloon.gif ...
by bodomalo
2016-08-15T10:43:49-07:00
Forum: Users
Topic: NEWBIE: ImageMagick on vServer - too slow - How to install Single core Version?
Replies: 1
Views: 1091

NEWBIE: ImageMagick on vServer - too slow - How to install Single core Version?

Hello I am new to the Ubuntu and Linux world, so it is extreme hard for me to come along with all those commands. But I need help. I use ImageMagick via PHP scripts. $image = new->Imagick(); Saving an jpg from PDF file takes 30-60 seconds on my Virtual Server. Crazy. phpinfo() shows me I am using im...