You can compile this script into an application to make a droplet.
Automator and Shortcut scripts don't resize images as expected. Here is an applescript that uses the command line image tool sips that comes with macOS/Mac OS X to do exactly as it's told, preserving aspect ratio.
If you are...
Here is an applescript you can compile to an application for drag and drop purposes to set Creator and Type codes. You can modify it to suit your needs.
-t is for TYPE and -c is for CREATOR
----------------------------------------------------------------------------
on open filelist
repeat...