|
-
Dec 28th, 2010, 07:38 PM
#1
Thread Starter
Addicted Member
Changing image shape in vb.net
Hi,
I want to be able to take a flat image and do this with it in my program:

I think I know a logical way of doing it but don't know how to..
- create abitmap as bitmap
- load image into abitmap (in this example image is 60px width x 40px height)
- make new bbitmap as bitmap
- bbitmap is created to a size for example 10px x 40px
- load left section of abitmap into bbitmap so in affect now split the image into two
- change top-right and bottom-right points to lower and higher respectively on abitmap
- change top-left and bottom-left points to lower and higher respectively
- create finalbitmap as bitmap
- draw abitmap and bbitmap on finalbitmap to put them together and make one 3D image
- now use the .mypen tool to draw the line where abitmap and bbitmap ajoins
But..
how do I change the points?
how do I load only PART of an image from abitmap into bbitmap?
Hope this makes sense?
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
|