Search found 33 matches

by BigNoub
2019-01-17T08:57:18-07:00
Forum: Users
Topic: memory allocation failed
Replies: 2
Views: 4563

Re: memory allocation failed

that was it! Thanks!
by BigNoub
2019-01-17T08:06:51-07:00
Forum: Users
Topic: memory allocation failed
Replies: 2
Views: 4563

memory allocation failed

I'm using this command: !convert input.jpg -scale 50x50! -depth 8 -fuzz 30% -transparent black sparse-color:- | convert -size 50x50 xc: -sparse-color voronoi '@-' +dither -colors 1 -depth 8 -format "%c" histogram:info: it's working fine on my local computer (ubuntu 16.04 with IM 7.0.8 ) bu...
by BigNoub
2019-01-11T04:51:48-07:00
Forum: Users
Topic: Remove colors of an image one by one
Replies: 1
Views: 3040

Remove colors of an image one by one

I'm trying to remove the colors of an image one by one (greys and black included in what I mean by colors), as if I was making layers invisible one by one in Photoshop. I tried to use Fred's scripts dominantcolor and replacecolor in a loop: (original image temp_0.jpg) for i in 0 1 2 3 4 5; do main_c...
by BigNoub
2019-01-07T12:23:37-07:00
Forum: Fred's Scripts
Topic: convert: memory allocation failed SparseColorOption @ error/mogrify.c/SparseColorOption/552.
Replies: 4
Views: 104523

Re: convert: memory allocation failed SparseColorOption @ error/mogrify.c/SparseColorOption/552.

fmw42 wrote: 2019-01-07T12:19:22-07:00 What was your exact command line? (What other arguments did you use?)
just that ./dominantcolor.sh -m 6 file.jpg
by BigNoub
2019-01-07T07:27:08-07:00
Forum: Fred's Scripts
Topic: convert: memory allocation failed SparseColorOption @ error/mogrify.c/SparseColorOption/552.
Replies: 4
Views: 104523

Re: convert: memory allocation failed SparseColorOption @ error/mogrify.c/SparseColorOption/552.

I just tried with the same image resized to a smaller resolution (1000x666) and got the same error message.

I just found out that this problem happens only when I use the -m 5 and -m 6 options of the script. So it might not be a problem with Imagemagick but a problem with the script.
by BigNoub
2019-01-07T05:59:04-07:00
Forum: Users
Topic: Remove squared artefacts after increasing resolution
Replies: 6
Views: 5826

Re: Remove squared artefacts after increasing resolution

Wait the host compressed the previous image. This one should be uncompressed: https://drive.google.com/file/d/19NPu0N ... sp=sharing and you should be able to see the 8x8 artifacts such as the ones in my first post.
by BigNoub
2019-01-07T04:46:05-07:00
Forum: Fred's Scripts
Topic: convert: memory allocation failed SparseColorOption @ error/mogrify.c/SparseColorOption/552.
Replies: 4
Views: 104523

convert: memory allocation failed SparseColorOption @ error/mogrify.c/SparseColorOption/552.

I'm using Imagemagick v 7.0.8-14 on Ubuntu 16.04 I'm using Fred's script dominantcolor to find the dominantcolor in an image. http://www.fmwconcepts.com/imagemagick/dominantcolor/index.php The script works fine on many images, but on some images it sends back the error convert: memory allocation fai...
by BigNoub
2019-01-07T03:58:53-07:00
Forum: Users
Topic: Remove squared artefacts after increasing resolution
Replies: 6
Views: 5826

Re: Remove squared artefacts after increasing resolution

This is the version that is not zoomed in

Image
by BigNoub
2019-01-06T06:57:09-07:00
Forum: Users
Topic: Remove squared artefacts after increasing resolution
Replies: 6
Views: 5826

Re: Remove squared artefacts after increasing resolution

How did you upscale the original image? It's usually better to prevent problems than fixing them after they have occurred. It was with some neural network technique. I don't have much control over this, the not upscaled picture has been lost. You have shown the zoomed-in version, which has blocks o...
by BigNoub
2019-01-06T04:15:51-07:00
Forum: Users
Topic: Remove squared artefacts after increasing resolution
Replies: 6
Views: 5826

Remove squared artefacts after increasing resolution

I'm using Imagemagick 7.0.8-14 on ubuntu 16.04 I have an image that has been upscaled 8 times. As a result, when I zoom in a lot on it, I can see squares of 8x8 pixels, circled here: https://i.imgur.com/ATw6KhP.png Can Imagemagick help me get rid of these? I tried with -kuwahara but I need a high ku...
by BigNoub
2019-01-05T09:52:36-07:00
Forum: Users
Topic: Speed up svg -> jpg conversion
Replies: 6
Views: 7839

Re: Speed up svg -> jpg conversion

OK. I couldn't find easily how to specify the renderer in the doc, do I just need to have inkscape installed and in my path?
by BigNoub
2019-01-04T09:43:16-07:00
Forum: Users
Topic: Speed up svg -> jpg conversion
Replies: 6
Views: 7839

Re: Speed up svg -> jpg conversion

I made a mistake, I run ImageMagick 6.9.7-4 on Ubuntu 18.04. I can't really update as it's not my server. I think I can't run magick -list format with this version? I tried convert -list format but got SVG SVG rw+ Scalable Vector Graphics (XML 2.9.4) I don't think that's what you're looking for? Her...
by BigNoub
2019-01-03T11:55:56-07:00
Forum: Users
Topic: Speed up svg -> jpg conversion
Replies: 6
Views: 7839

Speed up svg -> jpg conversion

I'm using Imagemagick 7.0.8-14 on ubuntu 16.04 I'm trying to convert some fairly big (80Mo) svg files to jpg using a simple convert command. The process takes a couple of hours, is there a way to speed that up? I've tried doing the same thing manually with inkscape, it takes a couple of minutes to l...
by BigNoub
2019-01-02T13:47:07-07:00
Forum: Users
Topic: Approximate a tracing effect to "clean" an image
Replies: 4
Views: 4267

Re: Approximate a tracing effect to "clean" an image

Thanks, kuwahara looks promising!
by BigNoub
2019-01-02T10:29:01-07:00
Forum: Users
Topic: Approximate a tracing effect to "clean" an image
Replies: 4
Views: 4267

Approximate a tracing effect to "clean" an image

I'm using Imagemagick 7.0.8-14 on ubuntu 16.04 I have a jpg that is quite noisy and blurry with lots of shapes and colors: https://i.imgur.com/lW4qs10.jpg I would like to "clean" it, meaning remove the noise in the white areas, make sharper edges, maybe reduce the number of colors in the i...