Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. This viewer is conceived to open and display information and image content of J2K, JP2,
  2. and MJ2 files.
  3. The viewer application interface is divided into three main panels:
  4. - a browsing pane;
  5. - a viewing pane;
  6. - a log/peek pane.
  7.  
  8. The browsing pane will present the markers or boxes hierarchy, with position (byte number where marker/box starts and stops) and length information (i.e., inner length as signalled by marker/box and total length, with marker/box sign included), in the following form:
  9.  
  10. filename
  11. |
  12. |_ #000: Marker/Box short name (Hex code)
  13. |  |
  14. |  |_ *** Marker/Box long name ***
  15. |  |_ startbyte > stopbyte, inner_length + marker/box sign length (total length)
  16. |  |_ Additional info, depending on the marker/box type
  17. |  |_ ...
  18. |
  19. |_ #001: Marker/Box short name (Hex code)
  20. |  |
  21. |  |_ ...
  22. |
  23. ...
  24.  
  25.  
  26. The viewing pane will display the decoded image contained in the JPEG 2000 file.
  27. It should display correctly images as large as 4000x2000, provided that a couple of GB of RAM are available. Nothing is known about the display of larger sizes: let us know if you manage to get it working.
  28.  
  29.  
  30. The log/peek pane is shared among two different subpanels:
  31.  
  32. - the log panel will report a lot of debugging info coming out from the wx GUI as well as from the openjpeg library
  33. - the peek pane tries to give a peek on the codestream/file portion which is currently selected in the browsing pane. It shows both hex and ascii values corresponding to the marker/box section.
  34.  
  35.