It is currently Sun Sep 20, 2026 5:57 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: GIMP Print Size Script
PostPosted: Mon Jan 28, 2019 6:13 pm  (#1) 
Offline
New Member

Joined: Jan 28, 2019
Posts: 2
GIMP Version: 2.8.14
Operating System: Mac OS
GIMP Experience: New User



Hello,

I would like to ask if there is an easy script or plugin to perform the Image>Print size>Resolution scaling in a batch mode for an entire directory.
I need to resize numerous images from standard 72 pixels/inch to 300 pixels/inch.

Thank you
Ivan

PS I'm on a mac


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: GIMP Print Size Script
PostPosted: Tue Jan 29, 2019 6:27 am  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2615
Always a problem with a Mac

The best way is not Gimp but imagemagick, http://www.imagemagick.org Running the mogrify command in the images folder

mogrify -units pixelsperinch -density 300 *.*


snags: not going to work with .xcf format, always dangerous to alter files in place, best to use with copies.


For Gimp, a quick hack of an existing plugin. Attached, unzip and put in your Gimp user plugins folder, wherever that is in a Mac. Check that permissions are set. Registers bottom of Tools menu

Looks like this in linux Gimp 2.8.22

Image

snags: Only one file type at a time, + same as with IM.

(Edit: One of those python plugins that does not work with the regular Windoze Gimp 2.10 - No problems with Partha's version)


Attachments:
300dpi.py.zip [782 Bytes]
Downloaded 147 times
Top
 Post subject: Re: GIMP Print Size Script
PostPosted: Wed Jan 30, 2019 10:12 am  (#3) 
Offline
New Member

Joined: Jan 28, 2019
Posts: 2
Thank you for the response.

Actually I found a way to do it with the Preview app. It has few parameters, but one is the image print scaling...


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group