Re: PIL.Image.frombuffer/string ... who do data using?

2006-01-09 Thread ivan.dm
Peter Hansen ha scritto: > ivan.dm wrote: > >> I'm writing a wrapper for tif file that parse its and return the data >> image in this way below : >> >> self.fp.seek(StripOffsets) >> data = self.fp.read(StripByteCounts) >>

PIL.Image.frombuffer/string ... who do data using?

2006-01-08 Thread ivan.dm
hello again everyone! I'm writing a wrapper for tif file that parse its and return the data image in this way below : self.fp.seek(StripOffsets) data = self.fp.read(StripByteCounts) return data where: self.fp is a file object StripOffsets is a offset posit

python-list@python.org

2005-12-20 Thread ivan.dm
Hi Body, Can I set an image from file into DrawArea, so I can resize and drawing any object over its image? any tips or idea? Thanks Ivan -- http://mail.python.org/mailman/listinfo/python-list

Re: pyGTK gtk.Style obj

2005-12-13 Thread ivan.dm
Lawrence Oluyede ha scritto: > Il 2005-12-13, ivan.dm <[EMAIL PROTECTED]> ha scritto: > >>Hi all. >> >>in this sentence: >>self.area = gtk.DrawingArea() >>self.style = self.area.get_style() >>self.gc = self.style.fg_gc[gtk.STATE_NORMAL] &g

pyGTK gtk.Style obj

2005-12-13 Thread ivan.dm
Hi all. in this sentence: self.area = gtk.DrawingArea() self.style = self.area.get_style() self.gc = self.style.fg_gc[gtk.STATE_NORMAL] where can I find about style and its property? thanks Ivan -- http://mail.python.org/mailman/listinfo/python-list