Package org.opencastproject.coverimage
Interface CoverImageService
- All Known Implementing Classes:
AbstractCoverImageService,CoverImageServiceOsgiImpl,CoverImageServiceRemoteImpl
public interface CoverImageService
Provides capabilities to generate a cover image
-
Field Summary
Fields -
Method Summary
-
Field Details
-
JOB_TYPE
- See Also:
-
-
Method Details
-
generateCoverImage
Job generateCoverImage(String xml, String xsl, String width, String height, String posterImageUri, String targetFlavor) throws CoverImageException Creates a job for creating a cover image for movie/media package.- Parameters:
xml- metadata as XML. Will be handed over to the XSL transformation. Optional, if not given, there should be a fallbackxsl- the XSL stylesheet used to create the SVG version of the cover imagewidth- the width of the resulting imageheight- the height of the resulting imageposterImageUri- file URI to an additional poster image (optional)targetFlavor- target flavor- Returns:
- a job instance
- Throws:
CoverImageException- if there is an error while creating the job
-