[Kde-graphics-devel] KImageIO

Mosfet dan.duley at verizon.net
Thu Jan 13 01:12:00 CET 2005


Okay, that should work. 

The only concern I would have is, as I said, native KImageIO handlers still 
need to be preferred for the memory/speed reasons I noted. That's the whole 
reason I am spending considerable time doing the not-so-fun task of writing a 
ton of format handlers for MImage even tho it can natively utilize 
ImageMagick >:/ ImageMagick is useful, but I personally believe only as a 
fallback and if the slow external decoders aren't used. But that doesn't 
really apply to the ones that were listed ;-)

On Wednesday 12 January 2005 05:08 pm, Dirk Schönberger wrote:
...snip...
> You can specify the size before QImageIO::load, e.g. by specifying QImageIO
> parameters
>
> QImageIO iio;
> iio.setParameters("width:100;height:100");
> QPixmap  pixmap;
> iio.setFileName( "vegeburger.bmp" );
> if ( image.read() )        // ok
>    pixmap = iio.image();  // convert to pixmap
>
> and honor these parameters in the QImageIO handler
> About ideas how to extract the information in a QImageIO handler you could
> look at http://bugs.kde.org/show_bug.cgi?id=84050
>
> Regards
> Dirk
>
>
>
>
> _______________________________________________
> Kde-graphics-devel mailing list
> Kde-graphics-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-graphics-devel


More information about the Kde-graphics-devel mailing list