XnView MP 1.8.5 can't opened very large AVIF image, example size 12384*18432 px , but ut success opened GIMP 2.10.38 - command File :: Open (Ctrl-O) not active (gray's) or display error messages "Can't open file."
My test files
https://www.upload.ee/files/17726011/orig.7z.html in the archive:
IMG_20250204_170119_657.avif
IMG_20250204_170119_657.jpg
IMG_20250204_170119_657 MI.txt
IMG_20250204_170119_657.xcf (759 MB, file format is GIMP 2.10.38, 12384*18432 px, sRGB, 8:8:8, 72 dpi)
https://www.upload.ee/files/17726069/im ... z.001.html
https://www.upload.ee/files/17726073/im ... z.002.html
https://www.upload.ee/files/17726075/im ... z.003.html
https://www.upload.ee/files/17726077/im ... z.004.html
GIMP exported AVIF - https://www.upload.ee/files/17726775/IM ... .avif.html use settings losless, 8 bitm, codec libaom.dll . GIMP 2.10.38 open success, XvInfo MP 1.8.5 can't open this file.
check integrity use libavif 1.1.1:
Code: Select all
Version: 1.1.1 (dav1d [dec]:1.4.3-0-ge9986de, aom [enc]:3.9.1)
libyuv : available (1887)
Decoding with codec 'dav1d' (24 worker threads), please wait...
Image decoded: IMG_20250204_170119_657-1.avif
Image details:
* Resolution : 12384x18432
* Bit Depth : 8
* Format : YUV444
* Alpha : Not premultiplied
* Range : Full
* Color Primaries: 1
* Transfer Char. : 13
* Matrix Coeffs. : 6
* ICC Profile : Present (672 bytes)
* XMP Metadata : Absent
* Exif Metadata : Absent
* Transformations: None
* Progressive : Unavailable
Wrote PNG: IMG_20250204_170119_657-1.png
New test: image coded use libavif-1.1.1:
avifenc -c aom IMG_20250204_170119_657.png IMG_20250204_170119_657-2.avif
Successfully loaded: IMG_20250204_170119_657.png
AVIF to be written: (Lossy)
* Resolution : 12384x18432
* Bit Depth : 8
* Format : YUV444
* Alpha : Not premultiplied
* Range : Full
* Color Primaries: 2
* Transfer Char. : 2
* Matrix Coeffs. : 6
* ICC Profile : Present (672 bytes)
* XMP Metadata : Present (3424 bytes)
* Exif Metadata : Present (884 bytes)
* Transformations: None
* Progressive : Unavailable
Encoding with codec 'aom' speed [6], color quality [60 (Medium)], alpha quality [100 (Lossless)], tileRowsLog2 [0], tileColsLog2 [0], 24 worker thread(s), please wait...
Encoded successfully.
* Color total size: 4875671 bytes
* Alpha total size: 0 bytes
Wrote AVIF: IMG_20250204_170119_657-2.avif
https://www.upload.ee/files/17727048/IM ... .avif.html
GIMP 2.10.38 - open success, XnView MP 1.8.5 can't open.
P.S.
Observation: 128 Gb RAM is small for execute command

Code: Select all
set -d 12
avifenc -c aom -j 24 -l -d 12 -y 444 IMG_20250204_170119_657.png IMG_20250204_170119_657-3.avif
Successfully loaded: IMG_20250204_170119_657.png
WARNING: [--lossless] Identity matrix is used but input depth (8) does not match output depth (12). Output might not be lossless.
AVIF to be written: (Lossy)
* Resolution : 12384x18432
* Bit Depth : 12
* Format : YUV444
* Alpha : Not premultiplied
* Range : Full
* Color Primaries: 2
* Transfer Char. : 2
* Matrix Coeffs. : 0
* ICC Profile : Present (672 bytes)
* XMP Metadata : Present (3424 bytes)
* Exif Metadata : Present (884 bytes)
* Transformations: None
* Progressive : Unavailable
Encoding with codec 'aom' speed [6], color quality [100 (Lossless)], alpha quality [100 (Lossless)],
tileRowsLog2 [0], tileColsLog2 [0], 24 worker thread(s), please wait...
ERROR: Failed to encode image: Encoding of color planes failed
Diagnostics:
* aom_codec_encode() failed: Memory allocation error: Failed to allocate lag buffers
set -d 8:
avifenc -c aom -j 24 -l -d 8 -y 444 IMG_20250204_170119_657.png IMG_20250204_170119_657-3.avif
Successfully loaded: IMG_20250204_170119_657.png
AVIF to be written: (Lossless)
* Resolution : 12384x18432
* Bit Depth : 8
* Format : YUV444
* Alpha : Not premultiplied
* Range : Full
* Color Primaries: 2
* Transfer Char. : 2
* Matrix Coeffs. : 0
* ICC Profile : Present (672 bytes)
* XMP Metadata : Present (3424 bytes)
* Exif Metadata : Present (884 bytes)
* Transformations: None
* Progressive : Unavailable
Encoding with codec 'aom' speed [6], color quality [100 (Lossless)], alpha quality [100 (Lossless)],
tileRowsLog2 [0], tileColsLog2 [0], 24 worker thread(s), please wait...
Encoded successfully.
* Color total size: 203833691 bytes
* Alpha total size: 0 bytes
Wrote AVIF: IMG_20250204_170119_657-3.avif
