Convert AI to ICO in C#
Native and high performance AI to ICO conversion using server side GroupDocs.Conversion for .NET APIs, without the use of any software like Microsoft or Open Office.
Download Free Trial
GroupDocs.Conversionfor .NET
About GroupDocs.Conversion for .NET API
GroupDocs.Conversion API can be used to convert Microsoft Word, Excel, PowerPoint, PDF, Visio and various other formats. GroupDocs.Conversion is a standalone API that is suitable for server side and backend systems where high performance is required. It does not depend on any software like Microsoft or Open Office.
Steps to Convert AI to ICO in C#
GroupDocs.Conversion makes it easy for developers to convert the AI file to ICO using a few lines of code.
- Create an instance of Converter class and load the AI file with full path
- Create & set ConvertOptions for the ico type
- Call Converter.Convert method and pass the full path and format (ICO) as parameter
System Requirements
A basic conversion with GroupDocs.Conversion for .NET APIs can be done by implementing a few easy steps. Our APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
- Operating Systems: Microsoft Windows, Linux, MacOS
- Development Environments: Microsoft Visual Studio, Xamarin, MonoDevelop
- Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
- Get the latest version of GroupDocs.Conversion for .NET downloaded from Nuget
C# code snippet to convert AI to ICO
// load the AI file
var converter = new GroupDocs.Conversion.Converter("template.ai");
// set the convert options for ICO format
var convertOptions = converter.GetPossibleConversions()["ico"].ConvertOptions;
// convert to ICO format
converter.Convert("output.ico", convertOptions);
AI to ICO Live Demos
Convert AI to ICO right now by visiting GroupDocs.Conversion Live Demos website.
The live demo has the following benefits
AI About AI File Format
A file with an .ai extension is an Adobe Illustrator Artwork file that contains vector graphics in a single page. it uses points to create paths for displaying the image data, thus making it safe from losing image quality if it is enlarged. AI file format is base don the PGF file format which are similar to AI files. AI format finds its major usage for logos and print media, and its initial versions were considered similar to that of EPS files. AI files can be opened with Adobe Illustrator, Adobe Acrobat DC, PaintShop Pro, and CorelDraw Graphics tools.
Read MoreICO About ICO File Format
Files with ICO extension are image file types used as icon for representation of an application on Microsoft Windows. These come in different size, colour support and resolution to suit the requirements of the display. Another similar image file format on Microsoft Windows is .CUR for cursor representation and defines a hotspot in the image header. On MacOS, ICNS file formats serve the same purpose as ICO files. Several online websites as well as applications provide the feature of creating such files and convert other image formats such as BMP, PNG, etc. to icon file format. The official IANA registered Internet media type for ICO files is image/vnd.microsoft.icon.
Read MoreOther Supported Conversions
You can also convert AI into many other file formats. Please see the complete list below.