Search found 45 matches

by eleison
2015-02-16T06:59:48-07:00
Forum: Users
Topic: Problem with installing Inkscape with latest Imagemagick version, Centos.
Replies: 0
Views: 3822

Problem with installing Inkscape with latest Imagemagick version, Centos.

I use Imagemagick to convert images from SVG to PNG. The problem is that the RSVG is not rendering the SVG good enough. I tried using Inkscape and get required results. The problem is though when I try to install Inkscape on my server with ImageMagick 6.9.0-4 Q16 x86_64 already installed i get this ...
by eleison
2015-02-15T08:40:02-07:00
Forum: Users
Topic: Put objects in straight line, with speed.
Replies: 10
Views: 6136

Re: Put objects in straight line, with speed.

Thanks! :)
by eleison
2015-02-15T08:21:28-07:00
Forum: Users
Topic: SVG to PNG text-anchor:middle bug.
Replies: 0
Views: 4348

SVG to PNG text-anchor:middle bug.

I just found out that my svg to png conversions with Imagemagick doesn't display text correct. ImageMagick 6.9.0-4 Q16 x86_64 2015-01-23 CentOS release 6.6 (Final) convert -list delegate | grep svg cdr => "uniconvertor" "%i" "%o.svg"; mv "%o.svg" "%o" cgm => "uniconvertor" "%i" "%o.svg"; mv "%o.svg"...
by eleison
2015-02-12T15:08:47-07:00
Forum: Users
Topic: Put objects in straight line, with speed.
Replies: 10
Views: 6136

Re: Put objects in straight line, with speed.

Thanks, hum, I tried change results to the filename in my first try, but must have missed something else. Now it works, but they're not ending up as my result image at horizontal baseline. convert box_line_test_nr.jpg \( -clone 0 -crop 33x41+44+286 +repage \) \( -clone 0 -crop 22x35+115+263 +repage ...
by eleison
2015-02-12T14:25:34-07:00
Forum: Users
Topic: Put objects in straight line, with speed.
Replies: 10
Views: 6136

Re: Put objects in straight line, with speed.

Btw, can I copy and paste this code without it breaking through SSH?
by eleison
2015-02-12T14:24:26-07:00
Forum: Users
Topic: Put objects in straight line, with speed.
Replies: 10
Views: 6136

Re: Put objects in straight line, with speed.

convert box_line_test_nr.jpg \ \( -clone 0 -crop 33x41+44+286 +repage \) \ \( -clone 0 -crop 22x35+115+263 +repage \) \ \( -clone 0 -crop 30x31+179+245 +repage \) \ \( -clone 0 -crop 31x34+254+238 +repage \) \ \( -clone 0 -crop 29x30+315+229 +repage \) \ \( -clone 0 -crop 33x32+383+257 +repage \) \ ...
by eleison
2015-02-12T12:35:54-07:00
Forum: Users
Topic: Put objects in straight line, with speed.
Replies: 10
Views: 6136

Re: Put objects in straight line, with speed.

Thanks for the reply! I can see wich one is first by looking at the X-axis cordinates. I'm in a hurry right know, but will take a look at the links you posted.

Is it possible to move objects within an image without saving as new files?
by eleison
2015-02-12T09:45:39-07:00
Forum: Users
Topic: Put objects in straight line, with speed.
Replies: 10
Views: 6136

Put objects in straight line, with speed.

Objects (id: bounding-box centroid area mean-color): I have this image: http://s10.postimg.org/nuyzzydc9/box_line_test_nr.jpg And I want this result, put all squares in a straight line with increasing numbers. http://s13.postimg.org/otme3s77b/box_line_test_result.jpg Using connected components funct...
by eleison
2015-02-08T16:48:13-07:00
Forum: Users
Topic: Using connectec components
Replies: 10
Views: 7230

Re: Using connectec components

Ok, got it to work.

Code: Select all

convert test.jpg -threshold 50% -define connected-components:area-threshold=5510 -define connected-components:verbose=true  -connected-components 4 -auto-level testout.jpg
by eleison
2015-02-08T16:42:31-07:00
Forum: Users
Topic: Using connectec components
Replies: 10
Views: 7230

Re: Using connectec components

If I want to only get the larger blobs in this image, how do I use this:

Code: Select all

convert objects.gif -define connected-components:area-threshold=410 -connected-components 4 \
  -auto-level objects.jpg
? Can't get it to work on my test image...
by eleison
2015-02-08T16:26:01-07:00
Forum: Users
Topic: Using connectec components
Replies: 10
Views: 7230

Re: Using connectec components

Thanks, I tried using -monochrome. But -threshold 50% works much better, monochrome made some noise... Thanks for great support :)
by eleison
2015-02-08T15:42:26-07:00
Forum: Users
Topic: Using connectec components
Replies: 10
Views: 7230

Using connectec components

I found out the new function connected components for imagemagick http://www.imagemagick.org/script/connected-components.php I tried using it on this image: http://s14.postimg.org/tsqpz53a9/test.jpg I want to extract all the "blobs" from the image into separate images. I tried this: convert test.jpg...
by eleison
2014-12-17T08:51:27-07:00
Forum: Users
Topic: Divide_vert script help
Replies: 3
Views: 4156

Re: Divide_vert script help

I found the answer on my first question:
I changed line 166:
From
convert $tmpdir/original.mpc -crop 0x$h+0+$top +repage $file
to
convert image.jpg -crop 0x$h+0+$top +repage $file

Which works for me...

So know I'm interested to get this to work on the vert_bg version!?
by eleison
2014-12-17T08:27:58-07:00
Forum: Users
Topic: Divide_vert script help
Replies: 3
Views: 4156

Re: Divide_vert script help

Can't get the divide_vert_bg to work.

This is what i'm using:

Code: Select all

divide_vert_bg.sh -i -b white blur.jpg result.jpg
It outputs a result.jpg but still with white space...
by eleison
2014-12-17T08:17:15-07:00
Forum: Users
Topic: Divide_vert script help
Replies: 3
Views: 4156

Re: Divide_vert script help

I found this: http://www.imagemagick.org/Usage/scripts/divide_vert_bg And it seems better fit for my purpose. In one of the comments within the script it says: # ---------------------------------------------------------------------- # The problem is we need to know the height of the image to scale i...