Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: More on images.

More on images: Difference between revisions

From MoodleDocs
Line 6: Line 6:
Obviously, the existing images already have a type. But when you create an image using graphics software, you need to decide which type you are going to save it to.
Obviously, the existing images already have a type. But when you create an image using graphics software, you need to decide which type you are going to save it to.


You will often save an image as bitmaps, that is either in the jpg or png file format. You will find information on the web about when to use either format, for example [https://www.techsmith.com/blog/jpg-vs-png/ here].
=== JPG vs PNG
 
You will often save an image as bitmaps, that is either in the JPG or PNG file format. You will find information on the web about when to use either format, for example [https://www.techsmith.com/blog/jpg-vs-png/ here].
 
Since file size can be an important consideration, it is good to know that, for the same image quality, the file size depends on the "content" of the photo. Indeed, if the image is a photo, therefore containing a multitude of colors and shades of colors, it is better to save it in JPG format. On the other hand, if the image is a drawing, containing a limited number of colors, it is better to save it in PNG format.


==See also==
==See also==

Revision as of 01:19, 10 April 2021

This page presents some advice regarding images.

Image type

Obviously, the existing images already have a type. But when you create an image using graphics software, you need to decide which type you are going to save it to.

=== JPG vs PNG

You will often save an image as bitmaps, that is either in the JPG or PNG file format. You will find information on the web about when to use either format, for example here.

Since file size can be an important consideration, it is good to know that, for the same image quality, the file size depends on the "content" of the photo. Indeed, if the image is a photo, therefore containing a multitude of colors and shades of colors, it is better to save it in JPG format. On the other hand, if the image is a drawing, containing a limited number of colors, it is better to save it in PNG format.

See also