-
-
Save nickferrando/fb0a44d707c8c3efd92dedd0f79d2911 to your computer and use it in GitHub Desktop.
#These are the steps required in order to Install ImageMagick with JPG, PNG and TIFF delegates. | |
sudo apt-get update | |
#Install Build-Essential in order to configure and make the final Install | |
sudo apt-get install build-essential | |
#libjpg62-dev required in order to work with basic JPG files | |
sudo apt-get install -y libjpeg62-dev | |
#libtiff-dev is required in order to work with TIFF file format | |
sudo apt-get install -y libtiff-dev | |
#libpng-dev required in order to work with basic PNG files | |
sudo apt-get install -y libpng-dev | |
#Download ImageMagick | |
wget https://www.imagemagick.org/download/ImageMagick.tar.gz | |
#Untar Imagemagick | |
tar xvzf ImageMagick.tar.gz | |
#Access the working directory | |
cd ImageMagick/[version_number] | |
#Configure and make sure to disable the "shared" option | |
./configure --disable-shared | |
#Make | |
sudo make | |
#Install | |
sudo make install | |
#Final Check | |
sudo make check |
For which file/Folder error comming how i get to know that in this case?
On Microsoft's packaged Ubuntu 20.04 for WSL I found that I needed to install pkg-config before configure would find libpng. (And a lot of other delegates: At least [jng lzma png ps tiff zlib] all seem to need pkg-config to be detected, and possibly others that are genuinely not there on my system).
On Microsoft's packaged Ubuntu 20.04 for WSL I found that I needed to install pkg-config before configure would find libpng. (And a lot of other delegates: At least [jng lzma png ps tiff zlib] all seem to need pkg-config to be detected, and possibly others that are genuinely not there on my system).
Thanks, installing pkg-config solved it for me on Ubuntu 22.
6 hours down the drain today... YOU ARE A LIFESAVER! thx
I have no words for how this helped me. Thank you!
This does not work on Ubuntu 22/04. No delegation for PNG etc. Tried all the way and installed all required libraries.
@alm494, did you check if the pkg-config package is present? ./configure doesn't even try to find the PNG libraries if it doesn't have that.
thank you for this:)
sudo apt install pkg-config
made PNG and other delegates work for me as well on Ubuntu 22.04 Dell XPS13
sudo apt install pkg-config
made PNG and other delegates work for me as well on Ubuntu 22.04 Dell XPS13
This worked for me for getting PNG added to the delegates list, but now I'm having a hard time getting FFTW enabled.
Fixed for FFTW I must have installed the wrong package so the script was not detecting it.
sudo apt-get install libfftw3-dev libfftw3-doc
I think your file permission has been changed. please give it permission using the below command:
sudo chmod 777 /path/to/image-file
orsudo chmod 777 -R /path/to/parent/directory/of/image-file
I hope it will work