Tag: openkm

在Angular4中渲染缩略图

我正在尝试将我从Java服务获得的图像渲染为InputStream ,并通过NodeJS Express服务器重新发送,最后将其渲染为Angular4 这就是我所做的: Java Jersey服务: @GET @Path("thumbnail") @ApiOperation( value = "Gets document preview", notes = "Gets document preview" ) @ApiResponses(value = { @ApiResponse(code = 200, message = "Preview of the document") }) @Consumes(MediaType.MULTIPART_FORM_DATA) @Produces("image/png") public Response getDocThumbnail( @ApiParam(value = "Entity UUID", required = true) @FormDataParam("uuid") String uuid ) throws RepositoryException, UnknowException, WebserviceException, PathNotFoundException, DatabaseException, […]