Results 1 to 5 of 5
  1. #1
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    'Distort' an image (VB6)

    I have been through my book from cover to cover and don't seem to find the answer.

    I have created a very basic programme that allows me to view specific graphics in a folder, not difficult but what I want to do maybe!

    What I eventually want to do is distort the chosen image so that it becomes a romboid, wider at the top than the bottom. I note that you can only change the width and height and this effects the whole image.

    Can this be done in VB6?

    Jerry
    Jerry

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: 'Distort' an image (VB6)

    As far as I know, VB6 does not have built-in support for that kind of manipulation of graphics. You'd have to write your own graphics library (a lot of work!), or perhaps you can find a third-party graphics library...

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: 'Distort' an image (VB6)

    Thanks Hans

    I was Googling to see if there was anything out there, no luck so far. It was nothing important, just a pet project I am doing at home.

    Jerry
    Jerry

  4. #4
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Marietta, Georgia, USA
    Posts
    296
    Thanks
    9
    Thanked 4 Times in 4 Posts

    Re: 'Distort' an image (VB6)

    This sounds like something Rod Stephens can help you with. He is a VB columnist who has done some interesting graphic programming. He has written a book on the subject:
    http://www.vb-helper.com/vbgp.htm

    He also has a web site with LOTS of examples. You may find what you're looking for here:
    http://www.vb-helper.com/index_graphics.html
    Rick Groszkiewicz
    Life is too short to drink bad wine (or bad coffee!)

  5. #5
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: 'Distort' an image (VB6)

    Thanks Rick

    Excellent set of links. This will keep me busy!

    Jerry
    Jerry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •