Need to resize a lot of pictures -- software recommendation needed
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Need to resize a lot of pictures -- software recommendation needed
My problem is, that when pictures come off of my 7MP digital camera, the filesize is around 3MB. I have been uploading these huge files to my online gallery, which is set to resize the pictures so they are a viewable size anyway.
So, I'd like to take, say, a directory at a time full of .jpg images and reduce their size down to 50% or so before uploading. Can you recommend a software program to do this?
(This is probably easy by writing a script to use ImageMagick or something, but I'm just not into writing it myself.)
Well, most of the programming experience I have is in C, so that's not very useful here. I do agree that shell scripting is extremely useful and worth learning though, I just haven't had the time for it yet.
It isn't as hard as you think. These were both (TV's response and mine) fairly simple examples.
Personally, I prefer a 'for loop' for this sort of thing
I do as well, however if the number of arguments gets to large, using a for loop will fail because the number of arguments will take up too much memory. In that case you can use "find" and "xargs":
What WM are you running? There is a simple download for KDE that lets you right click on one or more pictures and select a size. It simply calls imagemagick.
What WM are you running? There is a simple download for KDE that lets you right click on one or more pictures and select a size. It simply calls imagemagick.
I'm using both KDE and GNOME on different machines. The many suggestions above are working well though, and it simplifies my life just to be able to copy and paste the line into the terminal, which will work with any WM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.