We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fdf5e1 commit 447c919Copy full SHA for 447c919
layout/src/main/java/com/itextpdf/layout/element/Image.java
@@ -413,7 +413,7 @@ protected IRenderer makeNewRenderer() {
413
414
private static com.itextpdf.io.image.Image checkImageType(com.itextpdf.io.image.Image image) {
415
if (image instanceof WmfImage) {
416
- throw new PdfException(PdfException.CannotCreatePdfStreamByInputStreamWithoutPdfDocument);
+ throw new PdfException(PdfException.CannotCreateLayoutImageByWmfImage);
417
}
418
return image;
419
0 commit comments