Search found 121 matches

by manit
2019-07-02T04:52:22-07:00
Forum: Users
Topic: want to label parts of an image
Replies: 1
Views: 446

want to label parts of an image

hi, I am using $ display --version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangoc...
by manit
2019-06-24T21:52:59-07:00
Forum: Users
Topic: [SOLVED] append colored text to an image
Replies: 4
Views: 1355

Re: append colored text to an image

That can be done using -border and -bordercolor option .
This thread is solved .
by manit
2019-06-24T20:33:51-07:00
Forum: Users
Topic: [SOLVED] drawing line using relative coordinate like 'bottom left'
Replies: 6
Views: 1348

Re: drawing line using relative coordinate like 'bottom left'

This adds bottom border so that vertical line touches it
convert dwas.png -fill none -strokewidth 2 -stroke red -draw "circle 110,105 110,115 line 110,105 110,10000" -gravity south -background red -splice 0x2 \( -background white -pointsize 24 label:"text" -gravity south \) -append what.png
by manit
2019-06-24T16:11:32-07:00
Forum: Users
Topic: [SOLVED] append colored text to an image
Replies: 4
Views: 1355

Re: append colored text to an image

Geemack,
That works for me .
Can you enclose that text in rectangle before addition so that I have separated rows at bottom of image .
Actually I am pointing a straight line to bottom of image .
by manit
2019-06-24T16:04:13-07:00
Forum: Users
Topic: [SOLVED] drawing line using relative coordinate like 'bottom left'
Replies: 6
Views: 1348

Re: drawing line using relative coordinate like 'bottom left'

That draws a vertical line.
Combining both was a good idea too.
Now, if somehow I could get text enclosed in rectangle while adding to image then it will be clear that which vertical line is meant for which text .
by manit
2019-06-24T15:55:21-07:00
Forum: Users
Topic: [SOLVED] drawing line using relative coordinate like 'bottom left'
Replies: 6
Views: 1348

Re: drawing line using relative coordinate like 'bottom left'

I am using $ convert --version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo...
by manit
2019-06-24T04:12:00-07:00
Forum: Users
Topic: [SOLVED] drawing line using relative coordinate like 'bottom left'
Replies: 6
Views: 1348

[SOLVED] drawing line using relative coordinate like 'bottom left'

hi, I am writing a script that takes a x,y coordinate from a text file then draws a circle around that position. It also picks up label from the same text file for that x,y coordinate and appends it at the bottom of image. Now, I want to draw a line from that x,y position to bottom of image. My prob...
by manit
2019-06-23T22:49:14-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 3969

Re: how to specify diffferent color in a loop in script

yeah.
that works.
I got an image with 1 pixel colors stacked horizontally .
Thanks snibgo .
by manit
2019-06-14T00:51:44-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 3969

Re: how to specify diffferent color in a loop in script

I am using imagemagick on 64bit ubuntu OS $ convert -version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lq...
by manit
2019-06-09T09:45:38-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 3969

Re: how to specify diffferent color in a loop in script

(Is there some way to tell im to consider origin at bottom left ?) Not that I am aware. But you can flip the image vertically, then process, then flip vertically again. ok . That can work . But main question remains that changing hue value results in similiar colors when saturation and brightness a...
by manit
2019-06-08T19:37:59-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 3969

Re: how to specify diffferent color in a loop in script

hi, here is my python script import cv2 import numpy as np import sys import os import subprocess src_img = cv2.imread(sys.argv[1]) height,width,channel=src_img.shape file_name_without_ext=sys.argv[1].split('/')[-1].replace('.png','') xyt_file=sys.argv[2] cat_xyt_wc = 'cat '+xyt_file+' | wc -l' line...
by manit
2019-06-08T19:06:07-07:00
Forum: Users
Topic: [SOLVED] append colored text to an image
Replies: 4
Views: 1355

[SOLVED] append colored text to an image

hi, I am using $ display --version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangoc...
by manit
2019-05-11T00:48:39-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 3969

Re: how to specify diffferent color in a loop in script

sorry , wasn't online for long time.
I will try different values of h .
Then I will show the script , it draws circles after getting location from text file.
by manit
2019-04-21T07:18:45-07:00
Forum: Users
Topic: how to specify diffferent color in a loop in script
Replies: 10
Views: 3969

how to specify diffferent color in a loop in script

Hi , I am using imagemagick on 64bit ubuntu OS $ convert -version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lc...
by manit
2019-04-21T01:05:53-07:00
Forum: Users
Topic: trying to write a colored number inside a circle
Replies: 2
Views: 1829

Re: trying to write a colored number inside a circle

I tried

-stroke blue -strokewidth 1 before label then it worked.

This thread is solved.