Discussion:
GIMP plugin DBP (David's Batch Processor) for Ubuntu?
Ed Smits
2007-07-02 13:29:39 UTC
Permalink
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP

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

I can't get it to make, errors out when I try using both the latest
source code as well as an earlier version. I have build essentials
installed.

http://ubuntuforums.org/showthread.php?t=170862

says that I need to have gimptool, and the gimp-devel packages as well
installed, yet I can find no track of them in Synaptic.

Anyone have this plugin working who can tell me how to do it?


Thanks


ED
Nils Kassube
2007-07-02 14:58:11 UTC
Permalink
Post by Ed Smits
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP
Sorry, I can't tell you something about that gimp plugin, but how about:

convert original.jpg -resize 50% small.jpg

It is part of the imagemagick package.


Nils
Sven Richter
2007-07-02 15:05:10 UTC
Permalink
Hi,
Post by Ed Smits
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP
http://members.ozemail.com.au/~hodsond/dbp.html
I can't get it to make, errors out when I try using both the latest
source code as well as an earlier version. I have build essentials
installed.
http://ubuntuforums.org/showthread.php?t=170862
says that I need to have gimptool, and the gimp-devel packages as well
installed, yet I can find no track of them in Synaptic.
Anyone have this plugin working who can tell me how to do it?
I dont know anything about the plugin, but resizing can be simply done
with imagemagick.
F.I. put these lines in a bash script and execute it:
for file in `ls *.jpg`
do
convert -scale 140x140 $file klein/$file
done

Thats it, it resizes every jpg file in the folder you startet
it to 140x140 and copies it to the "klein" directory.

You could put some things around it, like writing
a simple html page into a file.
Just as an idea what imagemagick and bash can
do for you.


Greetings
Sven Richter
Ed Smits
2007-07-02 17:04:46 UTC
Permalink
The problem is that my wife is in Europe taking pictures and wants to
send me the images, but needs to resize them. I managed to get her on
to Feisty a week before going, but won't even try to get her to do
command line stuff, my marriage is fragile enough as it is.

I was able to put together an FAQ for her using gThumb, for resizing
batches it worked fine, I just got my first dozen pics from her, so
that's solved. However the plugin in question, David's Batch Processor
(http://tinyurl.com/28cch9) will do all sorts of other things as well:
turn, blur, color, resize, crop, sharpen, rename etc., I think all
would agree that this is a useful batch processor. So far she knows
how to use Thunar's Bulk Rename and gThumb, maybe for now that's
enough until I get over there with her.

So, no one knows how to get David's Batch Processor working with Ubuntu?


Damn!


ED
Post by Sven Richter
Hi,
Post by Ed Smits
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP
http://members.ozemail.com.au/~hodsond/dbp.html
I can't get it to make, errors out when I try using both the latest
source code as well as an earlier version. I have build essentials
installed.
http://ubuntuforums.org/showthread.php?t=170862
says that I need to have gimptool, and the gimp-devel packages as well
installed, yet I can find no track of them in Synaptic.
Anyone have this plugin working who can tell me how to do it?
I dont know anything about the plugin, but resizing can be simply done
with imagemagick.
for file in `ls *.jpg`
do
convert -scale 140x140 $file klein/$file
done
Thats it, it resizes every jpg file in the folder you startet
it to 140x140 and copies it to the "klein" directory.
You could put some things around it, like writing
a simple html page into a file.
Just as an idea what imagemagick and bash can
do for you.
Greetings
Sven Richter
norman
2007-07-02 19:50:02 UTC
Permalink
Post by Ed Smits
The problem is that my wife is in Europe taking pictures and wants to
send me the images, but needs to resize them. I managed to get her on
to Feisty a week before going, but won't even try to get her to do
command line stuff, my marriage is fragile enough as it is.
I was able to put together an FAQ for her using gThumb, for resizing
batches it worked fine, I just got my first dozen pics from her, so
that's solved. However the plugin in question, David's Batch Processor
turn, blur, color, resize, crop, sharpen, rename etc., I think all
would agree that this is a useful batch processor. So far she knows
how to use Thunar's Bulk Rename and gThumb, maybe for now that's
enough until I get over there with her.
So, no one knows how to get David's Batch Processor working with Ubuntu?
Damn!
ED
Post by Sven Richter
Hi,
Post by Ed Smits
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP
http://members.ozemail.com.au/~hodsond/dbp.html
I can't get it to make, errors out when I try using both the latest
source code as well as an earlier version. I have build essentials
installed.
http://ubuntuforums.org/showthread.php?t=170862
says that I need to have gimptool, and the gimp-devel packages as well
installed, yet I can find no track of them in Synaptic.
Anyone have this plugin working who can tell me how to do it?
I dont know anything about the plugin, but resizing can be simply done
with imagemagick.
for file in `ls *.jpg`
do
convert -scale 140x140 $file klein/$file
done
Thats it, it resizes every jpg file in the folder you startet
it to 140x140 and copies it to the "klein" directory.
You could put some things around it, like writing
a simple html page into a file.
Just as an idea what imagemagick and bash can
do for you.
If this is really to do with the Gimp why not put your question on


gimp-user at lists.xcf.berkeley.edu

Norman
hentaidan
2007-07-02 20:07:06 UTC
Permalink
Post by Ed Smits
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP
http://members.ozemail.com.au/~hodsond/dbp.html
I can't get it to make, errors out when I try using both the latest
source code as well as an earlier version. I have build essentials
installed.
Latest source Makes fine on my iBook G4, Feisty, GIMP 2.2.13.
Post by Ed Smits
http://ubuntuforums.org/showthread.php?t=170862
says that I need to have gimptool, and the gimp-devel packages as well
installed, yet I can find no track of them in Synaptic.
Try libgimp-2.0-dev. The description says "Install this package if you
wish to compile your own plugins"

It worked for me :)

Charlie
Ed Smits
2007-07-02 21:15:51 UTC
Permalink
Many thanks, adding libgimp-2.0-dev was what was missing, the plug-in
works fine now, as far as I've tested it anyway<G>.

I'll post a correction in the forum thread so that other idiots like
myself know what they are looking for instead of gimp-devel.....



Cheers. My faith in you guys is restored! Thanks to all who replied.

ED
Post by hentaidan
Post by Ed Smits
Running Feisty, need to batch resize lots of images, want to use the
GIMP plugin DBP
http://members.ozemail.com.au/~hodsond/dbp.html
I can't get it to make, errors out when I try using both the latest
source code as well as an earlier version. I have build essentials
installed.
Latest source Makes fine on my iBook G4, Feisty, GIMP 2.2.13.
Post by Ed Smits
http://ubuntuforums.org/showthread.php?t=170862
says that I need to have gimptool, and the gimp-devel packages as well
installed, yet I can find no track of them in Synaptic.
Try libgimp-2.0-dev. The description says "Install this package if you
wish to compile your own plugins"
It worked for me :)
Charlie
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
NoOp
2007-07-02 22:47:23 UTC
Permalink
Post by Ed Smits
Many thanks, adding libgimp-2.0-dev was what was missing, the plug-in
works fine now, as far as I've tested it anyway<G>.
I'll post a correction in the forum thread so that other idiots like
myself know what they are looking for instead of gimp-devel.....
Very simple script plugin - File Scaler:
http://registry.gimp.org/list?category=7
http://registry.gimp.org/plugin?id=9432
Download the .scm file and copy to your ./gimp-2.2/scripts directory.
Open Gimp|Xns|Script-fu|Utils|File Scale

Caution: *The input files are overwriten*:

Scales file(s) to a new size.
The input files are selected by pattern or complete path (e.g. C:*.tga).
The input files are overwriten.

So *copy* whatever you want converted first into a conversion/temp
directory, and use that directory & copied files for the conversion.
Scale sizes are in pixels.

Loading...