2 ms·
> Kids in California fail AP tests because they don't know what a file format is and try to submit HEIC images to a web form that only takes JPEG and PNG. I ag
by codetrotter 6y ago
> Kids in California fail AP tests because they don't know what a file format is and try to submit HEIC images to a web form that only takes JPEG and PNG.
I agree somewhat but I think the AP test website makers should take some responsibility too. Limiting the upload to only JPEG and PNG is silly IMO. Wouldn’t really cost them anything to install ImageMagick on their server and accept a much wider range of file formats.
ImageMagick can read and convert pretty much any image format you throw at it, check out the list of formats here: https://imagemagick.org/script/formats.php https://imagemagick.org/script/formats.php
And yes, ImageMagick supported file formats include even HEIC.
I mean, if we are going to talk about having knowledge about file formats and technical details about computers, perhaps the kids aren’t the only ones lacking – so too do the people that keep insisting on only PNG or JPEG in 2020 IMO. Why force everyone to deal with these things when the server could handle much more of it automatically?
- ogre_codes 6y ago> Limiting the upload to only JPEG and PNG is silly IMO. Or... Use proper HTML to limit what file types you site accepts so users can't upload files you don't support. If a site says it only supports JPG/ PNG on the input element, Safari automatically converts it to JPG.