Re: How to add few pictures into one

2006-06-07 Thread Lad
K.S.Sreeram wrote: > Lad wrote: > > I really would like to have ALL pictures in one file. > > import Image > > def merge_images( input_files, output_file ) : > img_list = [Image.open(f) for f in input_files] > out_width = max( [img.size[0] for img in img_list] ) > out_height = sum( [im

Re: How to add few pictures into one

2006-06-06 Thread Lad
Fredrik Lundh wrote: > Lad wrote: > > > I really would like to have ALL pictures in one file. > > So, what would be the easiest/best way how to do that? > > do you want to look at the images as a slideshow or as a collage? > > As a collage only -- http://mail.python.org/mailman/listinfo/python

Re: How to add few pictures into one

2006-06-06 Thread K.S.Sreeram
Lad wrote: > I really would like to have ALL pictures in one file. import Image def merge_images( input_files, output_file ) : img_list = [Image.open(f) for f in input_files] out_width = max( [img.size[0] for img in img_list] ) out_height = sum( [img.size[1] for img in img_list] )

Re: How to add few pictures into one

2006-06-06 Thread Fredrik Lundh
Lad wrote: > I really would like to have ALL pictures in one file. > So, what would be the easiest/best way how to do that? do you want to look at the images as a slideshow or as a collage? -- http://mail.python.org/mailman/listinfo/python-list

Re: How to add few pictures into one

2006-06-06 Thread Lad
Fredrik Lundh wrote: > Lad wrote: > > > Open a picture file( download it from internet) and write it in a > > result file( being open in binary mode). > > Then download another file and append to the result file. > > And so on... > > But is it possible? Will be the pictures in the result file seen

Re: How to add few pictures into one

2006-06-06 Thread Fredrik Lundh
Lad wrote: > Open a picture file( download it from internet) and write it in a > result file( being open in binary mode). > Then download another file and append to the result file. > And so on... > But is it possible? Will be the pictures in the result file seen > well?? the internal structure o

Re: How to add few pictures into one

2006-06-06 Thread Lad
[EMAIL PROTECTED] wrote: > Lad wrote: > > I want to to do that as easy as possible. > > But not even more easy. > > > > I think the easest way could be add( append) an image to another > > into an image file so that I can use an image browser and see all > > pictures in one file. Is that possible?

Re: How to add few pictures into one

2006-06-06 Thread bearophileHUGS
Lad wrote: > I want to to do that as easy as possible. But not even more easy. > I think the easest way could be add( append) an image to another > into an image file so that I can use an image browser and see all > pictures in one file. Is that possible? Well, you can do it with PIL, creating

Re: How to add few pictures into one

2006-06-05 Thread Lad
> > All that I want is this: > > I download ( via Python) some pictures from internet and I want to add > > all these pictures into one =one file/ > > So far, I managed to download pictures but I do not know how to add i > > them nto one file. > > How can I do that? > > Thank you for reply and he

Re: How to add few pictures into one

2006-06-05 Thread Steve Holden
Lad wrote: > Steve Holden wrote: > >>Lad wrote: >> >>>K.S.Sreeram wrote: >>> >>> Lad wrote: >Hello , >is it possible to add( with PYTHON language) several image files into >one? Google for 'Python Imaging Library'... Regards Sreeram >

Re: How to add few pictures into one

2006-06-05 Thread Lad
Steve Holden wrote: > Lad wrote: > > K.S.Sreeram wrote: > > > >>Lad wrote: > >> > >>>Hello , > >>>is it possible to add( with PYTHON language) several image files into > >>>one? > >> > >>Google for 'Python Imaging Library'... > >> > >>Regards > >>Sreeram > >> > >> > >> > > > > Thank you for your

Re: How to add few pictures into one

2006-06-05 Thread Steve Holden
Lad wrote: > K.S.Sreeram wrote: > >>Lad wrote: >> >>>Hello , >>>is it possible to add( with PYTHON language) several image files into >>>one? >> >>Google for 'Python Imaging Library'... >> >>Regards >>Sreeram >> >> >> > > Thank you for your reply. > I was thinking about this: > to open each ima

Re: How to add few pictures into one

2006-06-05 Thread Grant Edwards
On 2006-06-05, Lad <[EMAIL PROTECTED]> wrote: >>> is it possible to add( with PYTHON language) several image >>> files into one? >> >> Google for 'Python Imaging Library'... > > I was thinking about this: to open each image file in binary > mode , read it and write into the result image file? Is t

Re: How to add few pictures into one

2006-06-05 Thread Lad
K.S.Sreeram wrote: > Lad wrote: > > Hello , > > is it possible to add( with PYTHON language) several image files into > > one? > > Google for 'Python Imaging Library'... > > Regards > Sreeram > > > Thank you for your reply. I was thinking about this: to open each image file in binary mode , read

Re: How to add few pictures into one

2006-06-05 Thread K.S.Sreeram
Lad wrote: > Hello , > is it possible to add( with PYTHON language) several image files into > one? Google for 'Python Imaging Library'... Regards Sreeram signature.asc Description: OpenPGP digital signature -- http://mail.python.org/mailman/listinfo/python-list

How to add few pictures into one

2006-06-05 Thread Lad
Hello , is it possible to add( with PYTHON language) several image files into one? Thanks for reply L. -- http://mail.python.org/mailman/listinfo/python-list