Skip to content

Commit

Permalink
Merge pull request #3 from jakesebright/jp2-support
Browse files Browse the repository at this point in the history
Enabled JP2 support
It used to fail for some JP2 images, that's why I didn't include the support. Let's just add it and wait for people to complain ;-)
  • Loading branch information
chris1010010 authored Sep 12, 2017
2 parents a0fac69 + 01cef17 commit 28ad3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/primaresearch/page/viewer/EventListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public void run()
//Select image manually
FileDialog fd = new FileDialog(pageViewer.getMainWindow().getShell(), SWT.OPEN);
fd.setText("Select Image");
String[] filterExt = { "*.tif", "*.jpg", "*.png"/*, "*.jp2"*/ };
String[] filterExt = { "*.tif", "*.jpg", "*.png", "*.jp2" };
fd.setFilterExtensions(filterExt);
filePath = fd.open();
}
Expand Down

0 comments on commit 28ad3e4

Please sign in to comment.