TEI 工作坊 TEI and Images October The Concept.

Slides:



Advertisements
Similar presentations
Web Design Vocab 3 PNG, JPG, GIF, MP3, MPEG.
Advertisements

Iframes & Images Using HTML.
L.Ghadah R. Hadba CT1514-L1.  Computer Graphics :refers to processing of creating a new image from Geometry, Lighting parameters, Materials and Textures.Using.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
SVG Scalable Vector Graphics. What is SVG? SVG stands for Scalable Vector Graphics SVG is used to define vector-based graphics for the Web SVG defines.
File Types, Sizes & Dots Per Inch (dpi) Best practices applied to Photoshop file formats when creating media-specific documents. Bit Depth is the number.
HYPERTEXT MARKUP LANGUAGE (HTML)
HYPERTEXT MARKUP LANGUAGE (HTML) Vijaya K Pandey.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
HTML Boot Camp: Rules and Images
Image Storage Bitmapped Graphics – in which an image is represented as a collection of dots Vector Graphics – in which an image is represented as a set.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
Images Inserting an image on a web page. chcslonline.org2 ITEMS REQUIRED Go to the course download page on the course website and download the 3 images.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
CHAPTER 4 LINKS Creating links between pages Linking to other sites links.
HTML and XML Behind Web Authoring Tools. 2 Objectives Introduce HTML Learn HTML Step by step Introduce XML.
HTML tips BTM 395: Internet Programming. Components of website development Content Structure Format and design Dynamics and interactivity –Forms –Client-side.
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
Adding Images Learning Web Design: Chapter 7. Using an Image Images have many purposed on a Web site Used as a static image To add illustration: ex. A.
+ 5 Things you need to know about images* *Images for the web.
1 Scalable Vector Graphics (SVG). 2 SVG SVG is an application language of XML. “SVG is a language for describing two- dimensional graphics in XML. SVG.
Lecture 16 Image Document Formats. Bitmap vs. Vector Images Bitmaps do not generally.
File Formats and Vector Graphics. File Types Images and data are stored in files. Each software application uses different native file types and file.
Types of Graphics  Vector Individual scalable objects defined by mathematical equations  Bitmap Pixels (tiny, single-colored square) in a grid Most.
SVG & INKSCAPE Student Talk: Erica Weiss DIG 4104c Spring 2014.
 JPEG is a standardized image compression mechanism.  JPEG stands for Joint Photographic Experts Group.  JPEG is designed for compressing either full-
Multimedia Basics (1) Hongli Luo CEIT, IPFW. Topics r Image data type r Color Model : m RGB, CMY, CMYK, YUV, YIQ, YCbCr r Analog Video – NTSC, PAL r Digital.
Adobe Dreamweaver CC: The Professional Portfolio Project 3: Photographer’s Web Site Working with static images Controlling backgrounds with CSS Working.
Using the Sony DSC-P52 Camera Sunday, December 06, 2015.
FILE TYPES FOR WEB DESIGN 1 HOW SHOULD I SAVE?. GRAPHICS INTERCHANGE FORMAT (GIF) Best used for flat-color, sharp-edged art or text Clip art, logos Compression.
Mirjana Devetakovic, M.Sc. CAAD - Images Beograd, 2011.
Raster Graphics 2.01 Investigate graphic image design.
Kevin Murphy Images and Web Pages Masters Project CS 490.
Image File Formats Which one is right for me?. The Only Three Image Formats Your Will Ever Need: Names Jpg “Joint Photographic Experts Group” Png “Portable.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
Bitmap vs. Vector How computers work with photographs and drawings.
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
Digital Illustration Chapter 6 File format.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Inserting and Working with Images
2.01 Understand Digital Raster Graphics
Chapter 4: Scalable Vector Graphics (SVG)
Chapter 3 Graphics and Image Data Representations
DW Tutorial 5 Sessions 5.1 & 5.2 REVIEW
Basic Knowledge of Web creation
“Common Pitfalls with Figures and Legends”
2.01 Investigate graphic image design.
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
A computer display is made up of small squares, called pixels.
Image File Size and File Compression
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
1.01 Investigate graphic types and file formats.
Web Development & Design Foundations with HTML5 7th Edition
Graphics Basic Concepts.
2.01 Understand Digital Raster Graphics
Photoshop: Creating and Preparing Images for the Web
2.01 Investigate graphic image design.
2.01 Understand Digital Raster Graphics
2.01 Investigate graphic image design.
Hyperlinks, Images, Comments, and More…
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
2.01 Investigate graphic image design.
Presentation transcript:

