[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: [Bug 154698] Won't open some TIFF files
From: Andreas Pakulat <apaku () gmx ! de>
Date: 2007-12-28 1:43:26
Message-ID: 20071228014326.GD3715 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]
On 27.12.07 20:38:59, Tim Wunder wrote:
> On Thursday 27 December 2007 08:24:43 pm Andreas Pakulat wrote:
> <snip>
> > You see there's simply no way for okular to "fix" this, apart from
> > reading the file, then using KMimeType::findByContent() on the binary
> > data and then choosing the backend based on the result. However this
> > means reading the file from disk 2 times, which is quite some overhead
> > and should be thought about really well.
> >
> > Andreas
>
> Couldn't it call KMimeType::findByContent() after it fails to load a file
> based on KMimeType's wrong initial guess? That way the overhead is only there
> if okular fails to load a file.
Well, thats the part that Pino has to comment on, but I'd consider that
a design flaw in Okular if it can't be done.
Andreas
--
Try to value useful qualities in one who loves you.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic