: This article describes how to use blurImage to blur images. the error "free: invalidnextsize" is reported. if you are interested in PHP tutorials, refer to this article. $ Image = new Imagick ($ url );
$ Image-> blurImage ($ x, $ y );
An error is returned when the blurImage ($ x, $ y) function is called:
The reason is: the original image is printed in CMYK mode. Changed to RGB display mode !!!!!!!!!!!
* ** Glibc detected **/data/php/bin/php: free (): invalid next size (fast): 0x00007f04340024b0 ***
======= Backtrace: ============
/Lib64/libc. so.6 (+ 0x75e66) [0x7f044ae21e66]
/Lib64/libc. so.6 (+ 0x789b3) [0x7f044ae249b3]
/Usr/local/lib/libMagickCore. so.2 (RelinquishMagickMemory + 0xf) [0x7f044125392f]
/Usr/local/lib/libMagickCore. so.2 (DestroyPixelCacheNexus + 0x71) [0x7f04411c1761]
/Usr/local/lib/libMagickCore. so.2 (GetVirtualPixelsFromNexus + 0x4d9) [0x7f04411c2349]
/Usr/local/lib/libMagickCore. so.2 (GetCacheViewVirtualPixels + 0xba) [0x7f04411c735a]
/Usr/local/lib/libMagickCore. so.2 (+ 0x87ea1) [0x7f0441218ea1]
/Usr/lib64/libgomp. so.1 (+ 0xe0c5) [0x7f0127f8a0c5]
/Lib64/libpthread. so.0 (+ 0x79d1) [0x7f044a56a9d1]
/Lib64/libc. so.6 (clone + 0x6d) [0x7f044ae948fd]
7f043e5d3000-7f043e5db000 r-xp 00000000 fd: 00 12250/usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/jpeg. so
7f043e5db000-7f043e7db000 --- p 00008000 fd: 00 12250/usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/jpeg. so
7f043e7db000-7f043e7dc000 rw-p 00008000 fd: 00 12250/usr/local/lib/ImageMagick-6.5.1/modules-Q16/coders/jpeg. so
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.
The above introduces the blurImage image blur processing error free: invalid next size, including the content, hope to be helpful to friends interested in the PHP Tutorial.