Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Moodle Theme Development

You're reading from   Moodle Theme Development Build customized themes to make your Moodle courses engaging and interactive

Arrow left icon
Product type Paperback
Published in Dec 2016
Publisher
ISBN-13 9781786463210
Length 302 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Silvina Paola Hillar Silvina Paola Hillar
Author Profile Icon Silvina Paola Hillar
Silvina Paola Hillar
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. An Introduction to Moodle 3 and MoodleCloud 2. Themes in Moodle 3 on-premises and MoodleCloud FREE CHAPTER 3. Setting Up Logos in Moodle Themes 4. Customizing the Header and the Footer 5. Customizing Elements with CSS 6. Locating, Editing, and Using New Icons 7. Optimizing Themes for Mobile Devices 8. Exploring Layouts 9. Course Formats 10. Extending Moodle Theming to Specific Sections A. Test Your Knowledge Answers

Converting SVG files to PNG files


We have just edited an SVG file but there are two types of files in Moodle. The type of file that Moodle is going to display depends on the web browser or the device that we use. That is to say, it will show either the PNG or the SVG. Thus, what we need to do is to have two identical files with different file extensions.

This transformation process has to be done with Inkscape software and we will convert the SVG to a bitmap image, in other words, we will convert the SVG file to PNG. Follow these steps in order to do it:

  1. Click on File | Export PNG Image..., as shown in the following screenshot:

  2. An information block appears on the right-hand side of the margin displaying information for the file, as shown in the following screenshot:

    Tip

    Within the block, the image size appears which reads: Width 24 pixels and Height 24 pixels. We need to check the number of pixels of the original PNG file in order to compare them to check that they are the same size. We cannot...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime