I have added the information in our issue tracking system and will get back to you with feedback as soo as issue will be addressed.
Any update on the Issue CADJAVA-826
I regret to share that the issue is unresolved. We will share updates with you as soon as it will be addressed.
You can please try using following sample code snippet to find an image by name and image path update using latest Aspose.CAD for Java 20.11.
CadImage cadImage = (CadImage) Image.load(getPath(fileName));
for (ICadBaseEntity entity : cadImage.getEntities()) {
if (entity.getTypeName() == CadEntityTypeName.IMAGE) {
CadRasterImage rasterImage = ((CadRasterImage) entity);
String imagePath = null;
for (CadBaseObject baseObject : cadImage.getObjects())
{
if (baseObject.getTypeName() == CadObjectTypeName.IMAGEDEF) {
CadRasterImageDef imageDef = (CadRasterImageDef) baseObject;
if (imageDef.getObjectHandle().equals(rasterImage.getImageDefReference())) {
//image path was found
imagePath = imageDef.getFileName();
break;
}
}
}
if (imagePath.contains("client")) {
//some improvements to client image
}
}
}