Search found 558 matches

by Danny
Fri Jul 05, 2024 9:55 am
Forum: New
Topic: BUG: AVIF, WEBP - Conversion
Replies: 9
Views: 1603

Re: BUG: AVIF, WEBP - Conversion

AFAIK that's expected, because AVIF isn't actually 100% lossless per definition; only visually. Simply because there's always a YUV <-> RGB conversion happening when you open/save an image.

It's only lossless in the sense that, if you open an AVIF file, change only part of it and then save it again ...
by Danny
Fri Jul 05, 2024 9:25 am
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

Ok, just for the record: looking for libheif.so is wrong¹ for probably all modern distros. Certainly for Debian and Fedora¹, as demonstrated. The program should look for libheif.so.1 instead. The number at the end is basically the major version of the lib. It should only be omitted during ...
by Danny
Sun Jun 30, 2024 11:04 am
Forum: XnConvert
Topic: HEIF library not found for reading HEIC files (ubuntu) - (solved, but have follow up ques)
Replies: 3
Views: 5987

Re: HEIF library not found for reading HEIC files (ubuntu) - (solved, but have follow up ques)

Because of this: https://newsgroup.xnview.com/viewtopic.php?p=196861#p196861

The program is looking for libheif.so which is only contained in dev packages, when it should be looking for libheif.so.1 . The Flatpak needed a workaround for it, too: https://github.com/flathub/com.xnview.XnViewMP/issues ...
by Danny
Wed Mar 20, 2024 1:30 pm
Forum: MP - Suggestions
Topic: Add tab AVIF to Export window
Replies: 8
Views: 3239

Re: Add tab AVIF to Export window

+1 also on JPEG-XL

With JXL, I find myself using the min/max color quantizer, the speed and the sharpening setting usually. So a setting for those would be good among others like chroma sub-sampling (YUV format). Also the ability to strip metadata like XMP.
by Danny
Mon Mar 18, 2024 11:32 am
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

@Mods: can we move this to the "reproduced" forum then, please?
by Danny
Fri Mar 15, 2024 10:09 am
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

So an strace with a grep on libheif reveals the following:


openat(AT_FDCWD, "/home/danny/Downloads/XnViewMP-linux-x64/XnView/lib/libheif.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (File or folder not found)
openat(AT_FDCWD, "/home/danny/Downloads/XnViewMP-linux-x64/XnView/Plugins/libheif.so", O_RDONLY ...
by Danny
Fri Mar 15, 2024 8:52 am
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

I have these from libheif according to a DNF repoquery:


/usr/lib/libheif.so.1
/usr/lib/libheif.so.1.17.5
/usr/lib/libheif/libheif-rav1e.so
/usr/lib/libheif/libheif-svtenc.so
/usr/lib64/libheif.so.1
/usr/lib64/libheif.so.1.17.5
/usr/lib64/libheif/libheif-rav1e.so
/usr/lib64/libheif/libheif-svtenc ...
by Danny
Thu Mar 14, 2024 3:24 pm
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

File doesn't matter, it doesn't list anything about AVIF in save menus either. Could be literally any file off the web.

I tried attaching the XnView logo that I've just downloaded from your profile PNG picture and converted using avifenc xnview.png -o xnview.avif , but it wouldn't let me even after ...
by Danny
Thu Mar 14, 2024 10:00 am
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file



Yes, installed:

libheif.x86_64 : 1.17.5-1.fc38

I'm trying to use the Flatpak version though, so not quite sure how relevant that is.


Please note that the Flatpak download is often not the latest version, the current download version is indicated on their download page... :(


See my post ...
by Danny
Sat Mar 09, 2024 6:56 pm
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

Yes, installed:

Code: Select all

libheif.x86_64 : 1.17.5-1.fc38
I'm trying to use the Flatpak version though, so not quite sure how relevant that is.
by Danny
Wed Mar 06, 2024 12:05 pm
Forum: New
Topic: XnViewMP 1.6.2 _linux_64 not open / read /load avif file
Replies: 13
Views: 3768

Re: XnViewMP 1.6.2 _linux_64 not open / read /load avif file

+1 on Fedora 39

I've tried the TGZ, the AppImage and the Flatpak. Neither of them seem to support AVIF in any shape or form.

It's supposed to work: https://newsgroup.xnview.com/viewtopic.php?t=46266 but doesn't for me.

I've installed both libheif 1.17.5 and libavif 0.11.1 on the system. A ldd ...
by Danny
Tue May 23, 2023 10:42 am
Forum: Closed/Resolved
Topic: WebP quality options
Replies: 5
Views: 2858

Re: WebP quality options

Cheers!
by Danny
Sun Oct 02, 2022 2:28 pm
Forum: Retest
Topic: Request: Crop/pad image to aspect ratio
Replies: 21
Views: 18219

Re: Request: Crop/pad image to aspect ratio

xnview wrote: Mon Apr 15, 2019 2:18 pm So a ratio & background color?
In other words, yes. Don't scale the image content, just adjust the canvas size and fill the padded area outside with a color.

Sorry, I don't come here as often as I used to.
by Danny
Wed Sep 21, 2022 9:01 am
Forum: Closed/Resolved
Topic: WebP quality options
Replies: 5
Views: 2858

WebP quality options

Since lossy WebP images store colors in YUV format with 4:2:0 chroma sub-sampling, they tend to have severe color bleeding even at high quality settings.

A good if not necessary means to improve on that is to use the "sharp_yuv" parameter of cwebp (the command line tool). It'd be great, if ...
by Danny
Mon Apr 01, 2019 6:02 pm
Forum: Retest
Topic: Request: Crop/pad image to aspect ratio
Replies: 21
Views: 18219

Request: Crop/pad image to aspect ratio

Let's say we have a bunch of images with varying dimensions (w×h) and I want them all to fit into a 16:9 canvas, but I don't want to define a fixed size (like 1920×1080px). The wider side should stay the same, only the narrow side of the image should be padded with a given color or transparency ...