{"id":1202,"date":"2016-04-15T10:04:42","date_gmt":"2016-04-15T10:04:42","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=1202"},"modified":"2016-04-16T20:21:50","modified_gmt":"2016-04-16T20:21:50","slug":"national-5-media-types-revision","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2016\/04\/15\/national-5-media-types-revision\/","title":{"rendered":"National 5 &#8211; Media Types (Revision)"},"content":{"rendered":"<h3><strong>Standard file formats:<\/strong><\/h3>\n<ul>\n<li><strong>Text<\/strong>:\n<ul>\n<li><strong>txt<\/strong> &#8211; only text stored no formatting<\/li>\n<li><strong>rtf<\/strong> &#8211; Rich Text Format, text and formatting stored, new standard allow for the storing of embedded images.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Audio<\/strong>:\n<ul>\n<li><strong>wav<\/strong> &#8211; uncompressed audio<\/li>\n<li><strong> mp3<\/strong> &#8211; compressed audio<\/li>\n<\/ul>\n<\/li>\n<li><strong>Graphics<\/strong>:\n<ul>\n<li><strong> jpeg<\/strong> &#8211; used for photographs due to strong compression<\/li>\n<li><strong> bmp<\/strong> &#8211; uncompressed<\/li>\n<li><strong>gif<\/strong> &#8211; used for animations and drawings, few colours<\/li>\n<li><strong>png<\/strong> &#8211; compressed with partial transparency.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Video<\/strong>:\n<ul>\n<li><strong>mp4<\/strong> &#8211; compressed<\/li>\n<li><strong>avi<\/strong> &#8211; uncompressed<\/li>\n<\/ul>\n<\/li>\n<li><strong>Pdf<\/strong>: Portable Document Format &#8211; used to retain the look and format of a document across difference platforms. Document always looks the same regardless of screen size, fonts etc.<\/li>\n<\/ul>\n<h3>Factors affecting file size and quality<\/h3>\n<ul>\n<li><strong>Resolution<\/strong> &#8211; the number of pixels used to make up the picture.<\/li>\n<li><strong>Colour Depth<\/strong> &#8211; the number of possible colours used to make up a pixel. The more possible colours the greater the file size.<\/li>\n<li><strong>Sampling Rate<\/strong> &#8211; in sound files the number of recordings taken per second., the greater the sample rate the higher the quality and file size.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3>Calculation of file size for colour bitmap.<\/h3>\n<p style=\"padding-left: 30px\"><em>Horizontal Pixels =\u00a0image width x resolution(DPI)<\/em><\/p>\n<p style=\"padding-left: 30px\"><em>Vertical Pixels = image height x resolution(DPI)<\/em><\/p>\n<p style=\"padding-left: 30px\"><em>Number of pixels =\u00a0Horizontal Pixels x Vertical Pixels<\/em><\/p>\n<p style=\"padding-left: 30px\"><em>File Size = Number of pixels x colour depth (in bits)<\/em><\/p>\n<p><strong>Example 1<\/strong><\/p>\n<p><a href=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G.png\"><img decoding=\"async\" data-attachment-id=\"1214\" data-permalink=\"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2016\/04\/15\/national-5-media-types-revision\/n5g\/\" data-orig-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G.png\" data-orig-size=\"293,293\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"N5G\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G.png\" data-large-file=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G.png\" class=\"alignnone size-full wp-image-1214\" src=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G.png\" alt=\"N5G\" width=\"293\" height=\"293\" srcset=\"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G.png 293w, https:\/\/glow-prod-nl.s3.eu-west-1.amazonaws.com\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/04\/N5G-150x150.png?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&amp;X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEwaCWV1LXdlc3QtMSJHMEUCIBOCKALfc%2BRVylL83dAxAg%2F8YdNsGLzrly9QeuASW00oAiEAkerWuHXFLGp0pqW8OlmIJ8DcIqy4eAs9PR5TJm0VAJwquQUIFRAFGgwyNzM1NzAxOTU0MzMiDII%2Bqy3B9%2Fl6pF2kJiqWBXao%2BgMAoDm7ItvAdLqqFnkaj9H6cWfYd5LOcLKNAyUp8ExyO%2Ba7%2FH9YHwUFEYbUZJIkwHGlJu0y6jj11HsWsThBKt8sX%2BftC%2FWHZixDqFMYEbh9rXCq4MAgif4H5nDplIDJvTCv5GTk19Ngs22TdLrdCJZ9CNO%2BGbrgSBilXnK2WVelj4T%2F%2FxudnaN9ARBlIUdTfsKVdxU4IUVoJI9komqcZZeldVUMPBIb3wslwGJafOR7ts%2FXaGkDG7oanuzFh5qkG29WGixOEdD3oa8USi3bUMHr1MWMy%2BjDefghknwZk9PXgfidcTT1EbkJIM%2Fl2bnz3oxsb22NG%2Fg%2BLnlLopxVQZ0deGyQeumTFhmNW78AoA8j9BmwaVJiU%2F7obPjU9iU2CLJ4Q%2BxafKmQOYpyG75WBdW%2BpURmsMuDOdvGQK4oyGEYkN%2Bq%2FEmqGVXy4G9L2s2FnS%2BEaKZKRdZN5z7Aiu0dicdin0zkswI8HwA2MfjaGSOX6lhhVSS8d4fBc662rphOYqeC1Yjgll%2FVHV0bxgDVS5Qb29yg6uHNx9kVJoQUVhOaTG8QObNpWQvbJncMpwcGacqQwtNminB3wR8q6dIXJeUKT8EcvYWlHuXn567ckR%2Fa5o6CqkQ9D6uYWllN%2BuEjTThbJF%2FpuV7fACalGEM6RGiKRba1e%2F0BMSOVpecwcKMuuszdUTk%2Fg2I9X%2F9U6p9lh5zpQMNL%2BxMi3RwaamCa1C8w4tSZ1vzOLZk0lwVsqVKKhekihA0IwLZdsRmlzhi4UCF6G8nZ6%2FXQqygeYkmvhdp02vG0E4ynJ%2Fs0jDxbk%2BpYSluw%2FocrEWkapduMmz3MNatYTv%2FKOKDoRf5RPVzE3jRDc%2Bk2kHaoo%2F%2B7bjWH7XOvkdb%2BMObM2NIGOrEBpEI6koZ7sqAw9vOdBnBDb4buJ%2FnQtuxywgTvYihbgUahFWauesSLHW7AlxWgerm1dG6uFnWzGJG7LPSP5Iqa1duO7%2BHXQyzAZhSVUnjynfQLIxKdyyR%2FCOgmLLpooVDwCjqU8KQasxpCRdtL%2B64uOy59o2TvY2ktgQty3h%2BqXA3yJDCzvI5maP7Jut8osmNmST0GCw3lSWgs%2BQ5CRbxFqAfmWhWAs6l86W%2BbdF8VWOnE&amp;X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=ASIAT7MQN47USFFG77KM%2F20260714%2Feu-west-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260714T121429Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=900&amp;X-Amz-Signature=6a7e9e28b7225c017fdb82e2bfa477e6809b36be4e9a88d6102c0a30e02ba613 150w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<p>This is enlarged but is 1 inch by 1 inch.<\/p>\n<p style=\"padding-left: 30px\"><em>In that case there are 72 x 1 x 72 x 1 = 5184 pixels<\/em><\/p>\n<p><strong>Example 2<\/strong><br \/>\nBitmap with a resolution of 600&#215;600 pixels in 8 bit colour.<br \/>\nStorage requirements<\/p>\n<p style=\"padding-left: 30px\"><em>600 x 600 x 1 bytes = 360000<\/em><br \/>\n<em>It is 1 byte as it is 8 bits per pixel <\/em><br \/>\n<em>360000\/1024 = 351.6 kilobytes<\/em><\/p>\n<p><strong>Example 3<\/strong><br \/>\nCalculate the number of pixels in 4 inch by 5 inch photograph scanned which has a resolution of 600 dots per inch.<\/p>\n<p style=\"padding-left: 30px\"><em>Pixels = 4 x 600 x 5 x 600 = 7,200,000 bits<\/em><br \/>\n<em>7,200,000 \/ 8 = 90000 bytes<\/em><br \/>\n<em>90000 bytes \/ 1024 = 878.9 Kb<\/em><\/p>\n<p><strong>Vector Graphics<\/strong><br \/>\nIt is possible to edit <strong>each object<\/strong> separately, for example, change the shape, colour, size and position.<br \/>\nEven if an object in a vector graphic is quite large, it doesn&#8217;t need a lot of computer memory. Therefore the file size of a vector graphic is often very <strong>small<\/strong>.<br \/>\nVector graphics are <strong>scalable<\/strong> when you resize them, they<strong> do not lose quality<\/strong>.<\/p>\n<p><strong>Need for compression<\/strong> &#8211; reduces the file size so that the web page loads more quickly. Reducing bit depth has the same impact. Quality of the image is affected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Standard file formats: Text: txt &#8211; only text stored no formatting rtf &#8211; Rich Text Format, text and formatting stored, new standard allow for the storing of embedded images. Audio: wav &#8211; uncompressed audio mp3 &#8211; compressed audio Graphics: jpeg &#8211; used for photographs due to strong compression bmp &#8211; uncompressed gif &#8211; used for &hellip;<\/p>\n","protected":false},"author":32,"featured_media":1077,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4250,17008,17007,17013,475,375],"tags":[],"class_list":["post-1202","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-audio","category-graphics-media-types","category-media-types","category-national-5","category-revision","category-video"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/03\/Nat5.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/comments?post=1202"}],"version-history":[{"count":3,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1202\/revisions"}],"predecessor-version":[{"id":1215,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1202\/revisions\/1215"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media\/1077"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=1202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=1202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=1202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}