V Grech. Publishing on the WWW. Part 1 - Static graphics. Images Paediatr Cardiol Oct-Dec; 2(4):

Similar documents
INTRODUCTION TO COMPUTER GRAPHICS

Bitmap Vs Vector Graphics Web-safe Colours Image compression Web graphics formats Anti-aliasing Dithering & Banding Image issues for the Web

Photoshop CS6. Table of Contents. Image Formats! 3. GIF (Graphics Interchange Format)! 3. JPEG or JPG (Joint Photographic Experts Group)!

Specific structure or arrangement of data code stored as a computer file.

LECTURE 02 IMAGE AND GRAPHICS

4 Images and Graphics

Bitmap Image Formats

LECTURE 03 BITMAP IMAGE FORMATS

Developing Multimedia Assets using Fireworks and Flash

Factors to Consider When Choosing a File Type

Digital photo sizes and file formats

Topics. 1. Raster vs vector graphics. 2. File formats. 3. Purpose of use. 4. Decreasing file size

Photoshop Domain 5: Publishing Digital Images Using Adobe Photoshop CS5

Graphics for Web. Desain Web Sistem Informasi PTIIK UB

Digital Imaging & Photoshop

Fundamentals of Multimedia

PB Works e-portfolio Optimizing Photographs using Paintshop Pro 9

Vector VS Pixels Introduction to Adobe Photoshop

Pros and Cons for Each Type of Image Extensions

Image Optimization for Print and Web

TEST INFORMATION: 40 questions 50 minutes 70% minimum required to pass. Score is based on a 1000 pt system so passing will be a 700.

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Starting a Digitization Project: Basic Requirements

Color, graphics and hardware Monitors and Display

Section 4 Digital Imagery/ Photo

UNIT 7C Data Representation: Images and Sound

PENGENALAN TEKNIK TELEKOMUNIKASI CLO

Adobe Photoshop CS2 Workshop

GUIDELINES & INFORMATION

1. Describe how a graphic would be stored in memory using a bit-mapped graphics package.

Applying mathematics to digital image processing using a spreadsheet

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Digital Imaging and Image Editing

Subjective evaluation of image color damage based on JPEG compression

IMAGE SIZING AND RESOLUTION. MyGraphicsLab: Adobe Photoshop CS6 ACA Certification Preparation for Visual Communication

WordPress Users Group Manchester, NH July 13, Preparing Images for the Web. Daryl Johnson SvenGrafik

STANDARD ST.67 MAY 2012 CHANGES

UNIT 7C Data Representation: Images and Sound Principles of Computing, Carnegie Mellon University CORTINA/GUNA

Lecture - 3. by Shahid Farid

The next table shows the suitability of each format to particular applications.

Photoshop: Save for Web and Devices

ISO/TR TECHNICAL REPORT. Document management Electronic imaging Guidance for the selection of document image compression methods

Understanding Image Formats And When to Use Them

Image optimization guide

One Week to Better Photography

Elements of Design. Basic Concepts

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

Raster (Bitmap) Graphic File Formats & Standards

ITP 140 Mobile App Technologies. Images

Introduction to Photography

MOTION GRAPHICS BITE 3623

Module 4 Build a Game

Using Adobe Photoshop

OBJECT PHOTOGRAPHY. iskills Workshop October 12, :30 6:30pm

CS 262 Lecture 01: Digital Images and Video. John Magee Some material copyright Jones and Bartlett

apt solutions, inc. Tips Graphics - An Introduction Vector vs. Raster Graphics Vector Graphics

Digital Images. Digital Images. Digital Images fall into two main categories

4/9/2015. Simple Graphics and Image Processing. Simple Graphics. Overview of Turtle Graphics (continued) Overview of Turtle Graphics

HTTP transaction with Graphics HTML file + two graphics files

Resizing Images By Laurence Fenn

Picsel epage. Bitmap Image file format support

SARG Smooth Snake ID Photo Guide

Adobe Fireworks CS4 Kalamazoo Valley Community College February 25, 2010

State Library of Queensland Digitisation Toolkit: Scanning and capture guide for image-based material

