Commit 8f88a9a62 for imagemagick.org

commit 8f88a9a6275793a955eff3049a7df00a372d2163
Author: Cristy <urban-warrior@imagemagick.org>
Date:   Sun Aug 2 06:47:49 2026 -0400

    fix exception tag

diff --git a/coders/heic.c b/coders/heic.c
index cf584871d..77aa64df9 100644
--- a/coders/heic.c
+++ b/coders/heic.c
@@ -1033,7 +1033,7 @@ static Image *ReadHEICImage(const ImageInfo *image_info,ExceptionInfo *exception
 #else
   if (heif_check_filetype(magic,sizeof(magic)) == heif_filetype_no)
 #endif
-    ThrowReaderException(CoderError,"ImageTypeNotSupported");
+    ThrowReaderException(CorruptImageError,"ImageTypeNotSupported");
   (void) CloseBlob(image);
 #if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,11,0)
   if (heif_has_compatible_brand(magic,sizeof(magic), "avif") == 1)
diff --git a/coders/qoi.c b/coders/qoi.c
index 85849156a..12a71ee94 100644
--- a/coders/qoi.c
+++ b/coders/qoi.c
@@ -487,7 +487,7 @@ static MagickBooleanType WriteQOIImage(const ImageInfo *image_info,Image *image,
         (quantum_type == IndexAlphaQuantum))
       channels=4;
     else
-      ThrowWriterException(CoderError,"ImageTypeNotSupported");
+      ThrowWriterException(CorruptImageError,"ImageTypeNotSupported");
   /*
     Write QOI header.
   */
diff --git a/coders/sf3.c b/coders/sf3.c
index a2d955c38..45b097cb6 100644
--- a/coders/sf3.c
+++ b/coders/sf3.c
@@ -645,7 +645,7 @@ static MagickBooleanType WriteSF3Image(const ImageInfo *image_info,Image *image,
       break;
     default:
       quantum_info=DestroyQuantumInfo(quantum_info);
-      ThrowWriterException(CoderError,"ImageTypeNotSupported");
+      ThrowWriterException(CorruptImageError,"ImageTypeNotSupported");
       break;
     }
   switch (quantum_format)
@@ -715,7 +715,7 @@ static MagickBooleanType WriteSF3Image(const ImageInfo *image_info,Image *image,
       break;
     default:
       quantum_info=DestroyQuantumInfo(quantum_info);
-      ThrowWriterException(CoderError,"ImageTypeNotSupported");
+      ThrowWriterException(CorruptImageError,"ImageTypeNotSupported");
       break;
     }
   /*
diff --git a/coders/svg.c b/coders/svg.c
index 2cbd91ecd..975f0072f 100644
--- a/coders/svg.c
+++ b/coders/svg.c
@@ -3479,6 +3479,7 @@ ModuleExport size_t RegisterSVGImage(void)
 #endif
   entry->encoder=(EncodeImageHandler *) WriteSVGImage;
   entry->magick=(IsImageFormatHandler *) IsSVG;
+  entry->format_type=ImplicitFormatType;
   (void) RegisterMagickInfo(entry);
   return(MagickImageCoderSignature);
 }
diff --git a/coders/tim2.c b/coders/tim2.c
index fc4a8f25f..fd6a51e85 100644
--- a/coders/tim2.c
+++ b/coders/tim2.c
@@ -656,7 +656,7 @@ static Image *ReadTIM2Image(const ImageInfo *image_info,
     ThrowReaderException(CorruptImageError,"ImproperImageHeader");
   file_header.format_vers=(unsigned char) ReadBlobByte(image);
   if (file_header.format_vers != 0x04)
-    ThrowReaderException(CoderError,"ImageTypeNotSupported");
+    ThrowReaderException(CorruptImageError,"ImageTypeNotSupported");
   file_header.format_type=(unsigned char) ReadBlobByte(image);
   file_header.image_count=ReadBlobLSBShort(image);
   if (DiscardBlobBytes(image,8) == MagickFalse) /* reserved */