{"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 loading=\"lazy\" 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=IQoJb3JpZ2luX2VjELL%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCWV1LXdlc3QtMSJGMEQCIDo7xgft42MoAaeVNOKCrW4zsIMsKr4DMPI%2F4qgSc7ZPAiBiQQ3YhdlGoGsaRP83M%2Ftjcz4p7urHuvkpKI3c6g74LCq5BQh7EAUaDDI3MzU3MDE5NTQzMyIMA%2BTPwn2Brdc7J9sIKpYFQ8WlD4SzyWO5N9%2Fkej6TjLj3dCd%2BkT3Hky0rVyBbJnSgsYcXEVNkDb0g6Htzp9sQ%2FLCJc6Li2FNWqPBIcaDkijksxyRopIDlRhvs3caX9760BJKJtdPcFjGr%2BYx0c0VHSXCuhZQxpuvpypLvTnBgyhOidpOwj2bKX02LGb9BVhiJcOyUgwkCq1PoqnRch6tf%2BeRs9Hxf%2FPJEfdbFALLjsaUrXzbtcCFMWLAUO2p1jiahFl2S6fIR4euTgXq6Tj51PyBy1b0jjFGiMt0965bLdmUI7HDYcJweRK47aijUM3iw4Za%2FoE9tPMllVJ8nFYkca%2FgwWbrNzHEzwn6OQZ45bCChJ0YpCX7qHXsIaSljiOm87EUMUWu09rBEO6qstlc8i6o0nv%2F6P85bjLg3uyIyTx33ABSrNYtoTTxwVAXk4WiVqH7ibK%2BEvKiy5kJ6r1sDFCMkjpJqD9i4zyLcjkkHrZV8h2D4Z5H49qhBIoIlMFb0XfnbMbkXg42iY94dqSm4qFOk0p45xo1NIMjNcJOvc58Kbx6JlAibpfS9fLLx%2FvFSWfX3eJg5kRex6tiwiQwwIlYdBEw%2BO5NRJs8avUjBP%2F2KsS%2FoZSyh5rTn%2BLEH4AmSHmMWsvaDqdYhFeiihUX1O3biQb7z1e1LnUh6axZZPIPioZyQ%2FFKe%2BQGI813l0OjEWJTvLqz8jX34VESIlecvkv%2F4d6C4D1RAFhc7KEYeIrq12bvZ9GD%2BLMh4zIPIbRDS2dMHMKn1DfSgVg2C5Gi7PL80PNQhm7%2Fu%2BAWBNJQSk0AlBdFmGY89%2BTpW9OhN8HDdoAU3fO2Y%2FREMjS2iOfNbY6WwIr6ps8V1uvRUlM6xlvpUZGaFAMfXBMqkE%2FVMyn6tLmPHtKEwlv%2BszwY6sgH6VHRoenB3ku1FrIM%2FytnIP8Rk96GEPDXYqZAVeko8EWItOV9tpvEPXUItmbf0UVMLq%2FpSFZLBEgJsMN66fHpCNI0ivBFrUNdWiF%2BsWUX4%2BwqME2yk7v8P26IBPicGY%2BphdoPozNPS8UJj%2BMsXscgVqW5yUyvrIwyzXbKXrIWL5kqfNJ2AiPFd1RnUv1ZB6QjvRBSpjV2Agwkkq%2FyEwsvNFYAhb3oKr3yg5ivJjEoNttUk&amp;X-Amz-Algorithm=AWS4-HMAC-SHA256&amp;X-Amz-Credential=ASIAT7MQN47UVKVXJIFN%2F20260424%2Feu-west-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20260424T103151Z&amp;X-Amz-SignedHeaders=host&amp;X-Amz-Expires=900&amp;X-Amz-Signature=d19c8a19cf8ded49b8b9a3cc85276e594edc1e9236e253660323411cfd2d6565 150w\" sizes=\"auto, (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}]}}