In this recipe, vector graphics are to be converted into bitmaps. That is to say, we do need to convert them because there is a simple process that we can carry out. It is very easy, but we need to use a free and open source software. Let's get ready!
This transformation process is done with the help of Inkscape. Therefore, if you do not have Inkscape installed, you can download it from the following website: http://inkscape.org/download/?lang=eng. After downloading it, there are many features that you can learn about and how they work.
After installing Inkscape, search for vector graphics. There is a very interesting website where you can find many kinds of icons: http://www.openclipart.org/browse. Download the SVG clipart and Inkscape will automatically open with the clipart in the middle (if you have previously installed it in your computer). Therefore, follow these steps to start the transformation process:
triangle.svg
, for example.We have just selected the clipart and saved it in Inkscape as .svg
. Now, it is time to transform this .svg
into a bitmap (.png
file). Therefore, these are the steps to follow in order to carry out the transformation:
.PNG
format.
PNG
is an open image format that has lossless compression, as we have already dealt with in Chapter 7, Working with Bitmap Images and Photographs. Moodle, Hot Potatoes, and Quandary 2 work very well with these types of files. We have worked with the PNG
format due to the fact that the images are small in size.
3.16.79.147