MESSAGE
DATE | 2021-02-03 |
FROM | Jay Smith
|
SUBJECT | Re: [Hangout - NYLXS] [Gimp-user] Resizing
|
In addition to ImageMagick which can do all sorts of great stuff, to do this kind of thing we had to resort to writing a Perl program.
Our inputs are TIFFs and our outputs are JPEGs in four different pixel size-ranges. The output pixel size for some is fixed (i.e. for thumbnails) and for others is variable, but within a range, depending upon the input size.
On one hand it is "simple" when you describe it in words, along with a little hand-waving. However, trying to do it programatically is a bit messy.
Perl does have image handling modules that help a lot. (Disclaimer, I did not personally do any of the real work; I just did the talking and hand-waving.)
We have a library of many tens of thousands of source images as TIFFs. We keep them as TIFFs for ultra-long-term purposes, also for print-on-paper use, and don't want any compression, etc., etc. New source images are dropped into the library at will. A command is run several times per week, or as needed, which compares all the sources to all the targets and makes/remakes any new targets where targets do not yet exist or any source's timestamp is newer than the target.
It can be done.
Jay
On 02/03/2021 04:10 PM, Rick Strong wrote: > You probably need a script that references each file in a folder and > acts on them individually before closing it and moving on to the next > file in the folder. > > I used to do that sort of scripting for Corel Draw and PageMaker but I'm > not in that game any more. It should be straightforward for anyone who > knows what they are doing. > > Rick S. > > -----Original Message----- From: Jo Kent via gimp-user-list > Sent: Tuesday, January 26, 2021 6:18 AM > To: gimp-user-list-at-gnome.org > Subject: [Gimp-user] Resizing > > I have worked out how to batch resize which I’d great when all the > images start of roughly the same size but I have a batch of images that > vary from 300kb to 4500kb and I want them all to be approx 200kb is it > possible to set a size rather than a percentage/pixel size that creates > a variety of sizers, smaller but not what I require. To resize each > image individually is very time consuming. > Help!
-- Jay Smith
e-mail: Jay-at-JaySmith.com mailto:Jay-at-JaySmith.com website: http://www.JaySmith.com
Jay Smith & Associates P.O. Box 650 Snow Camp, NC 27349 USA
Phone: Int+US+336-376-9991 Toll-Free Phone in US & Canada: 1-800-447-8267 Fax: Int+US+336-376-6750 _______________________________________________ gimp-user-list mailing list List address: gimp-user-list-at-gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|