Recitation 2 Introduction to Photoshop

CS101 Lecture 19: Digital Images. John Magee 18 July 2013 Some material copyright Jones and Bartlett. Overview/Questions

B.Digital graphics. Color Models. Image Data. RGB (the additive color model) CYMK (the subtractive color model)

Multimedia. Graphics and Image Data Representations (Part 2)

Resizing images for the web using. Version 1.3. WrightWay. Design.

Guide to Computer Forensics and Investigations Third Edition. Chapter 10 Chapter 10 Recovering Graphics Files

Digital Image Processing Introduction

How to Create Website Banners

Digital Files File Format Storage Color Temperature

Introduction to PHOTOSHOP

PCCLUB.ORG.UK Tuesday, 3 rd May 2005 Stuart Crump. Picture Editing, Printing & Publishing Tutorial 1 of 2

What You ll Learn Today

A raster image uses a grid of individual pixels where each pixel can be a different color or shade. Raster images are composed of pixels.

CSC 170 Introduction to Computers and Their Applications. Lecture #3 Digital Graphics and Video Basics. Bitmap Basics

Basic photography Art, composition, and computer principles AEE 211 February 24, 2003

2. Advanced Image Editing

Creating Digital Artwork

Diploma in Photoshop

CD: (compact disc) A 4 3/4" disc used to store audio or visual images in digital form. This format is usually associated with audio information.

Photoshop Elements 3 First Steps

Preparing Images For Print

OSA Sponsorship Order Form

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

Unit 4.4 Representing Images

CHAPTER 3 I M A G E S

Capturing and Editing Digital Images *

Learning Outcomes In this lesson, you will learn about the file formats in Adobe Photoshop. By familiarizing

4/23/12. Improving Your Digital Photographs + ABOUT ME. + CHANGES in PHOTOGRAPHY. CAMERA and DARKROOM Pro? Cons? DIGITAL PHOTOS Pro? Con?

Inserting Images Into Documents

DIGITAL WATERMARKING GUIDE

The Need for Data Compression. Data Compression (for Images) -Compressing Graphical Data. Lossy vs Lossless compression

This report provides a brief look at some of these factors and provides guidelines to making the best choice from what is available.

2. Advanced Image editing

Resizing Images for Competition Entry

Warm up Question: Question: 8-bit indexed colour uses 256 colours. Announcements. Overview of Today s Topics. Announcements GRAPHICS CONTINUED

For all question related to Photoshop that we cannot address in class, start by looking at the excellent Photoshop help: Help > Photoshop Help.

Transcription:

IMAGES in PAEDIATRIC CARDIOLOGY Images Paediatr Cardiol. 2000 Oct-Dec; PMCID: PMC3232491 Publishing on the WWW. Part 1 - Static graphics V Grech * * Editor-in-Chief, Images Paediatr Cardiol, Paediatric Department, St. Luke's Hospital, Guardamangia, Malta Contact information: Dr. Victor Grech, Editor-in-Chief, Images Paediatr Cardiol, Paediatric Department, St. Luke's Hospital, Guardamangia, Malta ; Email: victor.e.grech@magnet.mt Copyright : Images in Paediatric Cardiology This is an open-access article distributed under the terms of the Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract An on-line journal's ability to publish graphics at no additional cost is a major advantage over conventional printed journals. This article outlines technical, copyright and other issues related to graphic publishing on the world-wide-web. MeSH: Medical Illustration, Photography/methods, Informatics/methods, Image Processing, Information Storage and Retrieval/standards, Photography Introduction An on-line journal has several advantages over a conventional journal, and these advantages relate mostly to the unrestricted ability to display information in multimedia format, which includes still pictures, and animations which may also include sound, or audio information alone. An on-line journal does not incurr additional costs for publishing papers which rely heavily on graphics, and it makes no difference whether such graphics are in colour or in black and white. Moreover, it is simply not possible to display multimedia in a conventional journal. In this article, I will address the commonest issues pertaining to the on-line publishing of static graphics. Graphics may be supplied by authors as photographs, which can then be scanned, or as digital images obtained by means of a digital camera or prescanned images by the authors. A drawing package, such as PaintShop or Adobe Photoshop, allows the acquisition and editing of digital images including clipping, resizing, and general enhancement such as adjustment of contrast and brightness. 1 The image manipulation outlined below can also be carried out with one of these drawing packages. The final image that is to be published on the web is usually produced in one of two formats: GIF or JPG (or JPEG). These file types can be viewed by almost all internet browsers. An overriding concern for on-line journal editors is that readers should not need to wait excessively for an article in web page format to download, as readers will lose patience and browse off elsewhere. Download speed is determined by four factors: 11

