From 8fa08fa17d0729930209bb1cf894c72f7d63e6e3 Mon Sep 17 00:00:00 2001 From: Wayne Rasband Date: Thu, 13 Jun 2024 11:22:04 -0400 Subject: [PATCH] 2024.06.13 (1.54k1; FolderOpener) --- ij/ImageJ.java | 4 ++-- ij/plugin/FolderOpener.java | 21 +++++++++++---------- release-notes.html | 7 +++++++ 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/ij/ImageJ.java b/ij/ImageJ.java index 83f784f2..c845e032 100644 --- a/ij/ImageJ.java +++ b/ij/ImageJ.java @@ -78,8 +78,8 @@ public class ImageJ extends Frame implements ActionListener, MouseListener, KeyListener, WindowListener, ItemListener, Runnable { /** Plugins should call IJ.getVersion() or IJ.getFullVersion() to get the version string. */ - public static final String VERSION = "1.54j"; - public static final String BUILD = ""; //25 + public static final String VERSION = "1.54k"; + public static final String BUILD = "1"; public static Color backgroundColor = new Color(237,237,237); /** SansSerif, 12-point, plain font. */ public static final Font SansSerif12 = new Font("SansSerif", Font.PLAIN, 12); diff --git a/ij/plugin/FolderOpener.java b/ij/plugin/FolderOpener.java index 04b289b1..e48fbe7a 100644 --- a/ij/plugin/FolderOpener.java +++ b/ij/plugin/FolderOpener.java @@ -535,16 +535,17 @@ private void openAsFileInfoStack(FileInfoVirtualStack stack, String path) { fi.longOffset = fi.getOffset() + i*(size + fi.getGap()); stack.addImage(fi); } - } else { - FileInfo fi = info[0]; - if (fi.fileType==FileInfo.RGB48) { - for (int slice=1; slice<=3; slice++) { - FileInfo fi2 = (FileInfo)fi.clone(); - fi2.sliceNumber = slice; - stack.addImage(fi2); - } - } else - stack.addImage(fi); + } else { + for (FileInfo fi : info) { + if (fi.fileType == FileInfo.RGB48) { + for (int slice = 1; slice <= 3; slice++) { + FileInfo fi2 = (FileInfo) fi.clone(); + fi2.sliceNumber = slice; + stack.addImage(fi2); + } + } else + stack.addImage(fi); + } } } diff --git a/release-notes.html b/release-notes.html index 0de81e59..79d132c9 100644 --- a/release-notes.html +++ b/release-notes.html @@ -5,6 +5,13 @@ +
  • 1.54k1 13 June 2024 + +
  • 1.54j 12 June 2024