June - AI Extension 2023
10. srpnja 2023. 14:18
To allow the import of Adobe Illustrator files into Inkscape, we are developing a Python extension. This post outlines the progress in the 4th month of the project, June 2023. Work is carried out inside the git repository extension-ai. To read more about the progress in May, read the last blog post.
Nicco made a short video on raster graphics.
Below, you can find a list of what Nicco has worked on in June 2023:
- Live Shape Styles - Adobe Illustrator has changed how styling is specified. The new way is to specify all style in the setup of the document and reuse them for different elements. Jonathan and Nicco had a pair-programming session parsing the content.
- Irregular Corners of Rectangles in Adobe Illustrator can be converted to Path Effects in Inkscape. Rectangles are one of the live shapes. The MR 77 is still open at the time of writing.
- Raster Image Graphics - Nicco did the parsing and Jonathan the SVG conversion of the data. The video shows how a graphic is opened.
- Gradient Colors & Stops - the definitions are parsed in the header. Still, we need to parse their use and convert them to SVG.
- A new SVG conversion architecture has been started, see MR 84 (not merged at the time of writing). The new one has a state machine traking the state of the AI structure while it is parsed. This way, elements can change how they display in the SVG so according to their context in the AI data structure. Example: u starts a group like <g> but also starts a section in a compound path. For diagrams, see the merge request.