RSS/Atom feed Twitter
Site is read-only, email is disabled

Decrease many image sizes

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

10 of 11 messages available
Toggle history

Please log in to manage your subscriptions.

Decrease many image sizes Leeuw van der, Tim 22 Nov 15:38
Decrease many image sizes Ezequias Rodrigues da Rocha 22 Nov 15:39
  Decrease many image sizes Joao S. O. Bueno Calligaris 22 Nov 17:06
  Decrease many image sizes Carol Spears 22 Nov 17:08
   Decrease many image sizes Stephan Hegel 22 Nov 18:13
    Decrease many image sizes John Bougainville 23 Nov 10:29
     Decrease many image sizes patman@aracnet.com 23 Nov 17:38
Decrease many image sizes Leeuw van der, Tim 23 Nov 10:54
20051122144112.GA5167@schmo... 07 Oct 20:17
  Decrease many image sizes Ezequias Rodrigues da Rocha 22 Nov 16:11
  Decrease many image sizes Ezequias Rodrigues da Rocha 24 Nov 13:16
Leeuw van der, Tim
2005-11-22 15:38:23 UTC (over 18 years ago)

Decrease many image sizes

Hi,

I have a Python script for you that does that using PIL. You'll have to make some modifications to remove the win32 dependancy (used for open-file dialog) and to change desired image-size to what you desire.

Is that good enough for you? Or do you specifically want to do it with GIMP?

cheers,

--Tim

-----Original Message----- From: gimp-user-bounces@lists.XCF.Berkeley.EDU [mailto:gimp-user-bounces@lists.XCF.Berkeley.EDU]On Behalf Of Ezequias Rodrigues da Rocha
Sent: dinsdag 22 november 2005 15:39 To: gimp-user@lists.XCF.Berkeley.EDU Subject: [Gimp-user] Decrease many image sizes

Hi list,

This is my first post and I need now to reduce some pictures from 1024x768 pixels to 800x600 pixels of 108 images.

Could somone tell me how to do it in the command line ?

I am using linux version of Gimp.

Sincerely ...

Ezequias Rodrigues da Rocha
2005-11-22 15:39:00 UTC (over 18 years ago)

Decrease many image sizes

Hi list,

This is my first post and I need now to reduce some pictures from 1024x768 pixels to 800x600 pixels of 108 images.

Could somone tell me how to do it in the command line ?

I am using linux version of Gimp.

Sincerely ...

Ezequias Rodrigues da Rocha
2005-11-22 16:11:27 UTC (over 18 years ago)

Decrease many image sizes

Thank you very much Marc and Leeuw.

If I got any error report I will contact you.

More fast I believe.

Best regards Ezequias

Marc Lehmann wrote:

On Tue, Nov 22, 2005 at 11:39:00AM -0300, Ezequias Rodrigues da Rocha wrote:

Hi list,

This is my first post and I need now to reduce some pictures from

1024x768 pixels to 800x600 pixels of 108 images.

mkdir small
cp images small
cd small
mogrify -geometry 800x600 *

Could somone tell me how to do it in the command line ?

Use imagemagick.

Joao S. O. Bueno Calligaris
2005-11-22 17:06:15 UTC (over 18 years ago)

Decrease many image sizes

On Tuesday 22 November 2005 12:39 pm, Ezequias Rodrigues da Rocha wrote:

Hi list,

This is my first post and I need now to reduce some pictures from 1024x768 pixels to 800x600 pixels of 108 images.

Could somone tell me how to do it in the command line ?

I am using linux version of Gimp.

Sincerely ...

You should usew the convert program from the imagemagick package (it i snormmally installed by default in most desktop GNU/Linuxes)

Do something like this:

for i in *jpg;do convert -size 800x600 $i -resize 800x600 small_$i;done

