This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make a variable of: List<Image> | |
// I'm not going to give any support other than saying that you need to run this in a form app in c# | |
// It assumes a image size of 256 x 256, change the values at will. | |
var numperrow = 4; | |
var w = 256 * numperrow; | |
int h = int.Parse(Math.Ceiling(double.Parse(imgs.Count.ToString()) / numperrow).ToString()) * 256; | |
if (imgs.Count * 256 < 256 * numperrow) | |
{ | |
w = imgs.Count * 256; |
NewerOlder