[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QImageIO class
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2004-02-23 0:04:08
Message-ID: 200402230004.09432.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Sunday 22 February 2004 20:53, michael ferraro wrote:
> hello phil
>
> I see that as of last Nov. 2003 it seems that adding a new QImageIO
> handler
> wasn't supported.  It appears the this is still the case with sip4.
> Can this
> be added.  I need to read/write targa and photoshop images in addition
> to the ones supported by TrollTech.

I don't think it's possible to implement this. The callback doesn't provide 
enough information to be able to work out which Python function to call.

A work around would be for you to implement a helper C++ class for each of the 
formats you need to handle and generate wrappers for those.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic