Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/Images/LargePicture/Scaling Speed Test
Function:
Required plugins for this example: MBS Images Plugin, MBS Main Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Images/LargePicture/Scaling Speed Test
This example is the version from Sun, 17th Mar 2012.
Project "Scaling Speed Test.rbp"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
EventHandler Sub Open() dim l as Picture = LogoMBS(500) // original dim p as new PictureMBS(l) // destination dim q as new PictureMBS(20000,20000,PictureMBS.ImageFormatRGB, 150000000, SpecialFolder.Temporary.Child("q.data")) // temporary dim t as PictureMBS = nil // (20000,20000,PictureMBS.ImageFormatScaling, 150000000, SpecialFolder.Temporary.Child("t.data")) dim n as integer = ticks dim b as Boolean = q.Scale(p, t, q.ScaleBox, 20000,20000) n=ticks-n if b then MsgBox "OK "+str(n/60/60)+" minutes" else MsgBox "Failed "+str(n/60/60)+" minutes" end if End EventHandler
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Images Plugin.




Links
MBS Xojo Chart Plugins