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?
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?
Comment