Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Saving large pictures that have been drawn on
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
LegendsEnd




PostPosted: 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.
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: 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!
LegendsEnd




PostPosted: Sat Jun 10, 2006 3:16 pm   Post subject: (No subject)

Is there a way to invisably open the 300x300 window?
LegendsEnd




PostPosted: Sat Jun 10, 2006 3:32 pm   Post subject: (No subject)

Nevermind, thanks for the help Hacker Dan, solved the problem.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: