summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
14 daysRename repository to `graphics-inkscape`testsxengineering
The old name `art-inkscape` is a bit too strict.
2024-11-28icons: Change CMake target formatxengineering
The new format is now `icon-{format}-{name}`. This makes it consistent with the nesting in the build folder.
2024-11-28icons: Use globbing to auto-register icons to CMakexengineering
Adding new icons now only requires adding an SVG file to the icons directory. The icon name does not have to be added to the CMakeLists.txt file.
2024-11-28Handle convert to magick transition correctlyxengineering
ImageMagick version 7 deprecated the `convert` command. Using it will trigger warnings on distributions with a recent version of it like e.g. Arch Linux. On other distributions (e.g. Debian) the new `magick` command is not available since ImageMagick version 6 is currently used. CMake can handle this by choosing `magick` if present and `convert` if not. This is done by this commit.
2024-11-28Add support for *.ico formatxengineering
This is intended to be used for website favicons. This commit embeds the image only in one size while the ico format can handle multiple of them.
2024-11-28Add folder per file type in build directoryxengineering
The intended hierarchy for the build tree is: 1. Art type (icon or something different) 2. File type (pdf, svg, png) 3. Dimensions (based on pixels or mm) [not yet implemented]
2024-11-28Refactor CMakeLists.txtxengineering
There was some code duplication which is now removed.
2024-11-28Drop JPEG supportxengineering
This is done because of three reasons: - CMake code is simplified - `ImageMagick` dependency is not needed anymore - PNG in contrast to JPEG only uses lossless compression [1] - PNG in contrast to JPEG can store transparent pixels [1] - build time is reduced (not yet relevant but will be) [1]: https://www.adobe.com/creativecloud/file-types/image/comparison/jpeg-vs-png.html
2024-11-28Switch to dual-licensing with CC BY-SA and MPL 2.0xengineering
This repository mixes art and code. Since it is hard to find a suitable license for both dual-licensing is an obvious choice to fix that problem.
2024-11-24Document build dependenciesxengineering
2024-11-24icons: Add jpg output formatxengineering
2024-11-24icons: Add PNG generationxengineering
2024-11-24icons: Fix CMake dependenciesxengineering
This commit avoids that Inkscape calls are repeated if the output file was already built and is up to date.
2024-11-24icons: Add SVG output formatxengineering
Inkscape provides also SVG output. While the source file is also an SVG the output SVG file e.g. has a correct docname in the file matching the file name. This also adds a CMake target for the output SVG.
2024-11-24Add README.md with usage instructionsxengineering
2024-11-24icons: Fix executing multiple Inkscape instancesxengineering
This adds a workaround for the Inkscape call to allow calling multiple instances of Inkscape in parallel. [1]: https://gitlab.com/inkscape/inkscape/-/issues/4716
2024-11-24icons: Implement PDF export with CMakexengineering
2024-11-24cmake: Add minimal CMakeLists.txt starting pointxengineering
This specifies the minimal CMake version and defines the project name. Furthermore C and CXX language support is disabled since this is not needed here.
2024-11-24icons: Add example.svgxengineering
This is just a minimal starting point especially targeted at writing a build system for this project.
2024-11-24Add CC BY-SA 4.0 licensexengineering
The main content of this repository is art. The creative commons licenses are well suited for that purpose.