Search found 62 matches

by rpatelob
2017-11-16T03:46:46-07:00
Forum: Users
Topic: ImageMagick 7 installation error
Replies: 0
Views: 4324

ImageMagick 7 installation error

Trying to install imagemagick and I got an error. ImageMagick Version: 7.0.6-0. /usr/bin/ld: /usr/local/lib/libjbig.a(jbig.o): relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libjbig.a: error adding symbols: Bad value collect2:...
by rpatelob
2017-06-20T23:25:01-07:00
Forum: MagickWand
Topic: memory leak
Replies: 7
Views: 9352

Re: memory leak

You are seeing overhead associated with setting up the OpenMP parallel environment. We can't control that, its part of the libgomp library, not ImageMagick. Or perhaps libgomp has a destructor we can call, but we are not aware of an destructor API call. You can build ImageMagick without OpenMP enab...
by rpatelob
2017-06-20T04:53:18-07:00
Forum: MagickWand
Topic: memory leak
Replies: 7
Views: 9352

Re: memory leak

Oh thanks! int main(int argc, char const *argv[]) { MagickWand * wand0; MagickWandGenesis(); wand0 = NewMagickWand(); MagickReadImage(wand0, "logo:"); MagickTransformImageColorspace(wand0, GRAYColorspace); MagickShadeImage(wand0, MagickTrue, 125.0, 130.0); MagickWriteImage(wand0, "output.gif"); wand...
by rpatelob
2017-06-19T21:59:18-07:00
Forum: MagickWand
Topic: memory leak
Replies: 7
Views: 9352

Re: memory leak

Thanks @magick, In my system it shows error, is it because of IM version? It sows weird error. I couldn't able to understood it. Please look at the below output of valgrind. ==5701== Memcheck, a memory error detector ==5701== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==5701== U...
by rpatelob
2017-06-19T06:48:40-07:00
Forum: MagickWand
Topic: memory leak
Replies: 7
Views: 9352

memory leak

Version: ImageMagick 7.0.6-0 Q16 x86_64 2017-06-14 http://www.imagemagick.org Copyright: © 1999-2017 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Features: Cipher DPC HDRI OpenMP Delegates (built-in): bzlib djvu fontconfig freetype gvc jbig jng jpeg lcms lqr lzma op...
by rpatelob
2017-06-12T05:51:03-07:00
Forum: Users
Topic: What hardware works best?
Replies: 4
Views: 2229

Re: What hardware works best?

@snigbo, you are right. I tested with higher resolution image and IM used 70% to 80% of RAM.

It works fine with smaller images.
by rpatelob
2017-06-12T03:08:03-07:00
Forum: Users
Topic: What hardware works best?
Replies: 4
Views: 2229

Re: What hardware works best?

@snibgo, could you give a recommendation about hardware? As I have a similar configuration except RAM. I've only 512 MB RAM. I'm using wand C API. I have tested just with normal resize operation on image. And when I perform multiple HTTP request continuously, my CPU usage goes to 100% and if I fired...
by rpatelob
2017-06-11T22:47:29-07:00
Forum: MagickWand
Topic: Performance Improvement
Replies: 1
Views: 5302

Performance Improvement

I have been writing few custom image effects using MagickWand C, and later on use that effects. Some effects are slow as they contains so many operations. I have written Clone and Destroy wands on many places so I guess it might affect on speed. There is a memory pool but I think it might be very di...
by rpatelob
2017-06-01T21:51:04-07:00
Forum: Bugs
Topic: Change image color
Replies: 6
Views: 3782

Re: Change image color

Thank you for consider it.
by rpatelob
2017-06-01T03:47:03-07:00
Forum: MagickWand
Topic: Help me to find high saturation and brightness colors.
Replies: 18
Views: 17866

Re: Help me to find high saturation and brightness colors.

I checked the output. It gives me the perfect output. Could you notice, there is a HDRI in features. So as @snibgo said, I think the HDRI might causes the differences. And I have installed ImageMagick from source for Linux. Version: ImageMagick 7.0.5-9 Q16 x86_64 2017-06-01 http://www.imagemagick.or...
by rpatelob
2017-06-01T03:36:58-07:00
Forum: Bugs
Topic: Change image color
Replies: 6
Views: 3782

Change image color

Is this a bug? I'm trying to change colour of an image. All colours should be changed except transparent. Please look at the command. convert single_color.png -fuzz 20% -fill red +opaque "#00000000" output.png #or convert single_color.png -fuzz 20% -fill red +opaque transparent output.png It was wor...
by rpatelob
2017-05-28T22:38:42-07:00
Forum: Users
Topic: Help me to understand below CLI
Replies: 3
Views: 2342

Re: Help me to understand below CLI

Thank you @snibgo, I understood. I was saving image as jpeg using first CLI so it would remove transparency.
by rpatelob
2017-05-26T02:19:10-07:00
Forum: Users
Topic: Help me to understand below CLI
Replies: 3
Views: 2342

Help me to understand below CLI

convert one.jpg two.jpg -compose over \ -alpha off -compose copy_opacity -composite three.jpg \ +swap +repage -gravity center -compose over -composite output.jpg I'm trying to convert above CLI into C. But I don't understand the meaning of it. Can anyone please explain about it? This is what I unde...
by rpatelob
2017-05-25T07:37:54-07:00
Forum: MagickWand
Topic: Level Adjustments on Image
Replies: 2
Views: 5327

Re: Level Adjustments on Image

Thanks a lot @snibgo, it's working
by rpatelob
2017-05-25T07:36:30-07:00
Forum: MagickWand
Topic: Help me to find high saturation and brightness colors.
Replies: 18
Views: 17866

Re: Help me to find high saturation and brightness colors.

Check below code, you will get the sparse colours from it. This is the first part, double sparse_args hold all sparse colours, now you just need to pass sparse_args to second part. Check my previous post for second part. Let me know if you still not get the expected output. MagickWand * wand, * wand...