Introduction to Html5

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Html5 Image Types Compression Because of data sizes and perceptual issues, compression is typically applied to media data Compression may be lossless or lossy Lossless compression ◦ Data bits can be recovered exactly in the compressed version ◦ Decompressed file has identical bits in identical order to original file before any compression ◦ Example: zip files 2 Lossy Compression Some data bits cannot be recovered after compression ◦ Decompressed file has lost some bits or bytes compared to original file before any compression Goal: Discard data that doesn’t typically affect perception; ◦ Human perception of rendered decompressed data should be similar to perception of rendered data before compression 3 4 Raster File Formats Extension Name Notes Joint Photographic Lossy compression format well suited for .jpg Experts Group photographic images Portable Network Lossless compression image, supporting .png Graphics 16bit sample depth, and Alpha channel Graphics 8bit indexed bitmap format, is superceded .gif Interchange by PNG on all accounts but animation Format Tagged Image lossless compression format (Lempel-Ziv- .tiff Flexible Format Welch – LZW) good for high-res images Google web .webp Lossless compression format Image Sampling Pixels: Small, often square, dots of color or grayscale which merge optically when viewed at a suitable distance to produce the impression of continuous tones 6 Image Resolution Resolution: ◦ Pixel dimensions of image; also: number of pixels that a device can display (render) per unit of length Examples ◦ My laptop display is about 13” (wide) by 8 ¼” (high), with a resolution of 1440x900 pixels (maximum), giving a resolution of about 108 pixels/inch Referred to as 108 dpi (dots per inch) or ppi (pixels per inch) 7 Google Android Device Resolution Classification Typical Resolution Dimensions Megapixels Name Comment 640x480 0.3 VGA VGA Dimensions used for PAL DV, and 720x576 0.4 CCIR 601 DV PAL PAL DVDs 768x576 0.4 CCIR 601 PAL full PAL with square sampling grid ratio 800x600 0.4 SVGA The currently (2004) most common 1024x768 0.8 XGA computer screen dimensions. 1280x960 1.2 1600x1200 2.1 UXGA interlaced, high resolution digital TV 1920x1080 2.1 1080i HDTV format. Typically used for digital effects in 2048x1536 3.1 2K feature films. 3840x2160 4096x2160 4.1 4K Ultra HD Sampling When measuring the value for a pixel, take the average color of an area around the location of the pixel. A simplistic model is sampling a square, this is called a box filter, a more physically accurate measurement is to calculate a weighted Gaussian average (giving the value exactly at the pixel coordinates a high weight, and lower weight to the area around it). When perceiving a bitmap image the human eye should blend the pixel values together, recreating an illusion of the continuous image it represents. Sampling Grid png Sampling Depth 8bit ◦ A common sample format, 8 bit integers can only represent 256 discrete values (2^8 = 256), thus brightness levels are quantized into these levels. 12bit ◦ For high dynamic range images (images with detail both in shadows and highlights) 8bits 256 discrete values does not provide enough precision to store an accurate image. Some digital cameras operate with more than 8bit samples internally, higher end cameras (mostly SLRs) also provide RAW images that often are 12bit (2^12bit = 4096). 16bit ◦ The PNG and TIF image formats supports 16bit samples, many image processing and manipulation programs perform their operations in 16bit when working on 8bit images to avoid quality loss in processing. Sampling Depth (quantization) Image Compression Bitmap images take up a lot of memory, image compression reduces the amount of memory needed to store an image. For instance a 2.1 megapixel, 8bit RGB image (1600x1200) occupies 1600x1200x3 bytes = 5760000 bytes = 5.5 megabytes, this is the uncompressed size of the image. Compression ratio is the ratio between the compressed image and the uncompressed image, if the example image mentioned above was stored as a 512kb jpeg file the compression ratio would be 0.5mb : 5.5mb = 1:11. Common Web Formats Typical Compression Format Description Ratios Lossless for images <=256 colors. Works best for flat color, GIF 4:1 - 10:1 lossless sharp-edged art. Horizontally oriented bands of color compress better than vertically oriented bands. Lossless for high res images. Uses LZW compression. Not TIFF 2:1 lossless great choice for web due to large file sizes. High quality - has little or no loss in image quality with JPEG (High) 10:1 - 20:1 lossy continuous tone originals. Worse results for flat color and sharp-edge art. JPEG 30:1 - 50:1 lossy Moderate quality - usually the best choice for the Web. (Medium) Poor quality - suitable for thumbnails and previews. JPEG (Low) 60:1 - 100:1 lossy Visible blockiness (pixelation). PNG's behave similarly to GIFs only better; they work best 10-30% smaller than with flat-color, sharp-edged art. PNGs compress both PNG GIFs lossless horizontally and vertically, so solid blocks of color generally compress best. WebP 4:1 lossless Google format. Lossless compression.
Recommended publications
  • Paul Hightower Instrumentation Technology Systems Northridge, CA 91324 [email protected]
    COMPRESSION, WHY, WHAT AND COMPROMISES Authors Hightower, Paul Publisher International Foundation for Telemetering Journal International Telemetering Conference Proceedings Rights Copyright © held by the author; distribution rights International Foundation for Telemetering Download date 06/10/2021 11:41:22 Link to Item http://hdl.handle.net/10150/631710 COMPRESSION, WHY, WHAT AND COMPROMISES Paul Hightower Instrumentation Technology Systems Northridge, CA 91324 [email protected] ABSTRACT Each 1080 video frame requires 6.2 MB of storage; archiving a one minute clip requires 22GB. Playing a 1080p/60 video requires sustained rates of 400 MB/S. These storage and transport parameters pose major technical and cost hurdles. Even the latest technologies would only support one channel of such video. Content creators needed a solution to these road blocks to enable them to deliver video to viewers and monetize efforts. Over the past 30 years a pyramid of techniques have been developed to provide ever increasing compression efficiency. These techniques make it possible to deliver movies on Blu-ray disks, over Wi-Fi and Ethernet. However, there are tradeoffs. Compression introduces latency, image errors and resolution loss. The exact effect may be different from image to image. BER may result the total loss of strings of frames. We will explore these effects and how they impact test quality and reduce the benefits that HD cameras/lenses bring telemetry. INTRODUCTION Over the past 15 years we have all become accustomed to having television, computers and other video streaming devices show us video in high definition. It has become so commonplace that our community nearly insists that it be brought to the telemetry and test community so that better imagery can be used to better observe and model systems behaviors.
    [Show full text]
  • Image Resolution
    Image resolution When printing photographs and similar types of image, the size of the file will determine how large the picture can be printed whilst maintaining acceptable quality. This document provides a guide which should help you to judge whether a particular image will reproduce well at the size you want. What is resolution? A digital photograph is made up of a number of discrete picture elements, known as “pixels”. We can see these elements if we magnify an image on the screen (see right). Because the number of pixels in the image is fixed, the bigger we print the image, then the bigger the pixels will be. If we print the image too big, then the pixels will be visible to the naked eye and the image will appear to be poor quality. Let’s take as an example an image from a “5 megapixel” digital camera. Typically this camera at its maximum quality setting will produce images which are 2592 x 1944 pixels. (If we multiply these two figures, we get 5,038,848 pixels, which approximately equates to 5 million pixels/5 megapixels.) Printing this image at various sizes, we can calculate the number of pixels per inch, more commonly referred to as dots per inch (dpi). Just note that this measure is dependent on the image being printed, it is unrelated to the resolution of the printer, which is also expressed in dpi. Original image size 2592 x 1944 pixels Small format (up to A3) When printing images onto A4 or A3 pages, aim for 300dpi if at all Print size (inches) 8 x 6 16 x 12 24 x 16 32 x 24 possible.
    [Show full text]
  • The Strategic Impact of 4K on the Entertainment Value Chain
    The Strategic Impact of 4K on the Entertainment Value Chain December 2012 © 2012 Futuresource Consulting Ltd, all rights reserved Reproduction, transfer, distribution or storage of part or all of the contents in this document in any form without the prior written permission of Futuresource Consulting is prohibited. Company Registration No: 2293034 For legal limitations, please refer to the rear cover of this report 2 © 2012 Futuresource Consulting Ltd Contents Section Page 1. Introduction: Defining 4K 4 2. Executive Summary 6 3. 4K in Digital Cinema 9 4. 4K in Broadcast 12 5. 4K Standards and Delivery to the Consumer 20 a) Pay TV 24 b) Blu-ray 25 c) OTT 26 6. Consumer Electronics: 4K Issues and Forecasts 27 a) USA 31 b) Western Europe 33 c) UK, Germany, France, Italy and Spain 35 7. 4K in Professional Displays Markets 37 8. Appendix – Company Overview 48 3 © 2012 Futuresource Consulting Ltd Introduction: Defining 4K 4K is the latest resolution to be hailed as the next standard for the video and displays industries. There are a variety of resolutions that are claimed to be 4K, but in general 4K offers four times the resolution of standard 1080p HD video. A number of names or acronyms for 4K are being used across the industry including Quad Full HD (QFHD), Ultra HD or UHD and 4K2K. For the purposes of this report, the term 4K will be used. ● These terms all refer to the same resolution: 3,840 by 2,160. ● The EBU has defined 3,840 by 2,160 as UHD-1.
    [Show full text]
  • Preparing Images for Powerpoint, the Web, and Publication a University of Michigan Library Instructional Technology Workshop
    Preparing Images for PowerPoint, the Web, and Publication A University of Michigan Library Instructional Technology Workshop What is Resolution? ....................................................................................................... 2 How Resolution Affects File Memory Size ................................................................... 2 Physical Size vs. Memory Size ...................................................................................... 3 Thinking Digitally ........................................................................................................... 4 What Resolution is Best For Printing? ............................................................................ 5 Professional Publications ............................................................................................................................. 5 Non-Professional Printing ........................................................................................................................... 5 Determining the Resolution of a Photo ........................................................................ 5 What Resolution is Best For The Screen? ..................................................................... 6 For PowerPoint ............................................................................................................................................. 6 For Web Graphics ........................................................................................................................................
    [Show full text]
  • Technologies Journal of Research Into New Media
    Convergence: The International Journal of Research into New Media Technologies http://con.sagepub.com/ HD Aesthetics Terry Flaxton Convergence 2011 17: 113 DOI: 10.1177/1354856510394884 The online version of this article can be found at: http://con.sagepub.com/content/17/2/113 Published by: http://www.sagepublications.com Additional services and information for Convergence: The International Journal of Research into New Media Technologies can be found at: Email Alerts: http://con.sagepub.com/cgi/alerts Subscriptions: http://con.sagepub.com/subscriptions Reprints: http://www.sagepub.com/journalsReprints.nav Permissions: http://www.sagepub.com/journalsPermissions.nav Citations: http://con.sagepub.com/content/17/2/113.refs.html >> Version of Record - May 19, 2011 What is This? Downloaded from con.sagepub.com by Tony Costa on October 24, 2013 Debate Convergence: The International Journal of Research into HD Aesthetics New Media Technologies 17(2) 113–123 ª The Author(s) 2011 Reprints and permission: sagepub.co.uk/journalsPermissions.nav DOI: 10.1177/1354856510394884 Terry Flaxton con.sagepub.com Bristol University, UK Abstract Professional expertise derived from developing and handling higher resolution technologies now challenges academic convention by seeking to reinscribe digital image making as a material process. In this article and an accompanying online resource, I propose to examine the technology behind High Definition (HD), identifying key areas of understanding to enable an enquiry into those aesthetics that might derive from the technical imperatives within the medium. (This article is accompanied by a series of online interviews entitled A Verbatim History of the Aesthetics, Technology and Techniques of Digital Cinematography.
    [Show full text]
  • HD Camcorder
    PUB. DIE-0508-000 HD Camcorder Instruction Manual COPYRIGHT WARNING: Unauthorized recording of copyrighted materials may infringe on the rights of copyright owners and be contrary to copyright laws. 2 Trademark Acknowledgements • SD, SDHC and SDXC Logos are trademarks of SD-3C, LLC. • Microsoft and Windows are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. • macOS is a trademark of Apple Inc., registered in the U.S. and other countries. • HDMI, the HDMI logo and High-Definition Multimedia Interface are trademarks or registered trademarks of HDMI Licensing LLC in the United States and other countries. • “AVCHD”, “AVCHD Progressive” and the “AVCHD Progressive” logo are trademarks of Panasonic Corporation and Sony Corporation. • Manufactured under license from Dolby Laboratories. “Dolby” and the double-D symbol are trademarks of Dolby Laboratories. • Other names and products not mentioned above may be trademarks or registered trademarks of their respective companies. • This device incorporates exFAT technology licensed from Microsoft. • “Full HD 1080” refers to Canon camcorders compliant with high-definition video composed of 1,080 vertical pixels (scanning lines). • This product is licensed under AT&T patents for the MPEG-4 standard and may be used for encoding MPEG-4 compliant video and/or decoding MPEG-4 compliant video that was encoded only (1) for a personal and non- commercial purpose or (2) by a video provider licensed under the AT&T patents to provide MPEG-4 compliant video. No license is granted or implied for any other use for MPEG-4 standard. Highlights of the Camcorder The Canon XA15 / XA11 HD Camcorder is a high-performance camcorder whose compact size makes it ideal in a variety of situations.
    [Show full text]
  • 4K Signal Management 4K Is Here!
    4K Signal Management 4K is Here! Years ago, the first commercial 4K displays came to market with five-figure price tags. Today, you can buy an Ultra HD television (3840x2160) for as little as $300, and dis- play panel manufacturers are rapidly shifting production from beyond 4K resolution. 4K is now the standard resolution for both display monitors and televisions, and 8K is lurking on the horizon. What you need to know: • 4K@60 • UHD • RGB and YUV color spaces • 4:2:2,4:2:0 and 4:4:4 color sampling • Custom resolutions in regards to inputs and scaled outputs (necessary to match LED wall custom configurations) • HDCP 2.2 What is 4K? 4K resolution is the next evolution in visual quality for screens of all varieties, from smartphones up to impressive in-home entertainment setups to movie screens. Where “HD”, or high definition”used to be the gold standard for image quality at 1280 x 720 pixels-per-square-inch (sometimes called 720p for short), or 1920 x 1080 (1080p), 4K resolution has now assumed the crown. At 3840 x 2160 pixels-per-square-inch, it’s also referred to commercially as UHD, or ultra high definition. A greater pixel density means that images are shown in greater clarity, and mimic the abilities of the healthy human eye more closely: it’s no mystery why this resolution in some computer monitors are sold under the term “retina display.” In television and consumer media, 3840 × 2160 (4K UHD) is the dominant 4K standard. 2 | 4K Signal Management Industry Transition to 4K As 4k-branded screens are overtaking their full HD coun- terparts in the open market, the view from outside-in can feel dizzying.
    [Show full text]
  • Video Resolution - an Overview from Robert Silva, Nov 16 2005
    Video Resolution - An Overview From Robert Silva, Nov 16 2005 The Basics A television or recorded video image is basically made up of scan lines. Unlike film, in which the whole image is projected on a screen at once, a video image is composed of rapidly scanning lines across a screen starting at the top of the screen and moving to bottom. These lines can be displayed in two ways. The first way is to split the lines into two fields in which all of the odd numbered lines are displayed first and then all of the even numbered lines are displayed next (this is in analog video formats. Digital video switches this, displaying even number lines first then odd number lines- this is what is meant by field dominance), in essence, producing a complete frame. This process is called interlacing or interlaced scan. The second method, used in digital video recording, digital TVs, and computer monitors, is referred to as progressive scan. Instead of displaying the lines in two alternate fields, progressive scan allows the lines to displayed sequentially. This means that both the odd and even numbered lines are displayed in numerical sequence. Analog Video: NTSC/PAL/SECAM The number of vertical scan lines dictates the capability to produce a detailed image, but there is more. It is obvious at this point that the larger the number of vertical scan lines, the more detailed the image. However, within the current arena of video, the number of vertical scan lines is fixed within a system. The current analog video systems are NTSC, PAL, and SECAM.
    [Show full text]
  • Blu-Ray™ Disc Player User Manual
    BD-D5700 Blu-ray™ Disc Player user manual imagine the possibilities Thank you for purchasing this Samsung product. To receive more complete service, please register your product at www.samsung.com/register Key features Blu-ray Disc Features Blu-ray Disc Player Features Blu-ray Discs support the highest quality HD video available in the industry - Large capacity means Smart Hub no compromise on video quality. You can download various for pay or free- The following Blu-ray Disc features are disc of-charge applications through a network dependant and will vary. connection. These applications provide a range Appearance and navigation of features will also of Internet services and content including news, vary from disc to disc. weather forecasts, stock market quotes, games, Not all discs will have the features described movies, and music. below. AllShare Video highlights You can play videos, music, and photos saved on The BD-ROM format supports three highly advanced your devices (such as your PC, mobile phones, or video codecs, including AVC, VC-1 and MPEG-2. NAS) through a network connection. HD video resolutions are also supported: • 1920 x 1080 High Definition Playing multimedia files • 1280 x 720 High Definition You can use the USB connection to play various kinds of multimedia files (MP3, JPEG, DivX, etc.) For High-Definition Playback located from a USB storage device. To view high-definition contents on a Blu-ray Disc, you need an HDTV (High Definition Television). Some Blu-ray Discs may require you to use the player’s HDMI OUT to view high-definition content.
    [Show full text]
  • Owner's Instructions
    FP-T5084 FP-T6374 PLASMA DISPLAY Owner’s Instructions Register your product at www.samsung.com/global/register Record your Model and Serial number here for future reference. ▪ Model _______________ ▪ Serial No. _______________ BN68-01094P-00Eng.indb 1 2007-04-13 ¿ÀÈÄ 5:30:41 Important Warranty Information Regarding Television Format Viewing Wide screen format PDP Displays (16:9, the aspect ratio of the screen width to height) are primarily designed to view wide screen format full-motion video. The images displayed on them should primarily be in the wide screen 16:9 ratio format, or expanded to fill the screen if your model offers this feature and the images are constantly moving. Displaying stationary graphics and images on screen, such as the dark side-bars on nonexpanded standard format television video and programming, should be limited to no more than 5% of the total television viewing per week. Additionally, viewing other stationary images and text such as stock market reports, video game displays, station logos, web sites or computer graphics and patterns, should be limited as described above for all televisions. Displaying stationary images that exceed the above guidelines can cause uneven aging of PDP Displays that leave subtle, but permanent burned-in ghost images in the PDP picture. To avoid this, vary the programming and images, and primarily display full screen moving images, not stationary patterns or dark bars. On PDP models that offer picture sizing features, use these controls to view different formats as a full screen picture. Be careful in the selection and duration of television formats used for viewing.
    [Show full text]
  • A Digital Video Primer: an Introduction to DV Production, Post-Production, and Delivery
    PRIMER A Digital Video Primer: An Introduction to DV Production, Post-Production, and Delivery TABLE OF CONTENTS Introduction 1 Introduction The world of digital video (DV) encompasses a large amount of technology. There are 1 Video basics entire industries focused on the nuances of professional video, including cameras, storage, 12 Digital video formats and camcorders and transmission. But you don’t need to feel intimidated. As DV technology has evolved, 16 Configuring your system it has become increasingly easier to produce high-quality work with a minimum of 19 The creative process: an overview underlying technical know-how. of movie-making This primer is for anyone getting started in DV production. The first part of the primer 21 Acquiring source material provides the basics of DV technology; and the second part, starting with the sec- 24 Nonlinear editing tion titled “The creative process,” shows you how DV technology and the applications 31 Correcting the color contained in Adobe® Production Studio, a member of the Adobe Creative Suite family, 33 Digital audio for video come together to help you produce great video. 36 Visual effects and motion graphics 42 Getting video out of your computer Video basics 44 Conclusion One of the first things you should understand when talking about video or audio is the 44 How to purchase Adobe software products difference between analog and digital. 44 For more information An analog signal is a continuously varying voltage that appears as a waveform when 50 Glossary plotted over time. Each vertical line in Figures 1a and 1b, for example, could represent 1/10,000 of a second.
    [Show full text]
  • Quick Reference HDR Glossary
    Quick Reference HDR Glossary updated 11.2018 Quick Reference HDR Glossary technicolor Contents 1 AVC 10 MaxCLL Metadata 1 Bit Depth or Colour Depth 10 MaxFALL Metadata 2 Bitrate 10 Nits (cd/m2) 2 Color Calibration of Screens 10 NRT Workflow 2 Contrast Ratio 11 OETF 3 CRI (Color Remapping 11 OLED Information) 11 OOTF 3 DCI-P3, D65-P3, ST 428-1 11 Peak Code Value 3 Dynamic Range 11 Peak Display Luminance 4 EDID 11 PQ 4 EOTF 12 Quantum Dot (QD) Displays 4 Flicker 12 Rec. 2020 or BT.2020 4 Frame Rate 13 Rec.709 or BT.709 or sRGB 5 f-stop of Dynamic Range 13 RT (Real-Time) Workflow 5 Gamut or Color Gamut 13 SEI Message 5 Gamut Mapping 13 Sequential Contrast / 6 HDMI Simultaneous Contrast 6 HDR 14 ST 2084 6 HDR System 14 ST 2086 7 HEVC 14 SDR/SDR System 7 High Frame Rate 14 Tone Mapping/ Tone Mapping 8 Image Resolution Operator (TMO) 8 IMF 15 Ultra HD 8 Inverse Tone Mapping (ITM) 15 Upscaling / Upconverting 9 Judder/Motion Blur 15 Wide Color Gamut (WCG) 9 LCD 15 White Point 9 LUT 16 XML 1 Quick Reference HDR Glossary AVC technicolor Stands for Advanced Video Coding. Known as H.264 or MPEG AVC, is a video compression format for the recording, compression, and distribution of video content. AVC is best known as being one of the video encoding standards for Blu-ray Discs; all Blu-ray Disc players must be able to decode H.264. It is also widely used by streaming internet sources, such as videos from Vimeo, YouTube, and the iTunes Store, web software such as the Adobe Flash Player and Microsoft Silverlight, and also various HDTV broadcasts over terrestrial (ATSC, ISDB-T, DVB-T or DVB-T2), cable (DVB-C), and satellite (DVB-S and DVB-S2).
    [Show full text]