Search found 22 matches

by ooker
2014-09-04T02:06:22-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

Stupid me. Thank you so much :D
by ooker
2014-09-03T14:51:10-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

Thanks. When I try your code, it runs well. However when I try to make an output as a variable: infile="overlay.png" outfile="overlay_cleaned.png" width=3 w2=`convert $infile -format "%[fx:w-2]" info:` h2=`convert $infile -format "%[fx:h-2]" info:` convert $in...
by ooker
2014-09-03T14:44:10-07:00
Forum: Users
Topic: How to convert an image with one kind of stroke to another?
Replies: 8
Views: 2415

Re: How to convert an image with one kind of stroke to anoth

Doesn't Imagemagick support that?
by ooker
2014-09-03T11:42:15-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

This one is cleaner. Thank you so much :D

Can I adjust the width of the line in pixel?
by ooker
2014-09-03T11:37:48-07:00
Forum: Users
Topic: How to convert an image with one kind of stroke to another?
Replies: 8
Views: 2415

Re: How to convert an image with one kind of stroke to anoth

Let's say that I have a vector image. What should I do?
by ooker
2014-09-02T10:41:10-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

I have tried to do that myself, and haven't succeeded. I ask you in a seperate thread viewtopic.php?f=1&t=26191&p=114987#p114987 and you say there is no way. So can you help me again? Thank you.
by ooker
2014-09-02T10:36:41-07:00
Forum: Users
Topic: How to convert an image with one kind of stroke to another?
Replies: 8
Views: 2415

Re: How to convert an image with one kind of stroke to anoth

Sorry for my bad English. I have checked the dictionary again and edit the post to make it clearer. Hopefully this time you won't be confused.

The blue line isn't in my image, maybe it's from the forum or the image host. I don't know.

So I can't do that, is that right?
by ooker
2014-09-02T09:23:32-07:00
Forum: Users
Topic: How to convert an image with one kind of stroke to another?
Replies: 8
Views: 2415

How to convert an image with one kind of stroke to another?

I have an image like this: http://www.upsieutoc.com/images/2014/09/02/overlay.md.png I want to convert it to dash line only. I have tried convert input.png -draw "stroke-dasharray 10 3 3 3" output.png or convert input.png -draw "stroke-dasharray 10 3 3 3 path 'M 10,40 L 90,40'" o...
by ooker
2014-08-18T12:02:27-07:00
Forum: Users
Topic: Is there a way to modify the current caption?
Replies: 3
Views: 1316

Re: Is there a way to modify the current caption?

Although it's still an indirect solution, your command is more intuitive. Thank you.
by ooker
2014-08-18T10:46:46-07:00
Forum: Users
Topic: Is there a way to modify the current caption?
Replies: 3
Views: 1316

Is there a way to modify the current caption?

Say I have a picture with caption "A", I want to change it to "A and B" without knowing A? The only way I know so far is

Code: Select all

old_caption=`identify -verbose file |grep caption|cut -c 14-`
then edit the old caption. Is there any better solution?
by ooker
2014-07-29T11:05:17-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

Sorry for making you confused. I'll try to explain better. These are three images of the output when the argument of octagon is 1, 3 and 5: http://upanh.biz/images/2014/07/30/1.png http://upanh.biz/images/2014/07/30/3.png http://upanh.biz/images/2014/07/30/5.png The point is, when you enlarge the bo...
by ooker
2014-07-29T09:27:03-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

If I want to customize the width of the output border in pixel, what should I do? I can change the argument in the octagon kernel, but I would like to control exactly how wide it is. Because this is the border, I would like when it is enlarges, it is aligned it in the middle, not in left or right. h...
by ooker
2014-07-25T10:14:22-07:00
Forum: Users
Topic: How to convert line to line stroke or dotted line?
Replies: 3
Views: 1760

Re: How to convert line to line stroke or dotted line?

so what operation should I use?
by ooker
2014-07-25T07:18:19-07:00
Forum: Users
Topic: How to erase everything inside a border?
Replies: 26
Views: 7250

Re: How to erase everything inside a border?

How can I do this with another color besides red? Say black. At first, I think I can change all the red to black, but the output is all black. However, when I change to other colors like orange, the output is good. I have tried changing some other color in other positions in your code but haven't go...