Search found 8 matches

by batjka911
2019-02-10T17:38:03-07:00
Forum: Users
Topic: [SOLVED]:Is it possible to replace all colors at once?
Replies: 2
Views: 2680

Re: Is it possible to replace all colors at once?

You can use this general pattern: magick \ in.png \ -fill "#012345" -opaque "#234567" \ -fill "#543210" -opaque "#654321" \ out.png This replaces all pixels of "#234567" with "#012345", and so on. Never use JPG for this type of work unless you really have to, because JPG is lossy, and "solid ...
by batjka911
2019-02-10T16:53:07-07:00
Forum: Users
Topic: [SOLVED]:Is it possible to replace all colors at once?
Replies: 2
Views: 2680

[SOLVED]:Is it possible to replace all colors at once?

I'm use Linux. magick -version Version: ImageMagick 7.0.8-26 Q16 x86_64 2019-02-05 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenCL OpenMP Delegates (built-in): bzlib cairo fontconfig ...
by batjka911
2019-02-04T22:26:51-07:00
Forum: Users
Topic: Change label in png file.
Replies: 6
Views: 4850

Re: Change label in png file.

if my code does not work. Your code works great. The question was from the desire to quickly use the logo template with my text. But I realized that it was better to do it from scratch for more control.As they say at us:"Quickly even cats are not born". Excellent as always. Thanks a lot.
by batjka911
2019-02-04T20:24:20-07:00
Forum: Users
Topic: Change label in png file.
Replies: 6
Views: 4850

Re: Change label in png file.

I think the OP doesn't want to change the image, but just the metadata property "label", like this: magick in.png -set label batjka911 out.png It works to change metadata property "label", but I needed to change the label content. You can do that as follows, but you need to know the font that was ...
by batjka911
2019-02-04T17:38:47-07:00
Forum: Users
Topic: Change label in png file.
Replies: 6
Views: 4850

Change label in png file.

I'm use Linux. magick -version Version: ImageMagick 7.0.8-25 Q16 x86_64 2019-01-28 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenCL OpenMP Delegates (built-in): bzlib cairo fontconfig ...
by batjka911
2019-02-04T01:35:42-07:00
Forum: Users
Topic: Problem with distort the line in different areas
Replies: 4
Views: 5199

Re: Problem with distort the line in different areas

To crop an region, do some operations on it, then composite it back on the original as fmw42 suggested can be pretty simple. This command... magick lines.jpg \( +clone -crop 90x70+10+0 -swirl 400 \) -flatten reg_lines.jpg ... does exactly that. Inside the parentheses it clones the input image ...
by batjka911
2019-02-03T14:28:13-07:00
Forum: Users
Topic: Problem with distort the line in different areas
Replies: 4
Views: 5199

Re: Problem with distort the line in different areas

Thanks for the quick response So another solution would be to crop the region, do the swirl, then composite the processed image back. and practical advice. I am not a Linux guru to integrate two versions IM on one computer. Therefore, I will try to use KNOPPIX for various experiments. True in DEBIAN ...
by batjka911
2019-02-03T13:24:04-07:00
Forum: Users
Topic: Problem with distort the line in different areas
Replies: 4
Views: 5199

Problem with distort the line in different areas

I'm use Linux. magick -version Version: ImageMagick 7.0.8-25 Q16 x86_64 2019-01-28 https://imagemagick.org Copyright: © 1999-2019 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenCL OpenMP Delegates (built-in): bzlib cairo fontconfig ...