Measurable Success «10 Checkpoints for Future-Proof Enterprise CMS» White Paper
Measurable Success - White Paper

contentType()

Returns the content type of the binary data, e.g. "image/jpeg".

obj = Scrivito.getClass("Image").all().first();
obj.get('blob').raw().contentType();

Note that contentType cannot be applied to transformed versions of a blob, so raw is used here to refer to the originally uploaded binary. 

Returns

String