Resize Image pathSource = Path where is original Image imgSource = Name Image original w = Width h = Height pathDestiny = Path where you want put new Image imgDestiny = Name Image new format = "png" or "jpeg" ratio = "yes" if you want maintaing its aspect ratio, otherwise "no" and resize your w and h Example: DimpicAsResizePicture File.Copy(File.DirAssets, "test.jpg",File.DirRootExternal,"test.jpg")
DimnomepathAsString = File.DirRootExternal pic.resize( nomepath, "test.jpg", 600, 400, nomepath, "vedi","jpeg", "yes")
Resize and Copy Image from URL to Destiny ;) - Joke NJDude pathSourceUrl = URL where is original Image imgSource = Name Image original w = Width h = Height pathDestiny = Path where you want put new Image imgDestiny = Name Image new format = "png" or "jpeg" ratio = "yes" if you want maintaing its aspect ratio, otherwise "no" and resize your w and h Example: DimpicAsResizePicture DimnomepathAsString = File.DirRootExternal pic.resizeUrl("http://devil-app.eu/immagini_mie/","test.jpg", 250,150, File.DirRootExternal,"vedi","jpeg","yes")Top