Hi,

Sorry for delay,

But to be honest, if that's all you want to do (ie. displaying an image with the size of your view), it's not worthy to spend your time on it and much better to use Qt (QPainter) instead.
Yes, QPainter will be easy to use, but my application is time critical and don't want to spend time on displaying images. So I decided that OpenGL be useful
for this purpose.

Thanks,