I have a large number of pictures, and I need to place each three of them in a grid with a certain layout. For example, if I have the following pictures:
p1 =
Import["http://images4.fanpop.com/image/photos/21900000/Beautiful-\
Pictures-_-beautiful-pictures-21967793-1024-768.jpg"];
p2 =
Import["http://static.ddmcdn.com/gif/ice-ice-babies-pictures-2.jpg"];
p3 =
Import["http://latimesphoto.files.wordpress.com/2012/08/la-0824-pin01.jpg"];
The image dimensions of each is as follows:
ImageDimensions[#] & /@ {p1, p2, p3}
(* {{1024, 768}, {622, 468}, {970, 647}} *)
I have resized the first 2 pictures:
{p11, p22} = ImageResize[#, 300] & /@ {p1, p2};
and now I want to place them together in one picture and then export them. I have tried Grid as follows:
all = Grid[{{p3, Column[{p11, p22}]}}]
Export["all.jpg", all]
The problem is that, Grid
does not return the pictures in their correct size. So when I export, the result will be very small as seen in the pictures bellow.
How can I get Grid
to return the three pictures sized as I want?