Thank you - I'll give that a try.
Addendum: for the sake of rigour, I would add a try/catch to catch errors that arise when the download does not have image content-type
<cftry>
<!--- Convert the binary to an image in ColdFusion --->
<cfimage source="#downloadedBinary#" name="downloadedImage">
<cfif isImage(downloadedImage)>
<!--- Use, preferably, replaceNoCase: think Jpg, JPG, jpg --->
<cfset jpg_to_png=replaceNoCase(BadgPhotoName,'.jpg','.png','all')>
<cfimage action="write" source="#downloadedImage#" destination="c:/workgroups/webdata/badgecards/qr/#jpg_to_png#">
</cfif>
<cfcatch type="any">
<!--- Handle any errors --->
</cfcatch>
</cftry>