this.alt = alt;
}
public void write(PdbOutputStream out) throws IOException {
int recordId = linkResolver.resolve(uri).getRecordId();
Link fullSizeLink= linkResolver.resolve(uri + ".alternate");
if (fullSizeLink != null) {
out.writeByte(Function.MULTIPLE_EMBEDDED_IMAGE);
out.writeShort(fullSizeLink.getRecordId());
out.writeShort(recordId);
} else {
out.writeByte(Function.EMBEDDED_IMAGE);
out.writeShort(recordId);
}