Computer Science Canada

How do you resize a picture

Author:  hello123 [ 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

Author:  Clayton [ 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.


: