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

Fitting 2 or 4 pictures in an A4 paper

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.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Fitting 2 or 4 pictures in an A4 paper vdemart@email.it 01 Oct 12:09
Fitting 2 or 4 pictures in an A4 paper Geoffrey 01 Oct 13:24
vdemart@email.it
2002-10-01 12:09:38 UTC (over 21 years ago)

Fitting 2 or 4 pictures in an A4 paper

Hi,
I'm new to this list.
I take pictures with my 4.1 megapixel camera producing in HQ images of 2272x1704 pixels.
Fitting 2 or 4 of pictures in a single gimp picture under linux (to be printed on a sheet of A4 glossy paper) is somewhat time-consuming. Is there any plug-in or the likes able to ease that tedious work? (As far as programming languages are concerned, I have some experience with perl)
Ciao
Vittorio

--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor: Interessi alti, massima libertà. È Conto Arancio di ING Direct. Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=660&d=1-10

Geoffrey
2002-10-01 13:24:38 UTC (over 21 years ago)

Fitting 2 or 4 pictures in an A4 paper

Use imagemagick. I threw together a script a while back that puts for images on a page with a white border around the images. As a matter of fact, it's not that long, I'll post it, for folks to use/hack up and make better. I called it 42apage and you call it as follows:

42apage image1.jpg image2.jpg image3.jpg image4.jpg

Note, it will work with other image formats, but it will be converting the images to jpg. It creates two directories (group and done). The images must be the same size, so a 'portrait' and 'landscape' image will not be placed together. Puts the new combined images into the 'group' directory and the processed images into the 'done' directory. Be aware, it uses $RANDOM, thus there is a small possibility you'll trash a created image, but the original images are saved, so if you do, you can 'try again.'

It's not pretty and it's not flexible, but maybe someone can use it/make it better. Here it tis:

#BEGIN SCRIPT

set $* mkdir group
mkdir done

print adding border to $1 convert -bordercolor white -border 10x10 $1 $1 print adding border to $2
convert -bordercolor white -border 10x10 $2 $2 print adding border to $3
convert -bordercolor white -border 10x10 $3 $3 print adding border to $4
convert -bordercolor white -border 10x10 $4 $4

print append first pair convert -append $1 $2 group/tmp1
print append second pair
convert -append $3 $4 group/tmp2
print combine all four
mv $1 $2 $3 $4 done
fn=$RANDOM
convert +append group/tmp1 group/tmp2 group/${fn}.jpg

#END SCRIPT

vdemart@email.it wrote:

Hi,
I'm new to this list.
I take pictures with my 4.1 megapixel camera producing in HQ images of 2272x1704 pixels.
Fitting 2 or 4 of pictures in a single gimp picture under linux (to be printed on a sheet of A4 glossy paper) is somewhat time-consuming. Is there any plug-in or the likes able to ease that tedious work? (As far as programming languages are concerned, I have some experience with perl)
Ciao
Vittorio

--
Prendi GRATIS l'email universale che... risparmia: http://www.email.it/f

Sponsor: Interessi alti, massima libertà. È Conto Arancio di ING Direct. Clicca qui: http://adv2.email.it/cgi-bin/foclick.cgi?mid=660&d=1-10 _______________________________________________ Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user