Bug 435231 - Loading .FITS images for astrophotography
Summary: Loading .FITS images for astrophotography
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-Magick (show other bugs)
Version: 7.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-01 19:58 UTC by Basil Rowe
Modified: 2021-04-06 14:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0
Sentry Crash Report:


Attachments
screenshot of DigiKam thumbnail view showing .FITS previews (119.48 KB, image/png)
2021-04-01 19:58 UTC, Basil Rowe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Basil Rowe 2021-04-01 19:58:04 UTC
Created attachment 137247 [details]
screenshot of DigiKam thumbnail view showing .FITS previews

SUMMARY

Maybe I'm missing some fundamental understanding of how DigiKam works, I am assuming because the ImageMagick plugin is loaded (Help -> Component Information) it should be able to read/write .FITS files?

However, I can't get a preview image of a .FITS file, or open in editor. Both show checker board pattern, however the Colors tab shows histogram, which means(?) it sees something in the image file? I also had to add .FITS to Settings -> Views -> MIME types. (see attached screenshot)

I also installed ImageMagick-7.0.11-5-Q16-HDRI-x64-dll to see it it would help.

Windows: 10
Comment 1 caulier.gilles 2021-04-02 04:49:33 UTC
Can you share some file samples somewhere in the cloud to try to reproduce the dysfunction ?

Gilles Caulier
Comment 2 caulier.gilles 2021-04-02 05:26:17 UTC
I played with FITS on my Macbook pro using Chandra radio telescope samples :

https://i.imgur.com/yCFUpFh.png
https://i.imgur.com/Bn4kEWj.png
https://i.imgur.com/3gZXuVi.png

Image come from : https://www.chandra.harvard.edu/photo/openFITS/multiwavelength_data.html

Image magick version used to compile under MacOS is 6.9.11, but under Windows version 7.X must not be a problem.

I suspect a specificity with your FITS images not very well supported by Image Magick which render an alpha layer image. FITS is a very complex container with plenty of features.

We need samples from your collection to investigate.

Gilles Caulier
Comment 3 Maik Qualmann 2021-04-02 05:39:52 UTC
I suspect a change or bug in ImageMagick-7.x. Here under my native digiKam version I only see colored areas or pixel strips.

Maik
Comment 4 caulier.gilles 2021-04-02 06:37:57 UTC
MAik, in the Chandra Fits collection, i found one item which render alpha layer thumbnail :

https://i.imgur.com/j3yCZo1.png

... but if i force to render thumbnails again and again, i can see that item is properly view, and sometime, not...

https://i.imgur.com/KQeRNpn.png

File is this one :

https://www.chandra.harvard.edu/photo/2014/ngc2207/fits/n2207_OPT_B.fits

Gilles
Comment 5 caulier.gilles 2021-04-02 06:42:12 UTC
MAik,

This is the console output when i force to rebuild thumbnails with F5. At this time 2 item have been generated with alpha layer :

