ImageMagick with liblqr

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

ImageMagick with liblqr

Post by sdbhabal »

Hellow Experts,

I wanted to install ImageMagick with liblqr on Centos 7.

I have followed below URL to install ImageMagick.
http://www.tecmint.com/install-imagemagick-in-linux/

When I execute below command the output is like:
[root@localhost ~]# convert -list configure | grep -i "delegates"
DELEGATES bzlib fontconfig freetype gs jpeg jng jp2 lzma openexr pango png rsvg tiff x11 xml wmf zlib
[root@localhost ~]#


Output does not include liblqr in the list.

Dont know what I am missing here.

Please help.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: ImageMagick with liblqr

Post by Bonzo »

What version did you install?
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

[root@localhost ~]# rpm -qa | grep -i image
ImageMagick-6.7.8.9-15.el7_2.x86_64
ImageMagick-devel-6.7.8.9-15.el7_2.x86_64
[root@localhost ~]#
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick with liblqr

Post by snibgo »

V6.7.8 is very old. I suggest you install a more recent version.
snibgo's IM pages: im.snibgo.com
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

It looks like by default yum repository installs V6.7.8
BTW what is the latest version?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick with liblqr

Post by snibgo »

The current versions are v6.9.9-50 and v7.0.7-38.
snibgo's IM pages: im.snibgo.com
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

So I have removed V6.7.8 & installed V7.0.7-38 now.

Still the output of below command does not include liblqr:

[root@localhost ~]# convert -list configure | grep -i "delegates"
DELEGATES bzlib djvu mpeg fftw fpx fontconfig freetype gslib jbig jng jpeg lcms lzma openexr openjp2 pango png ps rsvg tiff webp wmf x xml zlib
[root@localhost ~]#
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick with liblqr

Post by snibgo »

I don't know your build process. If you build from source, and you haven't already installed liblqr, that's the problem. Have you looked in config.log to see what it says about lqr?
snibgo's IM pages: im.snibgo.com
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

I have installed ImageMagick using RPM.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick with liblqr

Post by fmw42 »

Include --with-lqr in your ./configuration file when compiling ImageMagick from source
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

You mean, I need to compile ImageMagick from source.
Installing ImageMagick using yum repo does not contain liblqr support right?
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

As per your suggestion, I have compiled ImageMagick from source using below command.

# ./configure --with-lqr=yes
# make
# make install


But still liblqr is missing.

[root@localhost ImageMagick-master]# convert -list configure | grep -i "delegates"
DELEGATES bzlib mpeg fftw fontconfig freetype jng jpeg lzma pango png ps tiff wmf x xml zlib
[root@localhost ImageMagick-master]#


Please help.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: ImageMagick with liblqr

Post by snibgo »

sdbhabal wrote:./configure --with-lqr=yes
Open config.log in a text editor and search for lqr. This will tell you what package what searched for, whether it was found, and so on.
snibgo's IM pages: im.snibgo.com
sdbhabal
Posts: 10
Joined: 2018-06-04T03:52:44-07:00
Authentication code: 1152

Re: ImageMagick with liblqr

Post by sdbhabal »

Below is the log related to lqr in config.log file:

[root@localhost ImageMagick-master]# grep -i 'lqr' config.log
$ ./configure --with-lqr=yes
configure:32038: checking for LQR
configure:32045: $PKG_CONFIG --exists --print-errors "lqr-1 >= 0.1.0"
Package lqr-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lqr-1.pc'
No package 'lqr-1' found
configure:32062: $PKG_CONFIG --exists --print-errors "lqr-1 >= 0.1.0"
Package lqr-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `lqr-1.pc'
No package 'lqr-1' found
No package 'lqr-1' found
LQR --with-lqr=yes no
ac_cv_env_LQR_CFLAGS_set=
ac_cv_env_LQR_CFLAGS_value=
ac_cv_env_LQR_LIBS_set=
ac_cv_env_LQR_LIBS_value=
CONFIGURE_ARGS='./configure '\''--with-lqr=yes'\'''
LQR_CFLAGS=''
LQR_DELEGATE_FALSE=''
LQR_DELEGATE_TRUE='#'
LQR_LIBS=''
[root@localhost ImageMagick-master]#


Please check.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ImageMagick with liblqr

Post by fmw42 »

Correct syntax is just

./configure --with-lqr

The "with" means to include it as opposed to "without"
Post Reply