How to generate Thumbnail from Byte Array or IFromFile or LiveUrl. Thumbnail type is - jpeg. IFromFile file can have - pdf,doc,png,excel,zip etc.