1. Website server speed: How fast is the server that hosts the journal? 2. Journal demand: if the journal is widely read, then the server must be powerful enough to maintain fast internet access speeds. 3. The speed of the connection at the readers end which is mostly a function of user modem speed. 4. Web page size: the smaller the overall size of the web page, the faster the download time. In practice, the only variable over which the journal editors have direct control is the last point. Web page size is determined mostly by the size of the graphics which the page carries, and the size of a graphic is determined by three factors: 1. The actual physical size of a graphic in pixels, and resolution (pixel density). 2. The file format used. 3. The degree of compression used. 1. Graphic physical size and resolution Monitor displays, pictures viewed on monitors and pictures printed on paper are all made up of small dots called pixels. Monitor displays Readers may be browse at different screen resolution settings. The commonest screen resolution setting used at the time of writing is 800 by 600 pixels (horizontal and vertical dimensions respectively). A significant number of readers also browse at 640 by 480 pixels or at 1024 by 768 pixels. Because of the group browsing at 640 by 480 pixels, graphics should not exceed 600 by 350 pixels in size. Images should first be cropped in order to remove parts around the edges that are not useful. Textual or other indicators of identity within graphics should be eliminated. Images should then be resized without changing the aspect ratio which is the ratio of the width of an image to its height. Image Resolution Images of the same on-screen physical size may have different resolutions, depending on their pixel density. An image with smaller pixels contains more pixels, and therefore has a higher resolution, with more detail, and is a larger file size than an image with bigger pixels. Image resolution is the number of pixels per unit of length within an image, and it is usually measured in pixels per inch (ppi). The higher the ppi, the sharper an image appears.72 ppi is sufficient for on-screen viewing. 2. File formats Two basic graphic file types are most commonly employed on the internet, and these are known as GIF files and JPG files. Both formats utilise compression algorithms in order to reduce file size. GIF GIF stands for Graphics Interchange Format and is a standard defined by CompuServe for images compessed by the LZW (Lempel-Ziv Welch) non-lossy algorithm. 2,3 This format supports a maximum of 256 colours (8 bits per pixel) and also supports transparency, such that the background of the web page on which the graphic is pasted to be viewed through the transparent part of the graphic. 3 12

This is easily illustrated by using the journal banner which is a transparent GIF file. Different backgrounds were possible within the same web page by pasting each banner within a different table row. Each row had different background properties assigned (figs 1-3). Figure 1 no background - the web page background is visible through the image Figure 2 Green table row background visible through the image Figure 3 Graphic table row background visible through the image JPG/JPEG JPEG stands for the Joint Photographic Experts Group which is comprised a group of experts nominated by national bodies and major companies in order to produce standards for continuous tone image coding. The group is more officially known as the ISO/IEC JTC1 SC29 Working Group 1. The JPEG standard in the public domain is version IS 10918-1 (ITU-T T.81), and supports 16,777,216 colours. JPEG uses lossy compression, and the level of compression is under the operator's control. 3 Care must be taken not to compress graphics excessively or details will be lost and artifacts will occur. A general rule is that whenever possible, especially if transparency is not needed, graphics should be in JPG format which allows higher compression and more colours. If GIF format must be used, file size may be reduced by colour depth reduction. Both formats support progressive coding (interlacing), which is an algorithm that stores graphic data non-sequentially in such a way that downloaded data adds progressively greater resolution to a full-size image. This is different from sequential image coding whereby a graphic builds up from top to bottom during download. Progressive coding is generally preferable as such images are more likely to hold the attention of a browsing individual, but such encoding will slightly increase file size. This is illustrated by using part of a graphic from an article that appeared in this journal. 5 The image has been cropped to an area of interest of 196 by 222 pixels with 44% compression (figs 4,5). Press the reload or refresh button now on your browser in order to see the effect of such encoding on the graphics below. The 256 colour depth restriction of GIF files makes this format generally unsuitable for displaying graphics from real life. Compare the JPG with 15% compression on the left hand side (fig 6) with the GIF file saved in standard format below (fig 7). Despite the larger file size, artifact and large pixels are clearly visible, particularly as a halo around the yellow text and arrows. This effect is lessened by saving in a more optimised format (below right - fig 8), but at the expense of a much larger file size. 13

