Is it affected to modify the file type of base64 directly?

the backend accepts base64 image files of type png, but the front end uploads either jpg, or png,. That is to say, what is the hidden bad effect if you directly modify data:image/jpeg;base64 to data:image/png;base64?

Dec.14,2021

image/jpeg and image/png just show that the content-type of this data is different, and it won't make any difference.
if the backend really needs to know jpeg/png and then processes it, it won't let you send base64

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b41e0d-2c5d6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b41e0d-2c5d6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?