You are here

BIMP. Batch Image Manipulation Plugin.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

BIMP is a graphical batch plugin to apply a set of GIMP manipulations on groups of images.
You can use predefined manipulations like resize, crop, flip, rotate, color correction, sharpen, watermark, format conversion, rename, but you can also select other installed plugins or script-fu and apply them to each image.

Windows version and source code for Linux/Mac systems: http://www.alessandrofrancesconi.it/projects/bimp/

Screenshot:
Image and video hosting by TinyPic

GIMP Version: 
Code License: 

Comments

Hello wapo, this feature is not available yet, but its implementation has been planned for future releases.
Look here for future updates: https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues/10

Hello -

I guess the warnings are not important, but I get errors related to 'GFileInfo' shown below. I did update the dev packages indicated in the readme, apparently successfully. Another package missing on my machine? Thanks for any help.

make
gcc -o ./bin/bimp -Wall -O2 -Wno-unused-variable -Wno-pointer-sign -Wno-parentheses src/*.c src/manipulation-gui/*.c -DPNG_NO_MMX_CODE -I/usr/include/gimp-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/usr/lib -lpcre -DGIMP_DISABLE_DEPRECATED
src/bimp-gui.c: In function ‘add_input_folder’:
src/bimp-gui.c:297: error: ‘GFileInfo’ undeclared (first use in this function)
src/bimp-gui.c:297: error: (Each undeclared identifier is reported only once
src/bimp-gui.c:297: error: for each function it appears in.)
src/bimp-gui.c:297: error: ‘file_info’ undeclared (first use in this function)
src/bimp-gui.c:297: warning: implicit declaration of function ‘g_file_query_info’
src/bimp-gui.c:297: warning: implicit declaration of function ‘g_file_new_for_path’
src/bimp-gui.c:298: warning: implicit declaration of function ‘g_file_info_get_content_type’
src/bimp-gui.c:298: warning: assignment makes pointer from integer without a cast
src/bimp-gui.c:299: warning: implicit declaration of function ‘g_content_type_get_mime_type’
src/bimp-gui.c:299: warning: assignment makes pointer from integer without a cast
src/bimp-gui.c: In function ‘open_popup_menu’:
src/bimp-gui.c:579: warning: implicit declaration of function ‘gtk_menu_item_set_label’
src/bimp-gui.c: In function ‘add_manipulation_from_id’:
src/bimp-gui.c:597: warning: implicit declaration of function ‘gtk_adjustment_get_upper’
src/bimp-gui.c: In function ‘bimp_set_busy’:
src/bimp-gui.c:800: warning: implicit declaration of function ‘gtk_dialog_get_action_area’
src/bimp-gui.c:800: warning: initialization makes pointer from integer without a cast
src/bimp-manipulations-gui.c: In function ‘bimp_open_editwindow’:
src/bimp-manipulations-gui.c:53: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:58: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:63: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:68: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:73: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:78: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:83: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:88: warning: assignment from incompatible pointer type
src/bimp-manipulations-gui.c:93: warning: assignment from incompatible pointer type
src/bimp-operate.c: In function ‘apply_resize’:
src/bimp-operate.c:262: warning: implicit declaration of function ‘round’
src/bimp-operate.c:262: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:272: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:283: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:299: warning: implicit declaration of function ‘gimp_image_scale_full’
src/bimp-operate.c: In function ‘apply_crop’:
src/bimp-operate.c:346: warning: incompatible implicit declaration of built-in function ‘round’
src/bimp-operate.c:352: warning: incompatible implicit declaration of built-in function ‘round’
make: *** [make] Error 1

Try to add this line

#include <gio/gio.h>

At the top of the file bimp-gui.c, then recompile.
I'll investigate on this error under my Linux system when possible.
But please, use the GitHub Project's page @ https://github.com/alessandrofrancesconi/gimp-plugin-bimp/issues?state=open to post bugs instead of this one

i get this error on compile.
/bin/ld: /tmp/ccuwgOax.o: undefined reference to symbol 'lroundf@@GLIBC_2.1'
/bin/ld: note: 'lroundf@@GLIBC_2.1' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make: *** [make] Error 1

FIXED by adding this to the command MAKE line in the Makefile
/lib/libm.so.6

Compiled fine after that.
Plug-in compiled for Fedora 17 32 bit can be downloaded here.
http://www.gimpchat.com/viewtopic.php?f=9&t=5298

-Rod

- Added "Add folders" button for adding entire folder's content in the input list

First congratulation to the author for the development of a useful plug-in.

It seems that the 'libpcre3-dev' package name (Debian-Ubuntu?) is not available in Fedora 17! Lots of 'pcre' packages, have installed 'pcre-devel'.
But when making BIMP-0.7 get this error (don't know if its because of the precedent package):
=====================================================================
...
src/bimp-operate.c:216:11: attention : variable ‘success’ set but not used [-Wunused-but-set-variable]
/usr/bin/ld: /tmp/ccD6dWQ1.o: undefined reference to symbol 'roundf@@GLIBC_2.2.5'
/usr/bin/ld: note: 'roundf@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: erreur: ld a retourné 1 code d'état d'exécution
make: *** [make] Erreur 1
...
=====================================================================

Did somebody had success in compiling for Fedora 17?

Seems a GCC compatibility issue, other people from Ubuntu had the same error when compiling another program http://stackoverflow.com/questions/7791505/phusion-passenger-ubuntu-11-10
Check if those replies help you.

Thanks for your research on that problem.
Following your idea of a compatibility problem between my version of GCC and probably PCRE (because i have compiled a couple of GIMP plug-ins with that system). I have tried different compatibility packages for GCC without success.

The solution was found by 'wacmaster' above and consisted in my case (64bits) of adding the following item at the end off 'gcc ...' line in the Makefile make section:
/lib64//libm.so.6
Thanks 'wacmaster' !

Now you can STOP the batch process when you want, also check the changelog for other improvements!
http://www.alessandrofrancesconi.it/projects/bimp/

new version works great! Thank you for making such a useful plugin even better!

Pages

Subscribe to Comments for "BIMP. Batch Image Manipulation Plugin."