Quote Originally Posted by anjani.gandhi View Post
i just come to know that Qt doesnt supports RGBA image format for file reading and writing.
Yes, that's what I wrote, there is no standard image plugin called "RGAB888".

Which is why I asked if you had written your own QImageWriter that does that and if you had debugged it.

Apparently, you don't have such an implementation, so obviously saving in an unknow format would not work.

Quote Originally Posted by anjani.gandhi View Post
guide me how can I set buffer and how i should use it to get RGBA file of my image.
You can either write the pixel data directly into a file, or provide an image plugin that does that.
In the first case you need to call QImage::convertToFormat() after loading, the the second case you can do that in the QImageWriter.

Cheers,
_