[EMAIL PROTECTED] wrote:
> On Oct 7, 8:17 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
>> On Sun, 07 Oct 2007 09:02:09 -0700, Abandoned wrote:
>> > On Oct 7, 4:47 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
>> >> On Sun, 07 Oct 2007 06:03:06 -0700, Abandoned wrote:
>> >> > Hi..
>> >> > I find the p
On Oct 7, 8:17 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
> On Sun, 07 Oct 2007 09:02:09 -0700, Abandoned wrote:
> > On Oct 7, 4:47 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
> >> On Sun, 07 Oct 2007 06:03:06 -0700, Abandoned wrote:
> >> > Hi..
> >> > I find the picture color with:
> >> > im=Imag
On Sun, 07 Oct 2007 09:02:09 -0700, Abandoned wrote:
> On Oct 7, 4:47 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
>> On Sun, 07 Oct 2007 06:03:06 -0700, Abandoned wrote:
>> > Hi..
>> > I find the picture color with:
>> > im=Image.open("/%s" %name)
>> > color=im.mode #p=black & beyaz rgb=color L=
On Oct 7, 4:47 pm, Michal Bozon <[EMAIL PROTECTED]> wrote:
> On Sun, 07 Oct 2007 06:03:06 -0700, Abandoned wrote:
> > Hi..
> > I find the picture color with:
> > im=Image.open("/%s" %name)
> > color=im.mode #p=black & beyaz rgb=color L=grey
>
> > This usually work true but in these pictures:
> >h
On Sun, 07 Oct 2007 06:03:06 -0700, Abandoned wrote:
> Hi..
> I find the picture color with:
> im=Image.open("/%s" %name)
> color=im.mode #p=black & beyaz rgb=color L=grey
>
> This usually work true but in these pictures:
> http://malatya.meb.gov.tr/images/alt/ilsis_logo.gif
> http://malatya.me
Hi..
I find the picture color with:
im=Image.open("/%s" %name)
color=im.mode #p=black & beyaz rgb=color L=grey
This usually work true but in these pictures:
http://malatya.meb.gov.tr/images/alt/ilsis_logo.gif
http://malatya.meb.gov.tr/images/meb.gif
Say me P (black&white) but these pictures are
Jason B wrote:
> Well I kept screwing around and funny thing, this works:
>
> import sys, Image
>
> if len(sys.argv) == 2:
> print "\nReading: "+sys.argv[1]
> image_file = open(sys.argv[1], "rb")
> pixel_data = image_file.read()
>
> im = Image.fromstring("RGB", (326, 325), pixel_data, "ra
Well I kept screwing around and funny thing, this works:
import sys, Image
if len(sys.argv) == 2:
print "\nReading: "+sys.argv[1]
image_file = open(sys.argv[1], "rb")
pixel_data = image_file.read()
im = Image.fromstring("RGB", (326, 325), pixel_data, "raw", "BGR;16")
im.show()
Although I
Hi all,
I'm still new to all of this, but I'm trying to do something here that
*seems* like it should be pretty simple. All I want to do is take an array
of pixel data from a file (no header data or anything, just pixel data) in
RGB565 format and save it off to a bitmap file - or display it, i
Daniel Mark wrote:
> I am using Image module from PIL to save created image as JPG format.
>
> Is there any option I could set for function Image.save so that the
> stored image will have the highest quality.
something like
im.save(filename, quality=90)
should do the trick.
hello all:
I am using Image module from PIL to save created image as JPG format.
Is there any option I could set for function Image.save so that the
stored image will have the highest quality.
Thank you
-Daniel
--
http://mail.python.org/mailman/listinfo/python-list
On Tuesday 12 April 2005 06:01 pm, Nicholas S. Graham wrote:
> I want to convert a field of 4:2:2 digital video data into a viewable
> format (.jpg or something) using the Image module. Any suggestions??
I'll assume that by "Image" module, you mean Python Imaging Library.
I want to convert a field of 4:2:2 digital video data into a viewable
format (.jpg or something) using the Image module. Any suggestions??
NG
--
http://mail.python.org/mailman/listinfo/python-list
13 matches
Mail list logo