#276 problems with old image loader

closed-fixed
nobody
5
2012-11-28
2012-11-27
mentaer
No

OpenJUMP 1.5.2 (and RC 1.6?) seem to hang for some image types according to a user report in the forum:
https://sourceforge.net/projects/jump-pilot/forums/forum/729479/topic/6269315

I attach the two images send by the user:
- Scan-121105-0002.tif: can't load through "Add image layer", but works fine with "Sextante raster":
- E020N30_ql.png: example of PNG image that "hangs" OpenJUMP (also with Sextante raster)

Discussion

1 2 > >> (Page 1 of 2)
  • mentaer
    mentaer
    2012-11-27

     
    Attachments
  • mentaer
    mentaer
    2012-11-27

    • labels: --> OpenJUMP - Menu - File
     
  • Jukka Rahkonen
    Jukka Rahkonen
    2012-11-28

    Some test result follow.
    The png image contain some raw data (bin8, from Photoshop?). I rewrote the file with GDAL into another png file and OpenJUMP can open it. The same happens if I save the png file again with IrfanView. The original png is obviously valid but there is something in it that makes OpenJUMP to fail with it.

    The tif file is using LZW compression which may make troubles.

     
  • Jukka Rahkonen
    Jukka Rahkonen
    2012-11-28

    One more thing about the tif file, it is georeferenced by attaching four ground control points into the GeoTIFF metadata and I doubt that the old image loader supports that system.

     
  • ede
    ede
    2012-11-28

    hmmm,

    tried with current trunk 3085 from within eclipse on win7. used 'add image layer' on both attached files and _nothing_ hangs.

    E020N30_ql.png loads fine showing some kind of map with legend and such.

    Scan-121105-0002.tif runs and tells there were errors. Attributviewer says see screnshot below: 'Neither geotiff tags nor valid worldfile found.'
    does the tiff has the proper tag?

    ..ede

     
  • ede
    ede
    2012-11-28

    error description in attribute viewer

     
    Attachments
  • ede
    ede
    2012-11-28

    my guess would be it's the usual problem with jai. the user probably has some other versions of jai jars laying around in jre folder and these take precedence over our own.

    ..ede

     
  • ede
    ede
    2012-11-28

    • status: open --> closed-fixed
     
  • ede
    ede
    2012-11-28

    ok, just read the forum thread.. obviously Michael already found out pretty much the same already. we should really stick with bug ticket on issues like that, as these are the only one communicated to the mailing list and devs keep updated this way.

    .. anyway, two things

    A) can't the user simply deliver a worldfile for the tif?
    B) as the 'Add image layer' does not hang at all i close this bug as fixed.

    ..ede

     
1 2 > >> (Page 1 of 2)