Search found 8 matches

by kayaklee
2016-01-29T01:35:16-07:00
Forum: Bugs
Topic: Crash will MagickGetImageBlob after resize psd file
Replies: 2
Views: 3147

Crash will MagickGetImageBlob after resize psd file

version: 6.9.2-9 I have a server to handle image, wrote by golang, it will always crash, will invoke MagickGetImageBlob after resize a psd image. the image is http://msstestdn.sankuai.com/v1/mss_mt_tenant_msstester123/image/1.psd *** glibc detected *** /opt/mos/workspace/imageserver/imageserver ...
by kayaklee
2016-01-18T21:20:33-07:00
Forum: Developers
Topic: Is there C-API to load psd buffer specify layer
Replies: 2
Views: 4809

Re: Is there C-API to load psd buffer specify layer

Thanks!

But it does not solve my problem. You must get a wand initialized from the buffer.

I have a buffer read from psd file, it is too slow and allocate too much memory while initializing wand from the whole buffer.

So I want to initialize wand from 0-layer of the buffer.
by kayaklee
2016-01-13T23:33:54-07:00
Forum: Developers
Topic: Is there C-API to load psd buffer specify layer
Replies: 2
Views: 4809

Is there C-API to load psd buffer specify layer

I got image through network as a buffer.

I want load the buffer and specify the zero layer,but I have not found the C-API

So I have to write the buffer to local file,and load it from the filename like "lena.jpg[0]"

Is there C-API to load psd buffer specify layer, if not could you add one?
by kayaklee
2015-12-18T17:55:02-07:00
Forum: Bugs
Topic: Memory Leak while handle psd file
Replies: 9
Views: 13673

Re: Memory Leak while handle psd file

Yes, it works

Thanks!
by kayaklee
2015-12-17T07:25:37-07:00
Forum: Bugs
Topic: Memory Leak while handle psd file
Replies: 9
Views: 13673

Re: Memory Leak while handle psd file

Sorry, memory still leak
by kayaklee
2015-12-16T20:37:10-07:00
Forum: Bugs
Topic: Memory Leak while handle psd file
Replies: 9
Views: 13673

Re: Memory Leak while handle psd file

I patch the commit https://github.com/ImageMagick/ImageMag ... b5cd3526b6 to 6.9.2-8 source code and rebuild it.

but it seems that memory leak has not been fixed.
by kayaklee
2015-12-16T02:03:12-07:00
Forum: Bugs
Topic: Memory Leak while handle psd file
Replies: 9
Views: 13673

Re: Memory Leak while handle psd file

Thanks You can run the test code below, command is "./readpsd 1.psd 1000",it's mean load the psd file 1000 times The memory used of the process grow more and more,the screanshot is: http://share-495949.mtmssdn.com/memoryleak.png The fail info is "WARNING_TYPE: CompressionNotSupported '64768' @ ...
by kayaklee
2015-12-07T17:54:17-07:00
Forum: Bugs
Topic: Memory Leak while handle psd file
Replies: 9
Views: 13673

Memory Leak while handle psd file

Hello I'm using imagemagick in golang (https://github.com/gographics/imagick) to transfer image format,It seem that there is severe memory leak while handling big psd file (over 30MB)。 I have used go tool pprof to check,and found that golang does not use too much memory,so I doubt that imagemagick le ...