Skip to content

Commit

Permalink
2024.06.13 (1.54k1; FolderOpener)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasband committed Jun 13, 2024
1 parent fc8c05e commit 8fa08fa
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions ij/ImageJ.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
21 changes: 11 additions & 10 deletions ij/plugin/FolderOpener.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

Expand Down
7 changes: 7 additions & 0 deletions release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
</head>
<body>

<li> <u>1.54k1 13 June 2024</u>
<ul>
<li> Thanks to 'odinsbane', fixed bug with FolderOpener
(<i>File&gt;Import&gt;Image Sequence</i>) only using the
first FileInfo from tiff stacks.
</ul>

<li> <u>1.54j 12 June 2024</u>
<ul>
<li> Thanks to 'ramnoob', added a number of official tags
Expand Down

1 comment on commit 8fa08fa

@imagesc-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/what-is-a-good-image-format-for-3d-timelapse-with-cropping-and-scaling/91731/3

Please sign in to comment.