build response entity directly from .swc inputStream for thumbnail generation