I use ImageMagick at the command line in Linux. I want to install the latest version of ImageMagick that works with the BPG format, as well as Webp, JPG, PNG, etc. I basically want to install ImageMagick with "all the works." I see that BPG support has been added: viewtopic.php?f=2&t=26880&p=119261&hilit=bpg#p118826
I installed the latest version last week, but had to uninstall it and install version 6.7.7-10 because I couldn't get it to work on JPG files. Something about JPG missing from the decode delegates.
Can someone give me a tutorial on how to install the latest version of ImageMagick on Linux that works with BPG, WebP, JPG, PNG, etc?
Information:
Linux Mint 17, 64bit
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Install ImageMagick with BPG support
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Install ImageMagick with BPG support
Note, I am not a Linux expert. I use a Mac and use MacPorts to install all my delegates first.
Unfortunately, as I understand it, if you do not install via a package that contains all the image delegate libraries that you need, then you will have to install each delegate library before installing IM. And worse, each delegate library may need its own support delegates to be installed first.
Perhaps some Linux expert can supply more details or some way to deal with it. Some people build there own RPM to install IM and the delegates, but I do not know how to do that.
Unfortunately, as I understand it, if you do not install via a package that contains all the image delegate libraries that you need, then you will have to install each delegate library before installing IM. And worse, each delegate library may need its own support delegates to be installed first.
Perhaps some Linux expert can supply more details or some way to deal with it. Some people build there own RPM to install IM and the delegates, but I do not know how to do that.
Re: Install ImageMagick with BPG support
Yes, I had a problem with the delegate libraries when I installed the latest ImageMagick version last week. I think the installation process on Macs and Linux differs, so hopefully a Linux person can help me out.
Re: Install ImageMagick with BPG support
Can I pay someone to help me?
Re: Install ImageMagick with BPG support
Download / install the BPG distribution. Next, install the ImageMagick development libraries
- sudo yum install imagemagick-devel
- wget http://magick.imagemagick.org/download/ ... 0-6.tar.gz
tar xvf ImageMagick-6.9.0-6.tar.gz
cd ImageMagick-6.9.0-6
./configure
make
sudo make install
- ldconfig /usr/local/lib
- convert image.bpg image.png
Re: Install ImageMagick with BPG support
Thanks magick! I'm having trouble installing the BPG distribution. When I try to make it I get the error:
It's a problem with libpng. I've read elsewhere that installing libpng16 would solve this, but it still doesn't work.
But thanks, if I can figure out how to install BPG I'll use your directions for ImageMagick.
Code: Select all
g++ -g -Wl,--gc-sections -o bpgenc bpgenc.o jctvc_glue.o jctvc/libjctvc.a -lpng -ljpeg -lrt -lm -lpthread
bpgenc.o: In function `read_png':
/home/jurpy/Downloads/libbpg-0.9.5/bpgenc.c:937: undefined reference to `png_set_longjmp_fn'
/home/jurpy/Downloads/libbpg-0.9.5/bpgenc.c:987: undefined reference to `png_set_alpha_mode'
collect2: error: ld returned 1 exit status
make: *** [bpgenc] Error 1
But thanks, if I can figure out how to install BPG I'll use your directions for ImageMagick.
Re: Install ImageMagick with BPG support
I found the solution to installing BPG on Linux Mint: http://unix.stackexchange.com/questions ... x-mint-17/