Figure 4 Standard encoding Figure 5 Progressive encoding Figure 6 JPG with 15% compression Figure 7 Standard conversion Figure 8 Optimised median cut 14

3. Compression The degree of compression in a JPG graphic can be varied, and the higher the compression, the smaller the file size becomes, at the expense of resolution and the creation of artifact. I will illustrate this by using the above graphic at different compression levels with nonprogressive encoding. Note that artifact becomes visible first as a halo around the yellow text and arrows (figs 9-14) with progressively higher compression levels and lower image quality). Figure 9 15% compression Figure 10 25% compression Figure 11 35% compression Figure 12 45% compression Figure 13 60% compression Figure 14 80% compression 15

The compression of a JPG image is known as lossy. This term implies that data image data discarded by the algorithm is lost permanently. Therefore loading and saving the same image time and again will result in successive deterioration of the image quality, even if only a low level of compression is specified. It is therefore important not to output the final JPG version until all of the editing changes have been carried out. The LZW compression algorithm used in GIF files is non-lossy, but the reduction of colour depth to a maximum of 256 colours in effect also results in the loss of image information. Advantages and disadvangates of the two file formats are summarised in table 1. In practice, graphic files should not exceed 20 kilobytes in physical size. A single 20 kilobyte file will download from the internet in19 seconds over a 14.4K modem, 9.3 seconds over a 28.8K modem and 4.8 seconds over a 56K modem. Table 1 Summarised advantages and disadvantages of GIF and JPG files 16

Standard buttons and backgrounds Logos, page backgrounds, buttons with text, page dividers etc may be created from scratch by one of the graphic packages listed above. Such graphics are also available for download for free from the world wide web. For example, a blank button may be downloaded, and then text added to the button in the required size and font. Alternatively, dedicated commercially available packages, such as Xara Webstyler, allow the easy creation of such graphics specifically for use on the internet. Moreover, modern web editors also incorporate in-built themes, which are matching sets of backgrounds, buttons, banners and dividers, for automatic application to a website. Logos and buttons may also be animated. Such animations can also be created by means of dedicated software such as Xara 3D or Animation Shop (Jasc), or may be created free, on-line, from sites such as Mediabuilder.com. Page backgrounds may consist of a single colour which is preset when the web page is created, or may consist of a graphic. A graphical background may consist of a small picture rectangle that browsers automatically tile across the entire page, or of a wide and narrow graphic that extends across the width of the page and is automatically tiled down the entire page by the browser. The latter option allows a margin to be created, usually on the left hand side of the screen. 17

References 1. Barry CJ, Yogesan K, Constable IJ, Eikelboom RH. A case for electronic manipulation of medical images? J Audiov Media Med. 1999;22:15 20. [PubMed: 10505346] 2. Welch TA. A Technique for High Performance Data Compression. IEEE Computer. 1984;17:8 19. 3. Balter S. Fundamental properties of digital images. Radiographics. 1993;13:129 141. [PubMed: 8426915] 4. Ziv J, Lempel A. A Universal Algorithm for Sequential Data Compression. IEEE Transactions on Information Theory. 1977;IT-23:337 343. 5. McCarthy KP, Ho SY, Anderson RH. Ventricular Septal Defects: Morphology of the Doubly Committed Juxtaarterial and Muscular Variants. Images Paediatr Cardiol. 2000;4:4 19. Images in Paediatric Cardiology (1999-2012) 18