Your question is not clear.
Pl. rephrase the question properly. In case u want to view any graphics file u can use any available shareware viewer or write your own viewer using the various file formats available on the net.
I just copied and pasted this code from bytamin-c.com. It will rotate a bitmap 90 degrees.
The code works this way; it creates a buffer image to store the proceedings, then takes each line of the image and changes it as a column on the buffer image. Finally, it transfers the result back to the original image.
//definitions of a buffer bitmap and the clipping rectangles
Graphics::TBitmap *bufferbitmap=new Graphics::TBitmap();
bufferbitmap->Width=Image1->Height;
bufferbitmap->Height=Image1->Width;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.