Welcome to Centmin Mod Community
Register Now

Possible ImageMagick Imagick mismatch?

Discussion in 'Other Centmin Mod Installed software' started by SneakyDave, May 28, 2016.

  1. SneakyDave

    SneakyDave Member

    68
    11
    8
    Jul 24, 2014
    Ratings:
    +16
    Local Time:
    4:31 PM
    1.0.15
    This isn't a big deal but it would be nice to get working, or have an explanation of why it isn't working.

    It appears from the thread below that XenForo doesn't have any code that supports ImageMagick's ALPHACHANNEL_REMOVE that causes problem with transparency when resizing images.

    So Ralle in the thread added a new addon that adds support for that. Unfortunately, that addon doesn't work for me. Whenever updating an avatar, for example, I get an error from XenForo: "Unable to set image alpha channel"

    The author seems to think that my ImageMagick and Imagick modules might be mismatched, and I'm not sure how to validate them. All my other ImageMagick functions work ok, its just the alpha channel setting. Maybe it's newer than what one of these functions provides? They both appears to have been released on the same day (5/9/2016)

    I uninstalled and reinsalled PHP imagick module, and ImageMagick appears to be up to date. Should I upgrade Centmin Mod possibly?

    I'm running:
    Centmin Mod 1.2.3-eva2000.08
    PHP 5.6.31
    [root@xxxxx]# php --ri imagick

    imagick

    imagick module => enabled
    imagick module version => 3.4.1
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
    Imagick compiled with ImageMagick version => ImageMagick 6.7.2-7 2016-05-09 Q16 ImageMagick: Convert, Edit, Or Compose Bitmap Images
    Imagick using ImageMagick library version => ImageMagick 6.7.2-7 2016-05-09 Q16 ImageMagick: Convert, Edit, Or Compose Bitmap Images
    ImageMagick copyright => Copyright (C) 1999-2011 ImageMagick Studio LLC
    ImageMagick release date => 2016-05-09
    ImageMagick number of supported formats: => 205
    ImageMagick supported formats => 3FR, A, AAI, AI, ART, ARW, AVI, AVS, B, BGR, BGRA, BMP, BMP2, BMP3, BRF, C, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, INFO, INLINE, IPL, ISOBRL, J2C, JNG, JP2, JPC, JPEG, JPG, JPX, K, K25, KDC, LABEL, M, M2V, M4V, MAC, MAP, MAT, MATTE, MIFF, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NULL, O, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG24, PNG32, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, R, RADIAL-GRADIENT, RAF, RAS, RGB, RGBA, RGBO, RLA, RLE, SCR, SCT, SFW, SGI, SHTML, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UIL, UYVY, VDA, VICAR, VID, VIFF, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, Y, YCbCr, YCbCrA, YUV

    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.skip_version_check => 0 => 0
    imagick.progress_monitor => 0 => 0
    [root@xxxxx]# convert --version
    Version: ImageMagick 6.7.2-7 2016-05-09 Q16 ImageMagick: Convert, Edit, Or Compose Bitmap Images
    Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
    Features: OpenMP

    More info:
    XenForo_Image_ImageMagick_Pecl and transparency | XenForo Community
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,933
    6,911
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,407
    Local Time:
    8:31 AM
    Nginx 1.13.x
    MariaDB 5.5
    well 123.09beta01's centmin.sh menu option 15 will give you newer versions to try
    Code (Text):
     convert --version
    Version: ImageMagick 6.9.4-3 Q16 x86_64 2016-05-19 http://www.imagemagick.org
    Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
    License: http://www.imagemagick.org/script/license.php
    Features: Cipher DPC Modules OpenMP
    Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype gvc jng jpeg lcms ltdl openexr pangocairo png rsvg tiff webp wmf x xml zlib
    

    Code (Text):
    php --ri imagick
    
    imagick
    
    imagick module => enabled
    imagick module version => 3.4.2
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 6.9.4-3 Q16 x86_64 2016-05-19 http://www.imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 6.9.4-3 Q16 x86_64 2016-05-19 http://www.imagemagick.org
    ImageMagick copyright => Copyright (C) 1999-2016 ImageMagick Studio LLC
    ImageMagick release date => 2016-05-19
    ImageMagick number of supported formats:  => 222
    ImageMagick supported formats => 3FR, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FITS, FRACTAL, FTS, G3, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.skip_version_check => 0 => 0
    imagick.progress_monitor => 0 => 0
     
    • Like Like x 1