|
-
Aug 24th, 2001, 08:48 AM
#1
Thread Starter
Addicted Member
Rotate picture
Hail,
Can I use an API call to rotate a picture from a picture box (Need to make pic face north, NE, E, SE, S, SW, W, NW). Obviously I could save the pic in the different positions, but before I do that, I'd like to know if I can do it this way...
Phailak
-
Aug 24th, 2001, 01:18 PM
#2
PowerPoster
I can tell you a way to flip pictures horizontally or vertically. You can use the PaintPicture Method of VB or BitBlt/StretchBlt api call for this purpose.
You need to use two Pictureboxes for this purpose. One which will contain the original picture, and the other wich will contain the flipped picture. Keep both the picturesboxes of same size and use PaintPicture to copy in a reverse order.
Last edited by amitabh; Aug 24th, 2001 at 01:33 PM.
-
Aug 24th, 2001, 05:11 PM
#3
Thread Starter
Addicted Member
Hail,
Thanx, but I need to rotate so I guess I'll have to do it manually (8 pics per character)
Phailak
-
Aug 25th, 2001, 04:48 AM
#4
PowerPoster
There is a program that does this. I had it, but I can't find it. They used BitBlt and it came with a game called DXtanks. I got it from around here somewhere...
-
Sep 10th, 2001, 04:15 AM
#5
New Member
you can use imageedit ocx
Imgedit1.Image = path to picture
Imgedit1.Display
Imgedit1.RotateRight or RotateLeft this rotates your image 90°
Imgedit1.Save
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|