[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #30 from caulier.gil...@gmail.com --- Git commit 1b84d0aa56f91b7df6a7fd76e42e5afef3946ded by Gilles Caulier. Committed on 30/03/2023 at 07:23. Pushed by cgilles into branch 'master'. some format to save are optional, make enum depending of this compilation configurations M +0-1core/libs/widgets/files/filesaveoptionsbox.cpp M +5-0core/libs/widgets/files/filesaveoptionsbox.h https://invent.kde.org/graphics/digikam/commit/1b84d0aa56f91b7df6a7fd76e42e5afef3946ded -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #29 from Geoff King --- (In reply to caulier.gilles from comment #24) > New test, with test01.jpg open in editor, edited with gmic/B, and exported > to webp, jp2, and wbmp. > > All is fine expected for wbmp which is broken due to a bug in KImageFormats > codecs. > > https://i.imgur.com/Jsd8Gp9.png > > Exif, makernotes, and XMP are here for webp, jp2. The original JPEG file do > not have any GPS data, so... > > Gilles For me there is definitely something wrong with using gmic and exporting to WEBP on MacOS. I have tried several times (GMIC black & white filter and others) and it gives a transparent file exporting to WEBP. I also tried this on Windows and it gave similar results (one quick test). I looked at Ubuntu also, and it doesn't have the gmic plugin in the appimage. If I use the same source file, process using the digikam built in black and white module, then export, it works fine. When exporting to WEBP with or without editing, I lose the EXIF data. I tried several files with same results so don't think is my files. most webp export tests at quality 73 Thanks, Geoff -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #28 from Geoff King --- WBMP corrupt export file bug filed here: https://bugs.kde.org/show_bug.cgi?id=467950 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #27 from Geoff King --- Created attachment 157710 --> https://bugs.kde.org/attachment.cgi?id=157710=edit add missing jp2 test file from prior message Cannot attached test1.png and test4.jpg since they are too big. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #26 from caulier.gil...@gmail.com --- Geoff, The WBMP problem must be reported to frameworks-kimageformats product as UPSTREAM KDE bug. Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #25 from caulier.gil...@gmail.com --- When export JPEG to WBMP from image editor, i can see that from the Terminal : digikam.general: Trying to find a saving format from targetUrl = QUrl("file:///Users/gilles/Pictures/BUG 467675/_test0.wbmp") digikam.general: Qt Offered types: "*.avif *.bmp *.bw *.cur *.eps *.epsf *.epsi *.icns *.ico *.jxl *.pbm *.pcx *.pgm *.pic *.png *.ppm *.rgb *.rgba *.sgi *.tga *.wbmp *.webp *.xbm *.xpm *.tiff *.tif *.jpg *.jpeg *.jpe *.jp2 *.j2k *.jpx *.pgx *.pgf *.heic *.heif *.fts *.fit *.fits " digikam.general: Writable formats: ("avif", "bmp", "bw", "cur", "eps", "epsf", "epsi", "icns", "ico", "jxl", "pbm", "pcx", "pgm", "pic", "png", "ppm", "rgb", "rgba", "sgi", "tga", "wbmp", "webp", "xbm", "xpm", "tiff", "tif", "jpg", "jpeg", "jpe", "jp2", "j2k", "jpx", "pgx", "pgf", "heic", "heif", "fts", "fit", "fits") digikam.general: Possible format from local file: "wbmp" digikam.general: Using format from target url "wbmp" digikam.geoiface: digikam.general: Saving to : "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" ( "wbmp" ) digikam.general: Saving file "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" at -1 digikam.dimg: Prepare Metadata to save for "/Users/gilles/Pictures/BUG 467675/_test0.wbmp" digikam.metaengine: JPEG image preview size: ( 1280 x 960 ) pixels - 263188 bytes digikam.dimg: Saving to "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" with format: "wbmp" digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp (Error # 11 : "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp: The file contains data of an unknown image type" digikam.metaengine: Check ExifTool availability: true digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp -all:all -o -.exv" digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 5 digikam.metaengine: EXV chunk size: 0 digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded digikam.metaengine: ExifTool complete "Load Chunks" for "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" digikam.metaengine: Metadata chunk loaded with ExifTool digikam.metaengine: Metadata chunk loaded with ExifTool has no data digikam.metaengine: Loading metadata with "No Backend" backend from "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" digikam.metaengine: MetaEngine::metadataWritingMode 0 digikam.metaengine: Will write Metadata to file "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" digikam.metaengine: Cannot save metadata to image with Exiv2 backend: (Error # 11 : "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp: The file contains data of an unknown image type" digikam.general: "/Users/gilles/Pictures/BUG 467675/EditorWindow-NHHEVy-a0b08721.digikamtempfile.wbmp" true true digikam.databaseserver: Running 30 seconds... digikam.general: Saved QUrl("file:///Users/gilles/Pictures/BUG 467675/_test0.jpg") to QUrl("file:///Users/gilles/Pictures/BUG 467675/_test0.wbmp") digikam.general: was versioned false current 750 "_test0.jpg" destinations () digikam.metaengine: Cannot load metadata from file with Exiv2 backend: /Users/gilles/Pictures/BUG 467675/_test0.wbmp (Error # 11 : "/Users/gilles/Pictures/BUG 467675/_test0.wbmp: The file contains data of an unknown image type" digikam.metaengine: Check ExifTool availability: true digikam.metaengine: ExifTool "Load Chunks" "-TagsFromFile /Users/gilles/Pictures/BUG 467675/_test0.wbmp -all:all -o -.exv" digikam.metaengine: ExifToolProcess::readOutput(): ExifTool command completed digikam.metaengine: ExifTool complete command for action "Load Chunks" with elasped time (ms): 5 digikam.metaengine: EXV chunk size: 0 digikam.metaengine: ExifTool parsed command for action "Load Chunks" 1 properties decoded digikam.metaengine: ExifTool complete "Load Chunks" for "/Users/gilles/Pictures/BUG 467675/_test0.wbmp" digikam.metaengine: Metadata chunk loaded with ExifTool digikam.metaengine: Metadata chunk loaded with ExifTool has no data digikam.metaengine: Loading metadata with "No Backend" backend from "/Users/gilles/Pictures/BUG 467675/_test0.wbmp" digikam.dimg: "/Users/gilles/Pictures/BUG 467675/_test0.wbmp" : "QIMAGE" file identified digikam.dimg.qimage: Can not load " "/Users/gilles/Pictures/BUG 467675/_test0.wbmp" " using DImg::DImgQImageLoader! digikam.dimg.qimage: Error message from loader: "Unsupported image format" digikam.dimg:
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #24 from caulier.gil...@gmail.com --- New test, with test01.jpg open in editor, edited with gmic/B, and exported to webp, jp2, and wbmp. All is fine expected for wbmp which is broken due to a bug in KImageFormats codecs. https://i.imgur.com/Jsd8Gp9.png Exif, makernotes, and XMP are here for webp, jp2. The original JPEG file do not have any GPS data, so... Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #23 from caulier.gil...@gmail.com --- oups, wrong link : https://i.imgur.com/4APTsab.png Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #22 from caulier.gil...@gmail.com --- It miss also test06.jpg I tried to save in WEBP under MacoOS, and editing or not in gmic do not change anything: editor save to a new WEBP file without error. Metadata are visible by ExifTool, and Exiv2 (Exif and XMP, as IPTC is not supported by WEBP) https://digikamdevelopper.imgur.com/all Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #21 from caulier.gil...@gmail.com --- Geoff, It miss the test04.jp2 file... Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #20 from caulier.gil...@gmail.com --- Maik, Geof, I discovered that libheif and libaom are now handled by Macports. These libs was overwritten by my scripts with older versions in current PKG. I will fix it to rebuild whole PKG from scratch. I will also upgrade KF5 to last 5.104 for the KImageFormat component supporting WEBP Qt plugin. For the G'Mic-qt bug, i will try to reproduce the problem. Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #19 from Maik Qualmann --- Here all metadata is available in webp in my native Linux version, both with Exiv2 writing engine or with ExifTool. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #18 from caulier.gil...@gmail.com --- > -new issue noticed - linux appimage doesn't include g'mic. ==> already fixed with last bundle pushed at usual place... Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #17 from Geoff King --- Created attachment 157617 --> https://bugs.kde.org/attachment.cgi?id=157617=edit _test5 image -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #16 from Geoff King --- Created attachment 157616 --> https://bugs.kde.org/attachment.cgi?id=157616=edit _test3 image -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #15 from Geoff King --- Created attachment 157615 --> https://bugs.kde.org/attachment.cgi?id=157615=edit _test2 image -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #14 from Geoff King --- Created attachment 157614 --> https://bugs.kde.org/attachment.cgi?id=157614=edit _test0 image I am sharing the files from my tests and some new observations below. This is on digiKam-8.0.0-20230326T082403-MacOS-x86-64-debug.pkg with MacBook Pro Intel. -new issue noticed - metadata not being carried over to exported files, including comments and gps on Mac, I also tried on Ubuntu and the metadata does carry over. -new issue noticed - linux appimage doesn't include g'mic. -sorry forgot to capture the debug log _test0.jpg - original source use for all tests, opened in Image editor, and exported to the formats below. _test1.webp - no edits to original, just export as webp lossless, seems okay except no metadata or coordinates _test2.webp - no edits to original, just export as webp quality 65, no edits to original file, seems okay except no metadata or coordinates _test3.wbmp - no edits to original, just export as wbmp - corrupt, but 1.3 MB _test4.jp2 - edited in gmic with black and white filter before exporting, jpeg2000, no metadata carried over, but otherwise looks okay, _test5.webp - edited in gmic with black and white filter before exporting, small file created, image is missing, and shows transparent checkerboard pattern thumbnail _test6.jpg, edited in gmic with black and white filter before exporting, missing gps metadata, other metadata is present -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #13 from Maik Qualmann --- The webmp format is also broken here on Linux. There should be a bug report for the KImageFormats plugins. Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #12 from caulier.gil...@gmail.com --- Can you share the test files to try to reproduce ? -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 Geoff King changed: What|Removed |Added Attachment #157579|0 |1 is obsolete|| --- Comment #11 from Geoff King --- Created attachment 157594 --> https://bugs.kde.org/attachment.cgi?id=157594=edit debug log for _test1 to _test 5 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #10 from Geoff King --- Created attachment 157593 --> https://bugs.kde.org/attachment.cgi?id=157593=edit screenshot showing issues -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #9 from Geoff King --- Hi, I tried this new version. It is improved, but there are still issues. I don't have time to test more right now, but will get back to it. Results in short: -I think this is related to the gmic filter at times -can now export to webp (if make no gmic edits to image, other non-gmic edits cause no issue). -see screen capture _test1 -export as webp lossless 3, no edits to original file _test2 export as webp quality 65, no edits to original file _test 4 gmic.jp2 - okay, edited in gmic with black and white filter before exporting _test 5 gmic.webp - small file created, and shows transparent thumbnail -exporting to wbmp now creates a file, but that cannot be opened. The thumbnail shown is a generic WBMP icon. _test3 export as wbmp - corrupt, but 1.3 MB, no edits to original file. -If I edit image using gmic plugin before exporting the webp file is exported, but entirely transparent and small file size. See screenshot and text file. I can test some more if needed. Thanks. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #8 from caulier.gil...@gmail.com --- PKG installer is now updated : https://files.kde.org/digikam/ Please check if problem is fixed. Gilles Caulier -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #7 from caulier.gil...@gmail.com --- I will restart the 8.0.0 MacOS PKG installer this morning to see if the last commit fix the problem. Gilles -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #6 from Maik Qualmann --- Git commit 410fd4a0e095eac26d3fb8fb398cb67e6d076a42 by Maik Qualmann. Committed on 26/03/2023 at 07:51. Pushed by mqualmann into branch 'master'. various fixes for newer image formats - use QImage for Webp - fix quality settings M +2-16 core/dplugins/dimg/imagemagick/dimgimagemagickplugin.cpp M +4-5core/dplugins/dimg/qimage/dimgqimageloader_save.cpp M +42 -0core/utilities/imageeditor/core/editorcore_p.h https://invent.kde.org/graphics/digikam/commit/410fd4a0e095eac26d3fb8fb398cb67e6d076a42 -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #5 from Geoff King --- Created attachment 157579 --> https://bugs.kde.org/attachment.cgi?id=157579=edit terminal log of error Debug output as requested. -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 --- Comment #4 from Maik Qualmann --- It works here on Linux with no problems. Then we need the debug output from the terminal, as described here for macOS: https://www.digikam.org/contribute/ Maik -- You are receiving this mail because: You are watching all bug changes.
[digikam] [Bug 467675] digiKam fail to export to WEBP and WBMP formats
https://bugs.kde.org/show_bug.cgi?id=467675 caulier.gil...@gmail.com changed: What|Removed |Added Summary|digiKam fail to export to |digiKam fail to export to |WEBP and WEBMP formats |WEBP and WBMP formats -- You are receiving this mail because: You are watching all bug changes.