

The most common types of vector files are: Because they can infinitely adjust in size without losing resolution, vector files are more versatile for certain types of tasks than raster files.

Raster files are composed of the colored blocks commonly referred to as pixels. Vector files are images that are built by mathematical formulas that establish points on a grid. It’s important to understand when to use each image type and the best file extension for particular situations.

Both image types may be saved with several different file extensions. If some info is outdated or incorrect, or you have anything to add, say or ask, please contact me via Twitter or email.When you’re working digitally, there are two kinds of image file types: raster and vector. You could create another type of validation to block PDF files, though, as a workaround. Unless there will be a separate MIME type especially for Adobe Illustrator files, application/pdf will enable users to upload both. Won’t users be able to upload PDF files, too, with that MIME type? ai filename extension is used by Adobe Illustrator. According to this Wikipedia article, Adobe Illustrator Artwork (AI) is …Ī proprietary file format developed by Adobe Systems for representing single-page vector-based drawings in either the EPS or PDF formats. What do PDF files have to do with AI files? So, What is the Correct MIME Type for Adobe Illustrator. If you head over to Adobe’s Assets User Guide, you’ll see that they mention application/postscript as a MIME type for the Adobe Illustrator. If you head over to IANA, which holds all the official MIME types, you’ll notice that Adobe Illustrator is not even mentioned. Adobe Illustrator is not mentioned on IANA If you have a form that accepts file uploads, then using MIME types for file validation is the more secure way to go, rather than creating an array with the file extensions.īut, as I recently discovered, finding the correct MIME type for Adobe Illustrator.
