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

List:       kde-core-devel
Subject:    Re: kimgio: One library for 2 file types
From:       Michael Ritzert <kde () ritzert ! de>
Date:       2002-12-18 20:15:28
[Download RAW message or body]

On Wednesday 18 December 2002 20:27, I wrote:
> Is delegating two mimetypes to one library not supported or am I doing sth.
> wrong?

I found it: From kimageio.cpp:
      // Since Qt doesn't allow us to unregister image formats
      // we have to make sure not to add them a second time.
      // This typically happens when the sycoca database was updated
      // we need to reread it.
[...]
         {
            // Already in list
            format = 0;
            break;
         }

When I say type=j2k in j2k.kimgio and define kimgio_j2k_read to just call
kimgio_jp2_read, everything is fine.
I now get 4 times "yes" at 
http://www.crc.ricoh.com/~gormish/jpeg2000.html#Browser_Support :-)

To be checked in in a moment.

I will go on working on write support and having read use less memory.

Michael

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

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