Images can not be converted to AVIF format

Open
#231 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c

Research direction

First reproduce the failure in Pix 3.4.7 on Linux Mint 22.2 by using “Convert Format...” with a JPG or PNG and selecting AVIF. Trace the image conversion and encoding path from that action; done means the selected input is converted to a valid AVIF without the NULL argument error.

Written by the indexing model from the issue text.

Description

Distribution

Linux Mint 22.2

Package version

3.4.7

Frequency

Always

Bug description

Trying to convert an image to .avif via "Convert Format..." results in this error.

Could not Perform the Operation
Could not encode the image: Usage Error: NULL argument received

I've tried a jpg and a few other .png images to convert to .avif, which results in the same error output.
I've noticed that this issue also occurs when I try using gThumb version 3:3.12.6-1.

Image
Steps to reproduce
  1. Open image with Pix
  2. select option "Convert Format..."
Expected behavior

Image depending on saving preference would take some seconds to convert the image to the desired format chosen. In this case .avif

Additional information

No response

Dominant language
C
Stars
270
Forks
47
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/pix

All issues in linuxmint/pix

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.