### ImageMagick version

7.0.10-61

### Operating system

Windows

### Operating system, version and so on

Cygwin on Windows 11

### Description

On Cygwin on Windows 11:

C:\cygwin64\bin\magick.exe mogrify -format heic image.png

results in image.heic, but inspecting that file with file yields:

image.heic: PNG image data, 3584 x 4608, 8-bit/color RGB, non-interlaced

I would expect it to be something like:

00000.heic: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile

I'm not HEIC format expert and my assumption here is that the spec allows a fallback and usage of HEIC as container but carrying a different payload. Still I think that it should complain loudly if I ask it to convert PNG to HEIC and it uses internally a fallback to convert it to PNG in HEIC.

### Steps to Reproduce

See above.

### Images

_No response_
Imagemagick should complain loudly if using fallback
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Imagemagick should complain loudly if using fallback
Issue date:

--- start body ---
### ImageMagick version

7.0.10-61

### Operating system

Windows

### Operating system, version and so on

Cygwin on Windows 11

### Description

On Cygwin on Windows 11:

C:\cygwin64\bin\magick.exe mogrify -format heic image.png

results in image.heic, but inspecting that file with file yields:

image.heic: PNG image data, 3584 x 4608, 8-bit/color RGB, non-interlaced

I would expect it to be something like:

00000.heic: ISO Media, HEIF Image HEVC Main or Main Still Picture Profile

I'm not HEIC format expert and my assumption here is that the spec allows a fallback and usage of HEIC as container but carrying a different payload. Still I think that it should complain loudly if I ask it to convert PNG to HEIC and it uses internally a fallback to convert it to PNG in HEIC.

### Steps to Reproduce

See above.

### Images

_No response_
--- end body ---

None