flathub / flathub/com.github.PintaProject.Pinta

Cannot save as JPEG XL (.JXL)

オープン
#70 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
4
フォーク
4
PR マージ指標
30日以内にマージされた PR はありません

説明

I am having the same issue as https://github.com/PintaProject/Pinta/issues/1857:

>**Description**
>The build of gdk-pixbuf that ships with the Flatpak version does not support saving as JXL.
>
>**To Reproduce**
>
>1. Draw anything
>2. Save it as JXL
>3. Get errored

Here is the error I receive:
```
GLib.GException: This build of gdk-pixbuf does not support saving the image format: jxl
at GdkPixbuf.Pixbuf.SaveToStreamv(OutputStream stream, String type, String[] optionKeys, String[] optionValues, Cancellable cancellable)
at Pinta.Core.GdkPixbufFormat.DoSave(Pixbuf pb, File file, String fileType, Window parent)
at Pinta.Core.GdkPixbufFormat.Export(Document document, File file, Window parent)
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFile(Document document, File file, FormatDescriptor format, Window parent)
at Pinta.Actions.SaveDocumentImplmentationAction.SaveFileAs(Document document)
at Pinta.Actions.SaveDocumentImplmentationAction.Activated(FileActions sender, DocumentSaveEventArgs e)
at Pinta.Core.AsyncEventHandlerExtensions.InvokeSequential[TSender,TArgs,TResult](Returning`1 handlerBundle, TSender sender, TArgs args)
at Pinta.Core.FileActions.RaiseSaveDocument(Document document, Boolean saveAs)
at Pinta.Actions.SaveDocumentAsAction.Activated(Object sender, EventArgs e)
at System.Threading.Tasks.Task.<>c.b__124_0(Object state)
at GLib.Internal.MainLoopSynchronizationContext.<>c__DisplayClass1_0.b__0()
```

I am using version 3.1.2, running LMDE 7 (Debian 13) on the host. Let me know if you need anything else.

**Edit:** `libjxl0.11` and `libjxl-dev` are installed on the host system.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Save As フローの Pinta.Core.GdkPixbufFormat から始めて、Flatpak ビルドが gdk-pixbuf と JPEG XL サポートをどのように提供しているかを調査します。Flatpak で画像を JXL として保存する動作を再現します。完了条件は、Flatpak が報告された gdk-pixbuf 例外なしで JXL を保存できることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。