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

Username:   Password: 
 RegisterRegister   
 How do you resize a picture
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
hello123




PostPosted: Sun Jan 13, 2008 6:11 pm   Post subject: How do you resize a picture

how do u resize a picture

procedure displayPic
pictureID := Pic.FileNew ("Keyboard2.jpg")
picHeight := Pic.Height (pictureID)
picWidth := Pic.Width (pictureID)
Pic.Draw (pictureID, 0, 0, picMerge)
getch (key)
end displayPic

picture from this link:
http://www.hipinglasgow.com/images/word/Keyboard2.jpg
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Sun Jan 13, 2008 7:21 pm   Post subject: RE:How do you resize a picture

Look into Pic.Scale(). I believe that is what you are looking for.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: