Files
opencv-MIRROR/modules/imgcodecs
Shiven Solanki f2bed79fc3 imgcodecs: read 16-bit and 4-channel PAM files without TUPLTYPE
PAM files written by imwrite without IMWRITE_PAM_TUPLETYPE have no
TUPLTYPE line. readHeader only guessed the format for 8-bit images with
1 or 3 channels and threw for everything else, so 16-bit and 4-channel
images written by OpenCV could not be read back. Leave the format unset
in that case: readData already handles it with the default layout.

Add an Imgcodecs_Pam regression test.
2026-10-31 01:51:46 +08:00
..