Peterborough Linux User Group (Canada) Forum

Linux & Android => Linux Applications & Android apps => Topic started by: ssfc72 on January 05, 2021, 05:41:42 PM

Title: Quick/basic Resizing photos in Mint 19
Post by: ssfc72 on January 05, 2021, 05:41:42 PM
This short Youtube video has a nice quick command line install of an addon to the Nemo file manager.  There is a link in the video description for the command line operation.
Works very well for a quick way to quickly resize a photo, when running Mint 19.
https://www.youtube.com/watch?v=iysHn4uMkLU

I normally have used the ImageMajick progam to edit resize photos under linux but when I tried to install ImageMagick from Synaptic, the install went ok but I could not find the program in the Mint Menu and it was not found when I tried to use the command line.

Synaptic in the details for ImageMajick said the program was a "dummy" program ??
Perhaps I needed to log out as a user, and then log back in?  This was a necessary step, for the above command line install of the addon for the Nemo file manager.

I have used ImageMagick on my older notebook computer running Mint 18 and it worked well on that computer.
Title: Re: Quick/basic Resizing photos in Mint 19
Post by: Jason on January 06, 2021, 08:09:33 AM
Thanks for sharing. Resizing photos is sometimes necessary to attach them to posts here so it's a very useful tip. :)

Here's why (https://serverfault.com/a/610040) dummy packages are often used. A LOT of programs depend on Imagemagick but package names have changed over time and have been broken up into smaller packages. So you include a dummy package for those programs that won't install without it even though those dependencies are now met by other packages. After that program is installed, you can remove/purge the dummy package.
Title: Re: Quick/basic Resizing photos in Mint 19
Post by: Jason on January 06, 2021, 08:26:02 AM
Did it show up in the list of installed programs after you logged out and back in again? Because I think what you may have installed is just the plugin and not the full imagemagick program perhaps?
Title: Re: Quick/basic Resizing photos in Mint 19
Post by: ssfc72 on January 06, 2021, 02:27:34 PM
On my first attempt on trying to use Synaptic to install ImageMagick, I did not log out, as a user, and log back in.  Synaptic did show, after the install, that ImageMagick was installed.  However there was nothing in the Mint menu showing ImageMagick and when I tried to run ImageMagic from the command line, there was nothing.
Title: Re: Quick/basic Resizing photos in Mint 19
Post by: Jason on January 06, 2021, 07:53:21 PM
I wonder if you installed the complete program or just a package with the libraries (like imagemagick-common), which doesn't contain binaries (i.e. the program). When I run synaptic in Linux Lite I see these packages shown in the attachment when I search for 'imagemagick'. The packages may be slightly different in Linux Mint. Look at the description for each package for the one that says it contains binaries. In my case, the dummy package called 'imagemagick' installs the binaries and the documentation.
Title: Re: Quick/basic Resizing photos in Mint 19
Post by: Jason on January 06, 2021, 07:54:15 PM
If Linux Mint comes with a separate software installer, you may find it easier to use it in this case over synaptic.
Title: Re: Quick/basic Resizing photos in Mint 19
Post by: Jason on January 06, 2021, 08:15:23 PM
This might help (https://askubuntu.com/questions/1246635/installing-imagemagick). It doesn't put it in the menu but if you type this command in the terminal, it will run the graphical interface if the complete binaries are installed:

display