tiff with 16bit/channel

View: New views
2 Messages — Rating Filter:   Alert me  

tiff with 16bit/channel

by Fabio Marcone :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!
this is my first post here. I'm using PIL to create a thumbnail (jpeg)
for an image tiff with 16 bits per channel but I got an "illegal
conversion" error.

Is there a way to solve it?

if not, is there a way to modify pil to transform from 16 to bit image
before load it in memory?
someone can suggests me where I have to apply changes in source code?

thanks in advance,
Fabio Marcone
_______________________________________________
Image-SIG maillist  -  Image-SIG@...
http://mail.python.org/mailman/listinfo/image-sig

Re: tiff with 16bit/channel

by Fredrik Lundh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To keep us from guessing, please post a short code snippet that
illustrates the problem, plus the full traceback.

</F>

On Thu, Oct 29, 2009 at 12:30 PM, Fabio Marcone <fabio.marcone@...> wrote:

> Hi!
> this is my first post here. I'm using PIL to create a thumbnail (jpeg) for
> an image tiff with 16 bits per channel but I got an "illegal conversion"
> error.
>
> Is there a way to solve it?
>
> if not, is there a way to modify pil to transform from 16 to bit image
> before load it in memory?
> someone can suggests me where I have to apply changes in source code?
>
> thanks in advance,
> Fabio Marcone
> _______________________________________________
> Image-SIG maillist  -  Image-SIG@...
> http://mail.python.org/mailman/listinfo/image-sig
>
_______________________________________________
Image-SIG maillist  -  Image-SIG@...
http://mail.python.org/mailman/listinfo/image-sig