Cannot save as JPEG XL (.JXL)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- csharp
- Domain
- build-system
Research direction
Start at Pinta.Core.GdkPixbufFormat in the Save As flow and inspect how the Flatpak build supplies gdk-pixbuf and JPEG XL support. Reproduce saving an image as JXL in the Flatpak; done means the Flatpak can save JXL without the reported gdk-pixbuf exception.
Written by the indexing model from the issue text.
Description
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
- Draw anything
- Save it as JXL
- 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.<ThrowAsync>b__124_0(Object state)
at GLib.Internal.MainLoopSynchronizationContext.<>c__DisplayClass1_0.<Post>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.
- Dominant language
- No language data
- Stars
- 4
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flathub/com.github.PintaProject.Pinta
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
flathub/com.github.PintaProject.Pinta#34 · 2 comments ·
All issues in flathub/com.github.PintaProject.Pinta
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
Builders
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100