### Is your feature request related to a problem? Please describe.

Our team (game development) uses TGA files for textures. We use ImageMagick to batch convert them from source PSD files.
We recently upgraded from Autodesk MotionBuilder 2018 to 2022 and discovered that the new version wouldn't load our textures. After some trial and error we determined that newer versions of MotionBuilder will no longer accept TGA files without a TGA footer.

### Describe the solution you'd like

Either add a command line switch to add a TGA footer to TGA files when they are written, or write the footer by default and include a switch to explicitly not write it for users who don't want it.

### Describe alternatives you've considered

As a workaround we wrote a simple tool to append the footer to all our TGA files after ImageMagick exports them, but ideally it would be nice if ImageMagick could do that all at once.

(Alternatively, somehow convince Autodesk to not check the footer for TGA files since the spec says it's optional...)


### Additional context

_No response_
Add an option to write a TGA footer when writing TGA files
This is a GitHub Issue
repo:ImageMagick
owner:ImageMagick
Title : Add an option to write a TGA footer when writing TGA files
Issue date:

--- start body ---
### Is your feature request related to a problem? Please describe.

Our team (game development) uses TGA files for textures. We use ImageMagick to batch convert them from source PSD files.
We recently upgraded from Autodesk MotionBuilder 2018 to 2022 and discovered that the new version wouldn't load our textures. After some trial and error we determined that newer versions of MotionBuilder will no longer accept TGA files without a TGA footer.

### Describe the solution you'd like

Either add a command line switch to add a TGA footer to TGA files when they are written, or write the footer by default and include a switch to explicitly not write it for users who don't want it.

### Describe alternatives you've considered

As a workaround we wrote a simple tool to append the footer to all our TGA files after ImageMagick exports them, but ideally it would be nice if ImageMagick could do that all at once.

(Alternatively, somehow convince Autodesk to not check the footer for TGA files since the spec says it's optional...)


### Additional context

_No response_
--- end body ---
