Hi,
>Where are you drawing the image and on which platform. There
>is no dithering happening QPainter nor QImage for 32 bit color
>depths, so the only places where dithering can happen is if
>you are running on a 16-bit display or if the original image
>was already dithered. Since you say the dithering goes away
>with larger pen widths (more blurried image) it sounds like
>the source is the problem.
>-
>Gunnar
Actually it was the alpha channel that I had not properly used and
thanks yet again to Gunnar for helping me to solve this problem.
The following code got it working ...
QImage img1 = img.alphaChannel();
for (int i = 0; i < w(); i++) {
for (int j = 0; j < h(); j++) {
// do the pixel manipulation here
}
}
img.setAlphaChannel(img1);
return img;
BR
Chetan
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest