Hi,
I have a very simple code
IImageData img= ((DrawingML)node).getImageData();
BufferedImage bi= img.toImage();
However, the following log statement reports different sizes
imageType=EMF;name=Picture 20;
imageSize.Width=6098; imageSize.Height=3982;
imageSize.HorRes=600; imageSize.VertRes=600;
imageSize.WPoints=732;imageSize.HPoints=477;
bufferedImageType=INT_ARGB;
biWidth=2048; biHeight=1337;
I understand Points are scaled based on Resolution, but why is BufferedImage Width and Height different from IImageData Width and Height. I’m guessing the BufferedImage Width is restricted to 2048 for memory reasons.
How do I force the actual IImageData dimensions in BufferedImage?
How do I force the actual IImageData dimensions in BufferedImage?