TEI 工作坊 TEI and Images October 2008

1. The Concept

The Problem ● |TEXT| 文本exists in many forms. ● 自然語言 – 無文字:口述文本 – 有文字:寫本,印本,電子本 ● 人工語言 (程式語言,摩斯電報電碼,公式) ● 圖像 (2D) ● 文物 (3D) ● 儀式 (4D)...

● In the process of encoding, ie. adapting |text| for human–machine interaction, we have to find ways to encode any form of |text|. ● How can we markup or at least annotate an image? ● First, let’s have a look at the most common formats for digital images.

Image Formats 1 ● JPEG (.jpg) (Joint Photographic Experts Group). = Compression Standard (ISO). Up to 16,7 mio colors. Widely used. No animation. Lossy compression! ● GIF (Graphics Interchange Format). Good (but proprietary) compression format. 16 to 256 colors. Can be animated. Good for graphics with little color-depth.

Image Formats 2 ● PNG (Portable Network Graphics). W3C standard. Flexible format allows inclusion of text description. No animation. Lossless compression. ● TIFF (Tagged Image File Format). Highly flexible tagsets. Allows for user meta-data in private tags. Proprietary standard (Adobe). No support for vector graphics. Wide range of different compression schemes and color spaces ( Grayscale, RGB, CMYK a.o.). Good for scientific data. Lossless compression.

Image Formats 3 ● SVG (Scalable Vector Graphics). Used to define vector (向量)-based graphics for the Web. Graphics defined in XML format. Lossless zooming or resizing. Can be animated. SVG is a World Wide Web Consortium (W3C) recommendation.

2. Images in TEI

Figure 1: TEI Logo How to embed this?

Images in TEI 1 ● contains a block containing graphics ● indicates the location of an inline graphic, illustration, or figure (like and SRC in HTML) ● contains a brief prose description of a graphic figure, for use when documenting an image without displaying it (like the ALT attribute in HTML) ● can contain the caption of a image

Images in TEI 2

Exercise 1 ● Check out "1exImage.xml" ● 用 "2styles.xsl" 把它轉成 HTML ● has not been treated. Reasons? ● 你能不能把背景顏色變成紅色?

Exercise 2 ● Create a TEI document that embeds the images "biang.jpg" and “biangNoodles.jpg” ● You might want to add another or so.. ● "styles.xsl" supports only the few elements in the example, but you could get a more comprehensive one from the TEI website....

3. Annotating Images with TEI Using the Image Markup Tool

● Have a look at how the Image Markup Tool (IMT) by Martin Holmes can deal with this. ● (0.9版有中文的界面) ● The newest version is at ( markup/) ● IMT 以 namespaces命名空間再TEI文件裡包 含SVG 圖像.

name...what? ● namespace 命名空間/名稱空間 ● Namespaces are a way to use different xml- vocabularies in one document. ● This is important for data integration & metadata management.

命名空間宣告1 ● 命名空間必須被宣告 xmlns : pf = " 就這樣 prefix ( 前綴 ) 自己選 URI: universal resource identifier

命名空間宣告2 ● There are a number of rules how to declare namespaces. 記得以下三個重點: ● 簡單的方法: 把所有的命名空間宣告在根元素 ● 前綴(prefix)是無所謂的, 重點是宣告中的URI ● 屬性也能屬於一個命名空間,但它們未被宣告 時它們等於 namespace neutral (不屬於任何 命名空間).

Tutorial ● If there is time let’s do the 1 st part of the Zvon tutorial in Chinese. ● Let me show you how to markup a image file with the IMT

● Now it’s your turn... ● Use IMT 0.9, 加中文界面檔chinese.gui.xml再 translations資料夾 ● Have look at this image

● Todays project: ● 用IMT 標記 “wheelOfLife.jpg” 加註解 (perhaps from “sanDuWuQu.txt”) 以及建立 web檢視 Exercise 1

Exercise 2 ● See how the IMT (in version 0.9) creates four files: – one XML/TEI file where the data is kept – one XSLT file that let’s the browser transform the XML into HTML – one CSS for nice HTML – one JavaScript file to provide for a more interactive Web view

Exercise 3 ● 編輯output的TEI header ● 了解: namespaces have a validation problem ● Go to ROMA and get a TEI (Relax NG) schema for SVG use. ● 小修小補...tinker with your output.xml until you can validate it.

marcus bingenheimer 2006