Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TIFF image too large to display?
TIFF image too large to display? [message #1807376] Tue, 28 May 2019 19:45
Page Mising name is currently offline Page Mising nameFriend
Messages: 29
Registered: July 2009
Junior Member

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( at at org.eclipse.swt.internal.image.TIFFFileFormat.loadFromByteStream( at org.eclipse.swt.internal.image.FileFormat.loadFromStream( at org.eclipse.swt.internal.image.FileFormat.load( at at at<init>( at org.eclipse.jface.resource.URLImageDescriptor.getImageData(

Thanh you very much for the help!
Previous Topic:Howto run SWT 3.7 (Eclipse Indigo) under Mac OS X 10.14
Next Topic:TIFF image too large to display?
Goto Forum:

Current Time: Sat Apr 17 16:05:10 GMT 2021

Powered by FUDForum. Page generated in 0.01692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top