Saving large pictures that have been drawn on
Author |
Message |
LegendsEnd
|
Posted: Sat Jun 10, 2006 2:15 pm Post subject: Saving large pictures that have been drawn on |
|
|
Say we make a window 100x100
I load an image that is 300x300 (So we only see a corner of it)
I do a drawbox on the image.
I want to do a Pic.Save, creating the 300x300 picture, but with a box.
Is it possible?
I have tried doing a Pic.New(0,0,300,300) and for some reason it can't create the picture =/.
The only other method I can think of is to scale it down to 100x100, save, load it onto a different window, scale it to 300x300, then save. I don't feel like trying this method if I don't have to though. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Sat Jun 10, 2006 3:00 pm Post subject: (No subject) |
|
|
To my understanding the Pic.Save method only works with what is on screen and not anything in the off screen buffers or images stroed in memeory. I whould have to look at the turing help ref to be shure tho.
My only idea whould be to make the window 300x300 to start with and then make it 100x100 affter you do the Pic.Save. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
LegendsEnd
|
Posted: Sat Jun 10, 2006 3:16 pm Post subject: (No subject) |
|
|
Is there a way to invisably open the 300x300 window? |
|
|
|
|
![](images/spacer.gif) |
LegendsEnd
|
Posted: Sat Jun 10, 2006 3:32 pm Post subject: (No subject) |
|
|
Nevermind, thanks for the help Hacker Dan, solved the problem. |
|
|
|
|
![](images/spacer.gif) |
|
|