71634

Anyone have any luck writing a very fast tiff viewer/editor in Java?

Question:

I have explored several leads (sample apps) in the JAI/ImageIO arena, and have so far come up lacking in performance.

It may just be that Java is not the platform for fast viewing/scaling/editing of tiff files.

I am looking to produce performance similar to Irfanview, but so far haven't found what I am looking for.

JAI\ImageIO seems possible - but there seems to be many variations in how one can load/scale/display the images (in so far as performance is concerned).

Anyone have any luck or recommendations for other rocks to turn over (other libraries, or even JNI c extension route) would love to hear them!

Answer1:

I would really recommend the JAI/ImageIO route.

Several years ago I had this same issue of displaying massive tiff files for cropping rotation etc, and after spending some good time with JAI I was able to work with the tiff images without any issues of performance. These were in excess of 90Mb

I'm not able to recall any usefull tips, but you are going in the right direction with JAI. I would imagine the performance has increased over the years too :)

Recommend

  • can't get ionic v4 CLI generated component to work
  • Checking to see if an NSString contains characters from a different NSString
  • How can remove the null values?
  • How can I get the wrapped input from an ion-input in Ionic2?
  • .Net MVC Core Policy based authorization with JWT
  • Excel VBA Range object Error in Looping Through Worksheet
  • Regular expression to check if a String is a positive natural number
  • how to remove space between characters of a string using wide char to multibytes?
  • Apache Spark on HDFS: read 10k-100k of small files at once
  • How to insert values from dynamically added rows into database
  • Why is AngularJS considered MV*
  • Save iText created PDF to internal memory as MODE_WORLD_READABLE
  • Using pdfclown few search keywords are not highlighting in chinese/japanese documents
  • Unable to edit with bcdedit filelds in powershell - cmd.exe command line fails
  • MouseScroll event does not trigger when TextBox is scrollable
  • Passing data between Fragments in View Pager
  • Extending a return object with keys matching a dynamic child
  • Upload synthesized speech from firebase function node.js server's tmp directory
  • Unknown type name with typedef struct in C
  • Getting CKEditor to work with Flask Admin
  • wxPython UltimateListCtrl check (tick) listitem programatically
  • List using with references, changes behavior when used as a member
  • Xmlserializer to C# object, store original XML element
  • How to wrap a JMS to WebSphere MQ bridge in a synchronous call using the request-reply pattern?
  • Can someone explain how Yii minimizing assets is supposed to work on Heroku?
  • Nested AJAX Calls using .done
  • jQuery YQL SELECT FROM rss variable
  • Was there ever a proposal to include the URL fragment into the HTTP request?
  • How to run Daphne Server (Django Channels) & workers in the background?
  • Failed to resolve: firebase-auth-15.0.0 [closed]
  • Find corners of a rotated rectangle
  • Django REST framework - HyperlinkedRelatedField with additional parameter
  • Request Access Token in Postman for Azure Function App protected by Azure AD B2C
  • How to write seo friendly url's using htaccess?
  • Django, uWSGI & nginx: Process dies for “no reason”
  • using maven pom while creating jar:test-jar some times it says JAR will be empty - no content was ma
  • 'url' requires a non-empty first argument. The syntax changed in Django 1.5, see the docs
  • Excel VBA : conditional formatting of sheet1 cells from sheet2 values in excel 2007
  • Using Service Component Runtime