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

List:       kde-core-devel
Subject:    Re: Kimageio removal
From:       Gregory Hayes <syncomm () gmail ! com>
Date:       2006-01-14 18:43:35
Message-ID: 9f573ec50601141043p55da8826x8ce47eadabcba053 () mail ! gmail ! com
[Download RAW message or body]

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@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
>
>

[Attachment #3 (text/html)]

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? \
<br><br>Greg<br>-<br><br><div><span class="gmail_quote">On 1/14/06, <b \
class="gmail_sendername"> Szombathelyi György</b> &lt;<a \
href="mailto:gyurco@freemail.hu">gyurco@freemail.hu</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Hi!<br><br>I removed kimageio from kdelibs trunk \
yesterday, now I've got a problem of<br>converting some uses in \
kdebase.<br>Especially KImageIO::pattern() and KImageIO::mimeTypes() are \
problematic,<br>since there's no such concept in QImageReader and QImageWriter. Qt \
only knows <br>the &quot;format&quot;, which can be e.g &quot;jpg&quot;, \
&quot;png&quot;, etc...<br>Now I see 2 options:<br>1. Restore KImageIO and the \
.kimgio files, which has the neccessary<br>information, and clean up KImageIO<br> 2. \
Add the Qt image format name to the mime database, e.g. \
with<br>X-KDE-imageformat=jpg. Then new convenience function(s) can be added \
to<br>kmimetype.h, e.g allImageFormats() or sth. else.<br><br>Option 1 is simplest, \
but .kimgio files store nearly the same data as the mime <br>files, except the image \
format name.<br><br>Any opinions? (or other \
ideas?)<br><br>Bye,<br>György<br><br>____________________________________________________________________<br>Miert \
fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol \
<br>Probald ki most! <a \
href="http://www.freestart.hu">http://www.freestart.hu</a><br><br></blockquote></div><br>




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

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