Re: [Image-SIG] python PIL 16-bit tiff files

2010-04-18 Thread Dan Blacker
Hi Sebastian, Yes I am scanning film and need to retain the as much of the color information as possble, so 16bit is essential. Could I perhaps do a convert with imagemagick - that would turn it into a 16bit tif file that PIL could read properly? Cheers, Dan On 12 April 2010 12:32,

Re: [Image-SIG] python PIL 16-bit tiff files

2010-04-18 Thread Dan Blacker
It is the CCD in this that is capturing the information: http://www.epson.com/cgi-bin/Store/consumer/consDetail.jsp?oid=63056499 Are you saying that scanning at 48bit is pointless? Surley to advertise that feature on the scanner it must yeild more color information than at 24bit. My script

Re: [Image-SIG] python PIL 16-bit tiff files

2010-04-18 Thread Dan Blacker
Yes, it is important for me to have all this extra color information, although you are unable to see it, it is very useful when color grading /adjusting levels etc of the scanned film. But does anyone have any idea how I can get PIL to read my file? Thanks, On 12 April 2010 15:30, Oliver

Re: [Image-SIG] python PIL 16-bit tiff files

2010-04-18 Thread Dan Blacker
Hey guys, Thanks for your input, The image is only of a tiny cropped area of a long strip of color kodachrome film - I will send a better example with some more color in it when I get a chance. I was under the impression that PIL handled 16 bit images (experimentally) but does this only apply

[Image-SIG] indicate object with square

2010-04-18 Thread ioannis syntychakis
Hallo, can anybody halp me with the follow; ik have a gryscale image with round objectsin it. I have written a program to detect this objects. (this objects are 10x10 pixel big) then i calculate the average pixelvalue of these objects. Some of the objects can't be found automatically. so, i

[Image-SIG] DPI

2010-04-18 Thread Samuel Moore
I am trying to determine DPI from images. Can anyone help? I tried: img = Image.open(Hamerkop.jpg) img.info[dpi] but it doesn't work for all jpegs. Python 2.5.1 PIL 1.1.7 Regards, Sam ___ Image-SIG maillist - Image-SIG@python.org

Re: [Image-SIG] AccessInit: hash collision: 3 for both 1 and 1

2010-04-18 Thread Łukasz Langa
This is not a proper reply in terms of e-mail but I registered just a second ago just to write this post. So, here goes, replying to Frederik's message from Thu Apr 08 15:01:06 2010: Are you using some virtual env thing that might move modules around, btw? I tried messing with the path to see

Re: [Image-SIG] AccessInit: hash collision: 3 for both 1 and 1

2010-04-18 Thread Fredrik Lundh
2010/4/18 Łukasz Langa luk...@langa.pl: This is not a proper reply in terms of e-mail but I registered just a second ago just to write this post. So, here goes, replying to Frederik's message from Thu Apr 08 15:01:06 2010: Are you using some virtual env thing that might move modules around,