{
XMPMetadata metadata = XMPMetadata.createXMPMetadata();
TypeMapping tmapping = metadata.getTypeMapping();
ExifSchema exif = new ExifSchema(metadata);
metadata.addSchema(exif);
OECFType oecf = new OECFType(metadata);
oecf.addProperty(tmapping.createInteger(oecf.getNamespace(), oecf.getPrefix(), OECFType.COLUMNS, 14));
oecf.setPropertyName(ExifSchema.OECF);
exif.addProperty(oecf);
XmpSerializer serializer = new XmpSerializer();
serializer.serialize(metadata, new ByteArrayOutputStream(), false);