• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Hi. Problems with rotate

Started by gaara, 13 March 2008, 20:28:14

Previous topic - Next topic

gaara

Hi everyone I tried to use Vampyre Imaging library looks so cool but there is one problem a simple I guess.
Actually can you tell me how show an image in a Timage using the function Imaging.rotate(img,90);
I tried to do this simple example
var img:TimageData
initImage(img)
imaging.loadfilefrom('x:\y.bmp',img)
Imaging.rotate(img,90);
something like before I did in code but I was wondering how could I but this image in a Timage and how to assign into a bitmap. Thanks for reading see ya  :o

Galfar

You can use ConvertDataToBitmap function from ImagingComponents unit to convert TImageData to TBitmap.
Then you can assign this bitmap to TImage.Picture.Bitmap.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name:
Email:

Shortcuts: ALT+S save/post or ALT+P preview

SMF spam blocked by CleanTalk