digikam.general: Using  8  CPU core to run threads
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Creating a thumbnails task for generating thumbnails
digikam.general: Action Thread run  8  new jobs
digikam.general: scan mode: ScheduleCollectionScan ::  ("/System/Volumes/Data/Users/gilles/Pictures/FITS/")
digikam.general: Event is dispatched to OSX desktop notifier
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.geoiface: ----
digikam.general: Using  8  CPU core to run threads
digikam.general: Action Thread run  1  new jobs
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits: The file contains data of an unknown image type"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits: The file contains data of an unknown image type"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits: The file contains data of an unknown image type"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits: The file contains data of an unknown image type"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.general: Cancel Main Thread
digikam.general: One job is done
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/eso137_optical_R.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/flame_ir_B.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/herca_radio.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/kepler_xray_he.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/kes73_optical.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.general: Cancel Main Thread
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/m100_ir.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM to DImg      : 750 750
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 8
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits: The file contains data of an unknown image type"
digikam.dimg: IM blob size    : 2250000
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/b1509_ir_G.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ic1396a_xray.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/m101_uv.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM to DImg      : 3600 2742
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 8
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 2556
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 8
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 39484800
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 73612800
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 51840000
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM blob size    : 103680000
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM blob size    : 103680000
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/n1929_optical.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM to DImg      : 2384 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 68659200
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/n2207_OPT_B.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM to DImg      : 3600 2874
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits: The file contains data of an unknown image type"
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits: The file contains data of an unknown image type"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/n4736_ir.fits" : "IMAGEMAGICK" file identified
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc281_xray.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc602_optical_G.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/m51_optical_B.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6543_optical_B.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/ngc6240_optical_G.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM to DImg      : 3600 1742
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 82771200
digikam.dimg: IM blob size    : 50169600
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM to DImg      : 2384 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 2719
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 68659200
digikam.dimg: IM to DImg      : 3600 2938
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM to DImg      : 3600 3000
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 78307200
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/rcw38_ir.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM to DImg      : 3600 3000
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 84614400
digikam.general: One job is done
digikam.metaengine: Cannot load metadata from file /System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits  (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits: The file contains data of an unknown image type"
digikam.metaengine: Error: source file is not HEIF image.
digikam.general: Trying to get thumbnail with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.general: Trying to get thumbnail with DImg preview for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.general: Trying to get thumbnail from Embedded preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.rawengine: Failed to load embedded RAW preview
digikam.general: Trying to get thumbnail from half preview with libraw for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.general: Trying to get thumbnail from Embedded preview with Exiv2 for "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits"
digikam.metaengine: Cannot load metadata using Exiv2   (Error # 11 :  "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits: The file contains data of an unknown image type"
digikam.dimg: "/System/Volumes/Data/Users/gilles/Pictures/FITS/mrk573_radio.fits" : "IMAGEMAGICK" file identified
digikam.dimg: Try to load image with ImageMagick codecs
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM blob size    : 103680000
digikam.dimg: IM blob size    : 86400000
digikam.dimg: IM blob size    : 86400000
digikam.general: One job is done
digikam.general: One job is done
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.general: One job is done
digikam.dimg: IM to DImg      : 3600 3600
digikam.dimg: IM QuantumRange : 65535
digikam.dimg: IM Depth        : 16
digikam.dimg: IM Format       : Flexible Image Transport System
digikam.dimg: IM blob size    : 103680000
digikam.general: One job is done
digikam.general: One job is done
digikam.general: One job is done
digikam.dimg: IM blob size    : 103680000
digikam.general: One job is done
digikam.general: List of Pending Jobs is empty
digikam.general: Event is dispatched to OSX desktop notifier
digikam.general: Cancel Main Thread
digikam.general: Cancel Main Thread

screenshot : https://i.imgur.com/FpCW5PG.png

Gilles
Comment 6 Maik Qualmann 2021-04-02 07:00:17 UTC
This image as an example: m51_optical_B.fits
It is displayed as a pink thumbnail for me, the preview is empty. With the "display" command from ImageMagick I get a correct image. Nothing noticeable in the debug log.

Maik
Comment 7 Maik Qualmann 2021-04-02 07:05:19 UTC
With the AppImage from digiKam-7.2.0 and the internal ImageMagick-6.9 I get a correct image of the example image.

Maik
Comment 8 Maik Qualmann 2021-04-02 08:30:22 UTC
Git commit 823417719a94db6e1c88710702a4c75a9ccabdbe by Maik Qualmann.
Committed on 02/04/2021 at 08:29.
Pushed by mqualmann into branch 'master'.

fix convert ImageMagick to DImg buffer
FIXED-IN: 7.3.0

M  +2    -1    NEWS
M  +15   -8    core/dplugins/dimg/imagemagick/dimgimagemagickloader.cpp

https://invent.kde.org/graphics/digikam/commit/823417719a94db6e1c88710702a4c75a9ccabdbe
Comment 9 caulier.gilles 2021-04-02 08:33:10 UTC
Maik, 

I found a way with ImageMagick to extract all recognized metadata from image. For FITS this give something like that:

[gilles@localhost FITS]$ identify  -format '%[*:*]'  ngc6543_optical_B.fits 
date:create=2021-04-02T08:19:47+00:00
date:modify=2021-04-02T08:19:10+00:00
fits:bitpix=16 / number of bits per data pixel                  
fits:bscale=1 / default scaling factor                         
fits:bzero=32768 / offset data range to that of unsigned short    
fits:cd1_1=4.44707382411E-06 / Degrees / Pixel                                
fits:cd1_2=-3.14322677056E-06 / Degrees / Pixel                                
fits:cd2_1=-3.14322677056E-06 / Degrees / Pixel                                
fits:cd2_2=-4.44707382411E-06 / Degrees / Pixel                                
fits:colorspc='Grayscale'          / PCL: Color space                               
fits:comment=FITS module version 01.01.02.0288                                       
fits:crpix1=2043.50292969 / Reference Pixel in X                           
fits:crpix2=1902.92858887 / Reference Pixel in Y                           
fits:crval1=269.640136719 / R.A. (degrees) of reference pixel              
fits:crval2=66.6320571899 / Declination of reference pixel                 
fits:ctype1='RA---TAN'           / Coordinate Type                                
fits:ctype2='DEC--TAN'           / Coordinate Type                                
fits:equinox=2000. / Equinox of Ref. Coord.                         
fits:extend=T / FITS dataset may contain extensions            
fits:history=PUTAST: Aug  8 11:25:45 2008 World Coordinate System parameters written 
fits:latpole=0. / Celestial latitude of native pole              
fits:lonpole=180. / Native longitude of Celestial pole             
fits:naxis=2 / number of data axes                            
fits:naxis1=3600 / length of data axis 1                          
fits:naxis2=3600 / length of data axis 2                          
fits:program='PixInsight 01.08.03.1123' / Software that created this HDU           
fits:pv2_1=0. / Projection parameter 1                         
fits:resolutn=300. / PCL: Resolution in pixels per resolution unit  
fits:resounit='inch    '           / PCL: Resolution unit                           
fits:simple=T / file does conform to FITS standard             
[gilles@localhost FITS]$ 

I think we will need a new DMetadata wrapper based on ImageMagick as existing ones based on libheif and libraw...

In opposite of 'identify -verbose filename' which take age to give output as histogram and color spaces are parsed, the 'identify  -format '%[*:*]' filename' way is very fast...

Gilles
Comment 10 caulier.gilles 2021-04-02 10:13:27 UTC
I reopen this file for non Exiv2 supported file and metadata extraction :

https://bugs.kde.org/show_bug.cgi?id=417431
Comment 11 Basil Rowe 2021-04-02 18:00:12 UTC
First, I want to thank everyone for the Very quick action on this! Wow

I can somewhat follow the discussion, but I'm not sure if the .FITS issue is fixed, although this Bug shows a Status of Resolved Fixed. I downloaded and installed the weekly snapshot, digiKam-7.3.0-20210401T190948-Win64.exe, but I'm still getting the same results:

Thumb + Preview images show checkerboards while Colors tab show histograms. The Image Editor shows nothing (no checkerboard) however the cursor changes from an arrow to a plus sign + like is was moving from an empty area to the image.

I was asked to include some FITS images. The first 2 are raw (uncalibrated) 16bit images from my 2 CCD cameras. The second 2 (with _out in filename) are calibrated (dark + flat) and 32bit.

https://drive.google.com/file/d/1Hv_bljRdnfKVOetCvkdcyoMTNM0_znKp/view?usp=sharing

https://drive.google.com/file/d/1Hv_bljRdnfKVOetCvkdcyoMTNM0_znKp/view?usp=sharing

https://drive.google.com/file/d/1_C728tlK_9wEuOCHxYWFZA-jnuoNquvJ/view?usp=sharing

https://drive.google.com/file/d/1Cbfzim6ID9TOe-OPIKoySOsYzR7o0gVQ/view?usp=sharing

Thank to everyone again.

Basil
https://www.rmsobservatory.org/
Comment 12 caulier.gilles 2021-04-02 18:05:50 UTC
The fix done by Miak in source code have been done... today.

The daily build is updated in the evening (Paris time), so you must wait tomorow morning (:-)))...

