Commit ac68a7c1b for imagemagick.org

commit ac68a7c1bcce854649bba35e4a8eb0d94c959e6b
Author: Dirk Lemstra <dirk@lemstra.org>
Date:   Fri Jul 31 00:36:09 2026 +0200

    Corrected method call.

diff --git a/coders/tiff.c b/coders/tiff.c
index b89307888..3853fa734 100644
--- a/coders/tiff.c
+++ b/coders/tiff.c
@@ -1763,7 +1763,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
     if (image->compression == JPEGCompression)
       {
         if (photometric == PHOTOMETRIC_SEPARATED)
-          method=GetJPEGMethod(image,tiff,photometric,bits_per_sample);
+          method=GetJPEGMethod(image,tiff,bits_per_sample,samples_per_pixel);
         else if ((method != ReadStripMethod) ||
                  (compress_tag == COMPRESSION_OJPEG) ||
                  (photometric == PHOTOMETRIC_YCBCR))