Most of my macro lenses are by Laowa. They are adapted for Nikon. Therefore, you do not have the F (apterture) information in the EXIF.
To convert my RAWs Nefs files from my cameras (D700 - D850 - Z6-iii) to TIFF 16 bit and Jpegs I work with RawTherapee 5.12.
In the coming days I will investigate with further stacks and I will post my findings
OK, the f value is not a problem, it gets propagated as is when copying EXIF data. The issue must be somewhere else. I will test you files both on macOS and Windows, and will se what we get.
In the coming days I am going to test vers. 1.9.2 with different NIkon cameras and lenses.
At present, though, I can confirm - reproduce 2 problems on a different setup: Windows 10, Intel Cpu I5-8500 - 16 gb RAM
Whenever you select only a few files of the stack the process fail at the very end. Tested both a Jpeg stack and a Tiff one. This occurs also on Windows 11 with a different CPU.
In addition, when you process a Tiff stack (whole folder selection to make it work…) you can save (ctr+shift+s) the final image as Tiff or png BUT the jpeg image is “corrupted” in that the jpeg image is very small as size (byte) and, when you open it, it is completely white (even its thumbnail is showed as white in the Explorer). Very strange indeed
On the plus side, with this pc, there are no artefacts while using the brush (retouch options) over the borders.
When you will send me your set of files, please, also give me the list of files you select, so I can reproduce exactly what you do.
Could you also please send me the full path you use in your PC? It may also be a problem with path treatment as a string on Windows (special characters, path too long, or something else I can’t imagine).
Just tested v. 1.9.2 on Windows 10, Intel Cpu I5-8500 - 16 gb RAM
Nikon d700 with macro nikkor 60mm
This time I did not convert the RAWs files to TIFF or jpeg (with RawTherapee 5.12) but I used the jpeg created from the Nikon D700. This in order to simplify the process.
With a stack of 10 jpeg D700 images the process always fail when I try to retouch the image
It is the same (??? ) error which occurs when you select only a few images.
Here is the video:
EDIT:
This is the full path (no spaces or special characters) for these D700 jpeg images:
D:\STACKING\PROVE_EXIF_SHINESTACKER\D700_NIKON-60mm\D700_JPEG_DA-NIKON-NO-RAWTHERAPEE
I understood the problem. Nikon D700 JPEG have a huge EXIF tag called MakerNote that exceeds the limit of PIL python library of 65533 bytes. I can read those EXIF data, but not write it to any output file.
I tried to drop this tag, but for doeesn’t work, so the fallback solution for the moment will be to skip EXIF data in those problematic cases, and I have fixed how to handle those errors, so in next bug-fix release there will be no corrupted output file. But will investigate more possible solutions.
Concering the other problem you see, where the program fails to process a subset of the files in a folder, I can’t reproduce the problem. Maybe it is very specific to Windows, I will try to check on a Windows machine when I have time.
Have you reproduced the bug (corrupted white images) which occurs when you save as jpeg, a stack, coming from TIFFs files?
Png and Tiff are saved just fine (but some of their Exif info are missing).
I can easily reproduce this bug both on Windows 10 and 11.
Tried with Tiffs from D700 - D850 - Z6-iii (with RawTherapee 5.12)
Tested both Shine Stacker version 1.9.1 and also 1.9.2
OK, the TIFF → JPEG conversion is fixed (it was a stupid bug).
I also fixed too long EXIF data for the moment by a brute-force truncation. This works for your images because the problematic tag is the last one, but it may fail for other images. Again, in those cases the failure would not leave a corrupted file, but only missing EXIF data.
The only problem I can’t reproduce is the failure when opening a subset of the files, not the entire folder. To do this I need a Windows machine, will try next days.
Just out of curiosity…
Why do you allow the saving of the stack to PNG?
As an user, you can always export, later on, e.g. with GIMP, to png from the jpeg and tiff created by Shine Stacker.
In addition, this removal will allow you to save some extra coding (e.g. for Exif png stuff…)
I have checked Zerene and Helicon and they do not have this option either (png saving).
EDIT:
Just verified with GIMP 3.0.6 (Windows 11):
I have opened the TIFF stack, created by Shine Stacker, of my D850 TIFF files (where all EXIF are correctly saved);
I have exported this Shine stacker TIFF 16 bit, with GIMP, to PNG;
All Exif data are preserved.
E.g. EXIF data in the new png image from GIMP
Exposure Time : 1/30
F Number : 0
Offset Time : +01:00
Color Space : sRGB
ISO : 200
Date/Time Original : 2025:10:31 15:01:28
Hi, I got the issue:
EXIF metadata are not supported fro 16-bit PNG, it is an implementation limit of the python libraries I use.
Maybe I can issue a warning before saving.
Currently, the software works fine!
Lately, I have also tested the option to import a frame and use it to clone some part of the stack. Congratulations!
Once in a while, though, there are still some stacks which are not working: usually due to some EXIF stack glitch.
This is particularly annoying when the stack is big (e.g. 180 Tiff images) because you only know at the very end that the process is about to fail…
Here is a Zip (NIKON Z6-III - Laowa macro lens) with 3 Tiff images (the real stack consists of 180 images) which are useful to reproduce the problem.
The same stack with jpeg images work fine!
Error on the software:
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: fusing pyramids, layer: 1
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: pyramids fusion completed
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: collapsing pyramid
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: copy exif data [WAR] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: failed to copy EXIF data: ‘I’ format requires 0 <= number <= 4294967295
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: elapsed time: 00:00:05.77s
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-focus-stack-pyramid: completed
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-stack-job: elapsed time: 00:00:07.41s
[INF] Z6-IIII_LAOWA_TIFF_SHINESTACKER-stack-job: completed
Job ended successfully
OK, I never found this. I will try to add some protection.
Moreover: I added clear warning messages when saving 16-bit TIFF to PNG, offering the option to convert to 8-bit and preserve EXIF.