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

List:       kde-kimageshop
Subject:    Pixel access
From:       Michael Thaler <michael.thaler () physik ! tu-muenchen ! de>
Date:       2004-09-27 15:23:54
Message-ID: E1CBxM2-0002Zz-00 () neo ! t30 ! physik ! tu-muenchen ! de
[Download RAW message or body]

Hi,

scaling gives good results, but the scaling code is really slow. The problem 
is, that the code accesses pixels using readpixel(x,y,x,y,pixel). This is 
probably the slowest way to access pixels. I think basically it would be the 
best idea to read a whole line from an image at a time. This could be done by 
calling readpixel (0,y,width(),y,line). But is this the most efficient way or 
is it better to use iterators. If yes, how can I use the iterators to read a 
whole line?

Michael
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread] 

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