Cataloger cataloger = Connector.getCataloger(); Map options = new HashMap(); Map metadata = new HashMap(); options.put(CatalogingOption.DONT_MAKE_DEFAULT_RENDITIONS, Boolean.TRUE); URI uri = new URI("http://upload.wikimedia.org/wikipedia/meta/2/2a/Nohat-logo-nowords-bgwhite-200px.jpg"); String assetVersionUuid = cataloger.catalogFileAtURI(m_userAuth, uri, options, metadata); cleanupAssetUuids.add(assetVersionUuid); // After catalogFileAtURI() returns, the asset version will have a status of Status.IN_PROGRESS. // When the asynchronous FRB tasks (thumbnailing, making proxies, embedded metadata and file property extraction) // have completed, the status will change to Status.COMPLETE. // No renditions will be auto-generated, there is no embedded metadata, and we don't care about file properties, // so there's no reason to wait for the status to change. // Now add the renditions. // Create a bunch of random files to use as renditions URI renditionURIs[] = new URI[] { new URI("http://upload.wikimedia.org/wikipedia/meta/thumb/7/7c/Wikipedia-word.png/174px-Wikipedia-word.png"), new URI("http://pl.wikipedia.org/images/wikimedia-button.png"), new URI("http://pl.wikipedia.org/skins-1.5/common/images/poweredby_mediawiki_88x31.png") }; String renditionUuid = ""; for(int i=0; i&xpart=storyboard&idx=4 // Note that 'xpart' is the scale and should referred to by its constant DownloadServlet.SCALE_PARAM // and 'idx' is the index and should referred to by its constant DownloadServlet.INDEX_PARAM // Renditions can also be downloaded by their UUID: // http://localhost:8080/ems/Download?uuid= // // Modifying a rendition must be done by MetadataManager.setAttributes()