bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
401 stars 55 forks source link

LazPaint 7.2.2. try to open avif results in acess violation when trying to open from Thunar on Linux MX #585

Closed Sototoki closed 1 week ago

Sototoki commented 1 month ago

When trying to open a pic in avif format in Thunar with "open with"Lazarus, it results in an AV. When trying to open with the open dialog, no preview, no opening possible.

Because avif seems to be a more and more used format (e.g. etsy) maybe this would be worth having it working

Thanks in advanvce and for the good work!

System: Kernel: 6.3.0-2mx-ahs-amd64 [6.3.11-1~mx21ahs] x86_64 bits: 64 compiler: gcc v: 10.2.1 parameters: BOOT_IMAGE=/boot/vmlinuz-6.3.0-2mx-ahs-amd64 root=UUID= ro quiet splash Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7 dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64

circular17 commented 1 month ago

Hi Sototoki,

Thanks for popping by. It is likely the error is related to a newer version of AVIF. It may be fixed in the dev branch. So this is likely to work in the next release. However for good measure, can you give me the libavif version, to do a more thorough check?

Warm regards.

circular17 commented 1 week ago

Looking at repology, I found that MX Linux uses version 1.0.4. I have done a test with this version (with brew on MacOS) and it seems to work. So I'll assume this request is done.