Problems saving images with beta2

Today I’ve been capturing Mars. After stacking it with other program I’ve used SiriL wavelets transform to focus it. But when I try to save file, only FITS and JPEG are working as expected. TIFF generates a completely black file (only 700 bytes) and PNG has a estrange balance / profile applied when show in macOS. I’ve attached a folder with all the image formats, so you can see the problems.

(macOS 10.15.6, SiriL 0.99.6)

export.zip (92.0 KB)

Now the png file has an embeded color profile.
But it seems that there is an issue with the grey profile indeed.
For the png you can try to read without the profile.

About the TIFF file, I can’t read it with Siril… Strange.

I probably fixed the png issue.

So now, the TIFF one. I don’t understand why saving your mars image (which is stunning btw) does not work when saving other images work…

Yes, the png issue is fixed (master branch, compiled on Linux)

image

About the tiff file: is not only this image. I’ve stacked multiple videos of the same session and all are broken, I can’t save any tiff file from those stacks. Before beta2 I was using the same stacker (PlanetarySystemStacker).

Also I’ve tried with other monochrome images, not produced by me, created with a complete different software and I’ve obtained also a wrong tiff export (small file, all black)

(btw, thanks for your comments about this little Mars)

Yes but load a dslr image. Save in tiff.
No issue.

Is it linked to the size?

This is the original tiff file that I open on SiriL. This way you can see if there is something in the source file that is confusing SiriL

Mars_000322_pss_f1500_p50_b34_ap18.tif (67.7 KB)

Yes, I know it works for DSRL. I’ve tested with bigger images, monochrome 870x870 tif and it’s also failing. I’m suspicious more about the org image format (bits per plane)

hmmm I don’t know. If you find the issue, you’re welcome.

More data points: I’ve opened a DSRL image and split RGB channels. Then I open one of those mono images (G channel). If I save the full image tiff I’ve a similar profile problem (I haven’t tested it on the last build, I’m working with beta2 on this Mac). Then, as soon as I crop this image to something like 800x500 it saves as a black small tiff. Same problem

Yes profile is the same for png and tiff

Found the same problem exporting TIFF when cropping a full color DSLR (Mac and Linux). Definitively, it seems to me, that beta2 is not handling saving non FITS image on the same way that beta1

It does the same thing.
No change here.

EDIT: ok some change

@rbarbera: did you try with 0.99.4 to compare?

EDIT: ok, I think I see where, but I don’t understand why. This is only for TIFF the bug however.

Yes, I’ve tested with 0.99.4 that’s the reason I was saying that it worked on beta1 ;). I’ve downloaded both betas and save as tiff the same FITS file:

0.99.4.tif (59.5 KB) 0.99.6.tif (782 Bytes)

1 Like

Yes I see. With @heckflosse we are trying to understand this strange behaviour.

2 Likes

@rbarbera: this is fixed.

1 Like

Superb! Thank you for the quick analysis / fix. I’ve seen from the code that this one was not trivial.

2 Likes

Thanks for the bug report.
The thing I don’t understand is … why it was working for some image. It is crazy.

1 Like