Kimageio removal
Gregory Hayes
syncomm at gmail.com
Sat Jan 14 18:43:35 GMT 2006
I vote for option 2. I think QImageReader and friends provide us with most
of what we need. Do you know if the QimageReader::canRead can handle URIs?
Greg
-
On 1/14/06, Szombathelyi György <gyurco at freemail.hu> wrote:
>
> Hi!
>
> I removed kimageio from kdelibs trunk yesterday, now I've got a problem of
> converting some uses in kdebase.
> Especially KImageIO::pattern() and KImageIO::mimeTypes() are problematic,
> since there's no such concept in QImageReader and QImageWriter. Qt only
> knows
> the "format", which can be e.g "jpg", "png", etc...
> Now I see 2 options:
> 1. Restore KImageIO and the .kimgio files, which has the neccessary
> information, and clean up KImageIO
> 2. Add the Qt image format name to the mime database, e.g. with
> X-KDE-imageformat=jpg. Then new convenience function(s) can be added to
> kmimetype.h, e.g allImageFormats() or sth. else.
>
> Option 1 is simplest, but .kimgio files store nearly the same data as the
> mime
> files, except the image format name.
>
> Any opinions? (or other ideas?)
>
> Bye,
> György
>
> ____________________________________________________________________
> Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a
> FreeStarttol
> Probald ki most! http://www.freestart.hu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060114/a988d489/attachment.htm>
More information about the kde-core-devel
mailing list