dcsimg
Results 1 to 3 of 3

Thread: Transform image shape?

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    39

    Transform image shape?

    Hi guys,

    I'm trying to fit a image to a different shape templates like this:





    so far I can only transform the image to specific rectangular or square boxes with rotation but I'm lost if the shape has a round or a curve.

    Thanks,


    Diego

  2. #2
    Hyperactive Member metalmidget's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia
    Posts
    342

    Re: Transform image shape?

    You'll get much more help if you post more details. What language are you using? What library? What code do you have so far and what troubles are you having with the next step?
    Personally, this doesn't look like something I'll be able to help you with, but others here will, if you give them something to work with.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    39

    Re: Transform image shape?

    you are right, let me explaine more I'm using VB.Net and so far to do simple transform I use this:

    Code:
                    Dim face2(2) As Point
                    face2(0) = New Point(46, 14)
                    face2(1) = New Point(65, 27)
                    face2(2) = New Point(46, 229)
    
                    g.TranslateTransform(-29, 41)
                    g.DrawImage(m_Image, face2)
    BTW I'm not looking for the solution code, I just need a little guide or path of where to start looking

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width