Search found 17 matches

by zhcn381
2014-01-22T18:43:43-07:00
Forum: Developers
Topic: Question about thread support
Replies: 2
Views: 3502

Re: Question about thread support

thank you magick.
by zhcn381
2014-01-19T23:01:29-07:00
Forum: Developers
Topic: Question about thread support
Replies: 2
Views: 3502

Question about thread support

hi all,

Why process like GetImageEncoder() and GetImageDecoder() need to be mutex protected if no thread_support?
by zhcn381
2013-11-06T23:50:45-07:00
Forum: Users
Topic: question about zooming gif with MagickWand API
Replies: 0
Views: 3717

question about zooming gif with MagickWand API

hi maigck, I have a question about zooming gif with MagickWand API. I have a gif. I want to do resize on its first frame. I want the output is jpeg. So I do these: MagickReadImageBlob() MagickResetIterator() MagickResizeImage() MagickSetImageFormat("jpeg") MagickGetImagesBlob() Then the pr...
by zhcn381
2013-11-06T02:38:26-07:00
Forum: Bugs
Topic: MagickGetColorspace() always return UndefinedColorspace?
Replies: 1
Views: 1873

Re: MagickGetColorspace() always return UndefinedColorspace?

I have noticed that there is another MagickSetImageColorspace/MagickGetImageColorspace which can do this for me. My problem solved. So now my question is this: what's MagickGetColorspace/MagickSetColorspace used for?
by zhcn381
2013-11-06T01:35:26-07:00
Forum: Bugs
Topic: MagickGetColorspace() always return UndefinedColorspace?
Replies: 1
Views: 1873

MagickGetColorspace() always return UndefinedColorspace?

hi magick,

I'm using MagickWand API now. I have checked the code. MagickGetColorspace() will get colorspace from ImageInfo, but after decoding, only Image.colorspace will be set. So Magick::Image::colorSpace() can get the right value but MagickGetColorspace can't. Please help me out. Thx.
by zhcn381
2013-07-01T00:06:10-07:00
Forum: Users
Topic: what are "/tmp/magick-*" files?
Replies: 2
Views: 13772

Re: what are "/tmp/magick-*" files?

thank you snibgo!
by zhcn381
2013-06-27T22:28:20-07:00
Forum: Users
Topic: what are "/tmp/magick-*" files?
Replies: 2
Views: 13772

what are "/tmp/magick-*" files?

hi I found these files in my "/tmp" dir. What are they used for? I'm using Magick++ from ImageMagick-6.8.5-4. -rw------- 1 admin admin 165M Jun 25 12:48 magick-2152jhe_NTn1xZt4 -rw------- 1 admin admin 176M Jun 22 14:41 magick-23251ngwAdvFZTZbO -rw------- 1 admin admin 176M Jun 24 13:09 ma...
by zhcn381
2013-04-25T23:20:55-07:00
Forum: Users
Topic: defineValue not working since 6.8.5
Replies: 2
Views: 2922

defineValue not working since 6.8.5

hi, magick

I noticed that new version IM use GetImageArtifact() instead of GetImageOption() in some place(linke codes/webp.c). But defineValue() in Magick++ still use SetImageOption(). So how to set image option now?
by zhcn381
2013-02-24T22:50:04-07:00
Forum: Bugs
Topic: Magick++-config bug [6.8.3-4]
Replies: 1
Views: 2099

Magick++-config bug [6.8.3-4]

$ ./Magick++-config --ldflags
-L/home/path/to/ImageMagick-6.8.3/lib -lMagick++6-Q16 -lm -lMagickCore-6.Q16

should be -lMagick++-6.Q16 instead of -lMagick++6-Q16?
by zhcn381
2012-10-08T19:01:21-07:00
Forum: Bugs
Topic: memory leak when deal with corrupted png: 6.7.9
Replies: 3
Views: 4934

Re: memory leak when deal with corrupted png: 6.7.9

hi, magick

I'm sorry. It's

Code: Select all

unsigned char  * volatile ping_pixels
not

Code: Select all

unsigned char volatile * ping_pixels
by zhcn381
2012-10-08T06:40:30-07:00
Forum: Bugs
Topic: memory leak when deal with corrupted png: 6.7.9
Replies: 3
Views: 4934

memory leak when deal with corrupted png: 6.7.9

hi, magick I'm working on observing our production system's memory leak problem recently. Unfortunately I found another memory leak in ImageMagick. Although it's not a big deal, I still put it here to let you know. Again, it's a corrupted png. It also exists in early version like 6.2.8. I noticed th...
by zhcn381
2012-09-27T08:09:24-07:00
Forum: Bugs
Topic: another memory leak about reading corrupted pic, 6.7.9
Replies: 4
Views: 6082

Re: another memory leak about reading corrupted pic, 6.7.9

hi magick,

Thx for rapid response. Here is the corrupted jpeg file.

http://uploadingit.com/file/nanr4dqds9t ... edJPEG.jpg
by zhcn381
2012-09-27T03:11:02-07:00
Forum: Bugs
Topic: another memory leak about reading corrupted pic, 6.7.9
Replies: 4
Views: 6082

another memory leak about reading corrupted pic, 6.7.9

hi magick, I noticed that there is another memory leak about freeing the memory allocated by ExceptionInfo. When image->exception is thrown, the following DestroyExceptionInfo will not be executed, thus lead to the leak. I've checked the src code of 6.2.8 and this is right there. Should be you guys'...
by zhcn381
2012-09-25T22:54:42-07:00
Forum: Bugs
Topic: memory leak while encoding webp: 6.7.6 - 6.7.9-7
Replies: 1
Views: 2956

memory leak while encoding webp: 6.7.6 - 6.7.9-7

hi magick, we are using IM6.7.6 in our production system. And we noticed that while doing the encoding of webp there is a memory leak. I've checked the latest version(6.7.9-7) and finding that the problem still exists. Following is the patch, pls check it, thx. Index: coders/webp.c =================...
by zhcn381
2012-07-09T19:26:41-07:00
Forum: Bugs
Topic: [6.7.6]problem about GetImageOption() in ReadJPEGImage?
Replies: 4
Views: 6326

Re: [6.7.6]problem about GetImageOption() in ReadJPEGImage?

Thanks for rapid response. One more questions, how can I find all available options that I can set using the method defineValue. I have a special requirement that need to zoom using the minimal dimension. I had tried "^" in the geometry string but it didn't work. so I turned to using anoth...