Announcement

Collapse
No announcement yet.

bitmap to bitmap stretching

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Chris Holbrook
    replied
    Thanks Patrice and Bob. Don't know how I missed GRAPIC STRETCH!

    Leave a comment:


  • Bob Zale
    replied
    Simple. Just use the GRAPHIC STRETCH statement.

    Leave a comment:


  • Patrice Terrier
    replied
    StretchBlit + Halftone

    Leave a comment:


  • Chris Holbrook
    started a topic bitmap to bitmap stretching

    bitmap to bitmap stretching

    I'm fairly new to PBCC V5 and have not attempted much graphical stuff until recently, so forgive me if I ask daft-sounding questions!

    My aim is to load an image from a disk file into a BMP in its original dimensions and subsequently copy it, entire but resized, preserving its aspect ratio, into different parts of a GRAPHIC WINDOW.

    It seems easy enough to go straight from disk file to GW using GRAPHIC RENDER, or GRAPHIC LOAD, but to scale from one bitmap to another appears more difficult. I have tried using GRAPHIC RENDER and relying on the OS to buffer disk access for speed, but the result is still too slow for the application.

    I know that I can do something similar with the GDIPLUS library, but it would be great not to have to.

    Any suggestions?
    Last edited by Chris Holbrook; 12 Nov 2008, 04:26 AM.
Working...
X