Best

Gilles Caulier
Comment 13 Maik Qualmann 2021-04-02 18:17:27 UTC
I have tested the 4 images with my Linux digiKam developer version and they are all displayed correctly.

Maik
Comment 14 Basil Rowe 2021-04-02 18:20:58 UTC
(In reply to caulier.gilles from comment #12)
> The fix done by Miak in source code have been done... today.
> 
> The daily build is updated in the evening (Paris time), so you must wait
> tomorow morning (:-)))...
> 
> Best
> 
> Gilles Caulier

Ha! another example of how coders make (almost) everything work in the world and always come first :)
Comment 15 Basil Rowe 2021-04-04 18:49:31 UTC
Just installed digiKam-7.3.0-20210404T081036-Win64.exe. After rebuilding the thumbnails (which took a while for about 23,000 images (1.5 years of chasing asteroids, trying to figure out rotation periods) the thumbs and images are all there!

Many, many thanks to all!

Basil
Comment 16 caulier.gilles 2021-04-06 14:25:27 UTC
Git commit 69df44c6fc5777252c6a9f00204344a070787e25 by Gilles Caulier.
Committed on 06/04/2021 at 14:09.
Pushed by cgilles into branch 'master'.

Add metadata extraction support for non supported Exiv2 files.
A new ImageMagick wrapper using internally IM::identify C++ API will list all
ImageMagick properties and host all information to a dedicated Xmp.IMProperties XMP namespace.

Screenshot with FITS astro-photo images taken from NASA/CHANDRA radio-telescope: https://imgur.com/QRHsGOE
Related: bug 417431, bug 393408
FIXED-IN: 4.3.0

M  +3    -2    NEWS
M  +1    -0    core/libs/metadataengine/CMakeLists.txt
M  +7    -0    core/libs/metadataengine/dmetadata/dmetadata.h
M  +5    -2    core/libs/metadataengine/dmetadata/dmetadata_fileio.cpp
C  +75   -53   core/libs/metadataengine/dmetadata/dmetadata_imagemagick.cpp [from: core/tests/dimg/magickidentify.cpp - 060% similarity]
M  +0    -1    core/libs/metadataengine/engine/metaengine.h
M  +2    -2    core/tests/dimg/magickidentify.cpp
M  +1    -1    core/tests/dimg/magickloader.cpp

https://invent.kde.org/graphics/digikam/commit/69df44c6fc5777252c6a9f00204344a070787e25
Comment 17 caulier.gilles 2021-04-06 14:52:11 UTC
Git commit 89fd16a675a68fd84f63299dea53fff3b5e08dee by Gilles Caulier.
Committed on 06/04/2021 at 14:53.
Pushed by cgilles into branch 'master'.

Add FITS file format support in database and image editor
Related: bug 393408, bug 417431

M  +28   -2    core/app/utils/digikam_globals.cpp
M  +31   -17   core/libs/database/coredb/coredbschemaupdater.cpp
M  +2    -0    core/libs/database/coredb/coredbschemaupdater.h

https://invent.kde.org/graphics/digikam/commit/89fd16a675a68fd84f63299dea53fff3b5e08dee