in the image directory. (alternatively, instead of prefixing the files with "small_" , you may prefer to specify another directory - like ...800x600/$i

Regards,

JS ->

Carol Spears
2005-11-22 17:08:37 UTC (over 18 years ago)

Decrease many image sizes

On Tue, Nov 22, 2005 at 11:39:00AM -0300, Ezequias Rodrigues da Rocha wrote:

Hi list,

This is my first post and I need now to reduce some pictures from 1024x768 pixels to 800x600 pixels of 108 images.

Could somone tell me how to do it in the command line ?

I am using linux version of Gimp.

http://www.gimp.org/tutorials/Basic_Batch/

no reason to install all of that extra software the others mentioned.

carol

Stephan Hegel
2005-11-22 18:13:17 UTC (over 18 years ago)

Decrease many image sizes

Carol Spears wrote:

http://www.gimp.org/tutorials/Basic_Batch/

No, this is not _the_ way for this simple task. The approaches with the ImageMagick tools are much more simple and easier to handle. And: ImageMagick is part of many Linux distributions.

So, really no need to dig into Script-Fu for this ...

Kind regards, Stephan.

John Bougainville
2005-11-23 10:29:39 UTC (over 18 years ago)

Decrease many image sizes

Le 22 nov. 05, à 18:13, Stephan Hegel a écrit :

Carol Spears wrote:

http://www.gimp.org/tutorials/Basic_Batch/

No, this is not _the_ way for this simple task. The approaches with the ImageMagick tools are much more simple and easier to handle. And: ImageMagick is part of many Linux distributions.

So, really no need to dig into Script-Fu for this ...

Imagemagick is certainly very good for that but i prefer Gimp and "David's batch processor" that you can find there:

http://members.ozemail.com.au/~hodsond/dbp.html

It work very well for me (gimp 2.2.8 on Mac osx) --
Jean-Maurice
http://perso.wanadoo.fr/jmleclech/

Leeuw van der, Tim
2005-11-23 10:54:59 UTC (over 18 years ago)

Decrease many image sizes

When I needed to do a similar thing some time ago, I couldn't work out how to do this with script-fu: Lisp! I'm very bad at lisp. (Couldn't yet get Python-GIMP to run on windows then). And I couldn't figure out how to actually scale the image with any of the available GIMP functions: there's a number of them that scale images, with confusing (for me) parameters.

So I decided to do it either with Python/PIL, or with ImageMagick. After some investigation I decided for Python/PIL since all my images were JPEGS, but they were not all the same size (some where landscape, some portrait; and not all of them the same height/widt aspect-ratio) but they still all needed to fit within the same rectangle (1024x768 in my case). So I wrote a python-script that checks the image sizes and figures out the correct size for that image. Doing so with ImageMagick seemed a lot more complicated to me for a number of reasons; especially not doable from a plain shell-script. The images produced by PIL were also a good 100Kb smaller than the images produced by ImageMagick, with no quality-difference that I could see with my eyes (perhaps a slight preference with the PIL produced JPEGs even).

So I did it with PIL/Python.

If I could figure out how to get the Python/GIMP integration running on my Win32 machine I might rewrite it to work with GIMP though, because it'll recognize more image-types and gives me a better feeling. ;)

As you see, there's all sorts of factors involved in choosing the right tool for the job! :)

cheers,

--Tim

patman@aracnet.com
2005-11-23 17:38:44 UTC (over 18 years ago)

Decrease many image sizes

On Wed, Nov 23, 2005 at 10:29:39AM +0100, John Bougainville wrote:

No, this is not _the_ way for this simple task. The approaches with the ImageMagick tools are much more simple and easier to handle. And: ImageMagick is part of many Linux distributions.

So, really no need to dig into Script-Fu for this ...

Imagemagick is certainly very good for that but i prefer Gimp and

Why the preference? Does Gimp produce better images?

I have used both, but never tried to compare the two.

-- Patrick Mansfield

Ezequias Rodrigues da Rocha
2005-11-24 13:16:25 UTC (over 18 years ago)

Decrease many image sizes

The command:

mogrify -geometry 800x600 *

Works perfectly. My 133 images 1600x1200 where converted in 4 minutes.

Now I can put all in my flickr album.

Thank you Marc

Ezequias Rodrigues da Rocha

Marc Lehmann wrote:

On Tue, Nov 22, 2005 at 11:39:00AM -0300, Ezequias Rodrigues da Rocha wrote:

Hi list,

This is my first post and I need now to reduce some pictures from

1024x768 pixels to 800x600 pixels of 108 images.

mkdir small
cp images small
cd small
mogrify -geometry 800x600 *

Could somone tell me how to do it in the command line ?

Use imagemagick.