Stretching a bitmap

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Poundall

    #1

    Stretching a bitmap

    Is it possible to import a bitmap and stretch it to fit a defined area
    with wxPython? If so, could someone point me to any relevent web
    reference on the subject?

    Thanks in advance

    David

  • NavyJay

    #2
    Re: Stretching a bitmap

    Try ImageMagik: http://www.imagemagick.org/

    Comment

    • NavyJay

      #3
      Re: Stretching a bitmap

      Try ImageMagik: http://www.imagemagick.org/

      Comment

      • David Poundall

        #4
        Re: Stretching a bitmap

        I need to be able to do this on the fly within a WX frame. I think I
        have found it though. There is a resize function in the image class in
        the _core code of wxPython. All I have to do now is learn how to
        access the bugger. Syntax anyone ??

        Comment

        • David Poundall

          #5
          Re: Stretching a bitmap

          I need to be able to do this on the fly within a WX frame. I think I
          have found it though. There is a resize function in the image class in
          the _core code of wxPython. All I have to do now is learn how to
          access the bugger. Syntax anyone ??

          Comment

          • Larry Bates

            #6
            Re: Stretching a bitmap

            Python Imaging Library (PIL) can size bitmaps. I use
            it to create thumbnails or to size bitmaps quite often.
            There may be a "wxPython" built-in for this also, but
            I don't know what it would be.

            -Larry Bates

            David Poundall wrote:[color=blue]
            > Is it possible to import a bitmap and stretch it to fit a defined area
            > with wxPython? If so, could someone point me to any relevent web
            > reference on the subject?
            >
            > Thanks in advance
            >
            > David
            >[/color]

            Comment

            • Larry Bates

              #7
              Re: Stretching a bitmap

              Python Imaging Library (PIL) can size bitmaps. I use
              it to create thumbnails or to size bitmaps quite often.
              There may be a "wxPython" built-in for this also, but
              I don't know what it would be.

              -Larry Bates

              David Poundall wrote:[color=blue]
              > Is it possible to import a bitmap and stretch it to fit a defined area
              > with wxPython? If so, could someone point me to any relevent web
              > reference on the subject?
              >
              > Thanks in advance
              >
              > David
              >[/color]

              Comment

              Working...