Skip to content

per1234/batch-smart-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batch-smart-resize

GIMP script-fu for batch resizing images.

  • Maximum height and width can be specified.
  • Crops to layer mask.
  • Optional padding in any color to the full maximum dimensions.

Installation

Usage

The script dialog can be accessed at: File > Create > batch-smart-resize.

  • Source Folder - The folder that contains the source images. All files in the folder must be valid image files or the script will fail with the error: Error: Procedure execution of gimp-file-load failed: Unknown file type.
  • Destination Folder - The folder where the processed images will be saved to.
  • Output Filename Modifier - A string to add to the end of the output filenames.
  • Output Type - File type to use for the processed images.
  • Output Quality - Determines the compression level for JPEG Output Type. A higher value will produce better image quality and larger file size.
  • Max Width - The maximum width of the processed image.
  • Max Height - The maximum height of the processed image.
  • Pad - If this box is checked then the script will add background to size the image to the full maximum dimensions. This can be useful to avoid having sites such as Etsy and Handmade at Amazon crop your image thumbnails to an arbitrary aspect ratio.
  • Padding Color - Color used for padding if enabled.
  • JPEG DCT Method - This parameter can only be set by scripts that call script-fu-batch-smart-resize. 0==integer, 1==fixed, 2==float. The default value is 0. For details on the DCT methods see http://docs.gimp.org/en/gimp-images-out.html#file-jpeg-save.

Contributing

Pull requests or issue reports are welcome! Please see the contribution rules for instructions.

About

GIMP script-fu for batch resizing of images

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages