I have made one console application in which I have pre-generated all images as same as nopCommerce does for generating images.
Here is my code:
thumbF