rmagick-temp / rmagick

An interface to the ImageMagick and GraphicsMagick image processing libraries.
http://rmagick.rubyforge.org/
MIT License
790 stars 102 forks source link

no delegates #144

Open alicjap opened 6 years ago

alicjap commented 6 years ago

hi

i can convert file from terminal but my rails app cant

Completed 422 Unprocessable Entity in 16.9ms ActiveRecord::RecordInvalid (Validation failed: Photo Failed to manipulate with rmagick, maybe it is not an image? Original Error: no decode delegate for this image format JPEG' @ error/constitute.c/ReadImage/504, Photo Failed to manipulate with rmagick, maybe it is not an image? Original Error: no decode delegate for this image formatJPEG' @ error/constitute.c/ReadImage/504): app/controllers/photos_controller.rb:58:in `block in create'

Help pls! Ive lost 2 days for it :(

ruby: 2.0.0 imagemagick: ImageMagick 6.9.9-11 Q16 x86_64 2018-07-04

convert -list configure

Path: /usr/local/lib/ImageMagick-6.9.9//config-Q16/configure.xml Name Value

CC gcc CFLAGS -I/usr/include/libxml2 -I/usr/include/libpng12 -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/graphviz -I/usr/include/freetype2 -I/usr/include/freetype2 -pthread -fopenmp -g -O2 -Wall -mtune=haswell -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 CODER_PATH /usr/local/lib/ImageMagick-6.9.9/modules-Q16/coders CONFIGURE ./configure '--disable-shared' CONFIGURE_PATH /usr/local/etc/ImageMagick-6/ COPYRIGHT Copyright (C) 1999-2017 ImageMagick Studio LLC CPPFLAGS -I/usr/local/include/ImageMagick-6 CXX g++ CXXFLAGS -g -O2 -pthread DEFS -DHAVE_CONFIG_H DELEGATES bzlib djvu mpeg fontconfig freetype jbig jng jpeg lcms lqr lzma openexr png ps tiff wmf x xml zlib DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-jemalloc=no --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-perl=no DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6 EXEC-PREFIX /usr/local EXECUTABLE_PATH /usr/local/bin FEATURES DPC Cipher OpenMP FILTER_PATH /usr/local/lib/ImageMagick-6.9.9/modules-Q16/filters GIT_REVISION 11980 HOST x86_64-pc-linux-gnu INCLUDE_PATH /usr/local/include/ImageMagick-6 LDFLAGS -L/usr/local/lib LIB_VERSION 0x699 LIB_VERSION_NUMBER 6,9,9,11 LIBRARY_PATH /usr/local/lib/ImageMagick-6.9.9 LIBS -ljbig -llcms2 -ltiff -lfreetype -ljpeg -llqr-1 -lglib-2.0 -lpng12 -ldjvulibre -lfontconfig -lfreetype -lwmflite -lXext -lXt -lSM -lICE -lX11 -llzma -lbz2 -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread -lxml2 -lgvc -lcgraph -lcdt -lz -lm -lgomp NAME ImageMagick PCFLAGS -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 PREFIX /usr/local QuantumDepth 16 RELEASE_DATE 2018-07-04 SHARE_PATH /usr/local/share/ImageMagick-6 SHAREARCH_PATH /usr/local/lib/ImageMagick-6.9.9/config-Q16 TARGET_CPU x86_64 TARGET_OS linux-gnu TARGET_VENDOR pc VERSION 6.9.9 WEBSITE http://www.imagemagick.org