TIFF image too large to display? [message #1807376] |
Tue, 28 May 2019 19:45 |
Page Mising name Messages: 31 Registered: July 2009 |
Member |
|
|
Hi,
I am getting following error when trying to display a large TIFF image. I am wondering if there is a limit on the image size/dimension?
Is there way to shrink the image and then display it?
For this particular image:
Dimension: 18665x13296
Resolution: 400dpi (horizontal and veritical)
Bit Depth: 24
Compression: LZW
java.lang.OutOfMemoryError: Java heap space at org.eclipse.swt.internal.image.TIFFDirectory.decodePixels(TIFFDirectory.java:157) at org.eclipse.swt.internal.image.TIFFDirectory.read(TIFFDirectory.java:499) at org.eclipse.swt.internal.image.TIFFFileFormat.loadFromByteStream(TIFFFileFormat.java:65) at org.eclipse.swt.internal.image.FileFormat.loadFromStream(FileFormat.java:59) at org.eclipse.swt.internal.image.FileFormat.load(FileFormat.java:90) at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:155) at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:25) at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:335) at org.eclipse.jface.resource.URLImageDescriptor.getImageData(URLImageDescriptor.java:125)
Thanh you very much for the help!
|
|
|
Powered by
FUDForum. Page generated in 0.04238 seconds