throw new InstantiationException("Could not find suitable codec for file "+oItm.name());
}
Log.out.debug("Picture.createThumbBitmap("+sCodec+","+String.valueOf(iWidth)+","+String.valueOf(iHeight)+",80)");
byte[] byThumb = oPic.createThumbBitmap(aBytes, sCodec, iWidth, iHeight, 80);
Document oThl = oDms.newDocument(oDms.getDocumentType(oDoc.type().name()+"Thumbnail"), oDoc);
AttributeMultiValue oAtr = oThl.attribute("width");
oAtr.set((long) iWidth);
oAtr = oThl.attribute("height");
oAtr.set((long) iHeight);
oThl.save("");