Lecture 8: Images. CS 383 Web Development II Monday, February 19, 2018

Size: px
Start display at page:

Download "Lecture 8: Images. CS 383 Web Development II Monday, February 19, 2018"

Transcription

1 Lecture 8: Images CS 383 Web Development II Monday, February 19, 2018

2 Images We can dynamically create images in PHP through the GD library o GD originally stood for gif draw o At one point, GIF support was dropped from GD, so it really stood for nothing, but they went with graphics draw to appease everybody who asked o GIF suppose has since been readded, but they continue to maintain that it officially stands for nothing o PHP s documentation for GD makes no mention of what GD actually stands for at all 1

3 Images Note that, unlike everything else we will talk about this semester related to PHP, the GD libraries are NOT included with default PHP Most OSs have an easy way of installing it o For example, in aptitude on Ubuntu, there is a package: php5-gd 2

4 Images The following image formats are supported by GD: o JPEG o PNG o GIF o XBM o XPM (read only; no write to XPM files) o WBMP o WebP 3

5 Getting Started First, we have to decide what is going to happen, in the end, with our generated image o We can save the image somewhere on the server o We can produce the image through a browser, to either display or forcedownload In this case, we must set the header for the content-type through PHP as we did in the previous class Although it may appear to be strange to load an image with the PHP extension, we can embed the image with something like <img src="generate_image.php"> 4

6 Getting Started Then, we have to decide what we want to start with: o A blank canvas* : imagecreate($width, $height) o An existing image however, GD is not smart enough to determine what type of file an image is, so we need to write our code with the most appropriate function: imagecreatefromjpeg($filename) imagecreatefrompng($filename) imagecreatefromgif($filename) etc. * Canvas is not an official term for GD/PHP, but I will use it to more easily refer to what we are working with For all of these functions, it returns a resource value that we will need to use as an argument for nearly all of the other function calls that we ll be making 5

7 The Canvas (0,0) ($width - 1, 0) Our images use a coordinate system where each coordinate represents a pixel. (0, $height - 1) ($width - 1, $height - 1) 6

8 The Canvas If we created the image from a blank canvas, we already know the dimensions If we started from an existing image, we don t know o The function call getimagesize($filename) returns an array o $a[0] = width, $a[1] = height o $a[2] includes a constant for the image type (such as IMG_PNG) o $a[3] is a text string that has height="yyy" width="xxx" which can be included directly inside an <img> tag o $a["mime"] includes a mime type, such as image/png, that can be included directly inside a header() call We can also use imagesx($resource) to get an image s width and imagesy($resource) to get an image s height 7

9 Color Allocation To use colors, you must create a color resource with the function: imagecolorallocate($resource, $red, $blue, $green) Red, blue, and green are integers between 0 and 255, and match up to the hexidecimal RGB codes we use for colors in HTML/CSS For red: imagecolorallocate($im, 255, 0, 0) 8

10 Color Allocation If you are more familiar with hexidecimal codes, you can convert them to integers o For yellow (HTML: #FFFF99): imagecolorallocate($im, 0xFF, 0xFF, 0x99) We set the result of these functions to variables to use later 9

11 Adding Text To add text to our images, we usually need to have a TrueType font file We use the function: imagettftext($resource, $size, $angle, $x, $y, $color, $fontfile, $text) o $size is point size in GD 2 (our version); it is pixels in GD 1 o For $angle, 0 is normal o $x and $y are the coordinates where (roughly) bottom-left of the character (on the baseline) will be placed 10

12 Adding Text There is no option to automatically center or right-align text to any certain point We must calculate it on our own There is a function called imagettfbbox($size, $angle, $fontfile, $text) This function returns an array with the following numeric keys 11

13 Adding Text Key Corner Position 0 bottom-left X 1 bottom-left Y 2 bottom-right X 3 bottom-right Y 4 top-right X 5 top-right Y 6 top-left X 7 top-left Y 12

14 Adding Text Thus, to calculate the height and width: o Suppose the results of imagettfbbox() are stored in $box o $width = abs($box[4] - $box[0]) o $height = abs($box[5] - $box[1]) From here, you can do the math necessary to center text and right align text, either to the whole document or relative to something else You can also use a loop to determine the largest font-size possible that still allows the text to fit in a certain area 13

15 Adding Shapes image[filled]rectangle($resource, $x1, $y1, $x2, $y2, $color) image[filled]ellipse($resource, $cx, $cy, $w, $h, $color) image[filled]polygon($resource, $points, $numpoints, $color) image[filled]arc($resource, $cx, $cy, $w, $h, $start, $end, $color) image[dashed]line($resource, $x1, $y1, $x2, $y2, $color) imagesetpixel($resource, $x, $y, $color) 14

16 Other Functions imagesetthickness($resource, $thickness) imagecolorat($resource, $x, $y) imagecolorsforindex($resource, $imagecolorat) imagecolortransparent($resource, $color) imagecrop($resource, $rect) -- $rect is an array with the keys "x", "y", "width", and "height 15

17 Order of Adding Components The order that you add items to your image matters If you place text (or anything else) on an image at certain coordinates, and place a rectangle (or anything else) over the same coordinates as you put the text, you cover the text either fully or partially and the only way to get it back is to recall the function that put the text on the first time 16

18 Finishing Up To finish up, we need to use the function appropriate to whatever format we are using to save the file: o imagegif($resource[, $filename]) o imagejpg($resource[, $filename[, $quality]]) o imagepng($resource[, $filename[, $quality]]) Omitting the argument for filename outputs the image directly to the browser; using a filename saves it to the server Quality: o JPG: 0 (worst) to 100 (best); defaults to 75 if omitted o PNG: 0 (no compression) to 9 o If you want to use quality but output to browser, you must set the filename to null, not an empty string 17

19 Finishing Up imagedestroy($resource) should be called when finished to free up any memory associated with the image However, as you should expect, you cannot do anything with the image after imagedestroy is called Note: Even if you create a new image and set it to the same resource variable as a previous image, that does not automatically free up the memory 18

20 Example: Output to Browser <?php header("content-type: image/png"); $im = imagecreatefrompng("picture.png"); // perform other operations imagepng($im); imagedestroy($im);?> 19

21 Example: Force Download <?php header("content-disposition: attachment; filename="downloadedimage.png"); header("content-type: image/png"); $im = imagecreatefrompng("picture.png"); // perform other operations imagepng($im); imagedestroy($im);?> 20

22 Example: Save on Server <?php // you do not set the header since it is not going to the browser $im = imagecreatefrompng("picture.png"); // perform other operations imagepng($im, "savedimage.jpg"); imagedestroy($im);?> 21

This chapter is dedicated to creating graphics interactively on the server. Here,

This chapter is dedicated to creating graphics interactively on the server. Here, Holzner_webChqxd 3/23/05 2:11 PM Page 1 Interactive Graphics On the Server This chapter is dedicated to creating graphics interactively on the server Here, we re going to see how to use the GD graphics

More information

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5 NOTE: It is my policy to give a failing grade in the course to any student who either gives or receives

More information

INFS 2150 / 7150 Intro to Web Development / HTML Programming

INFS 2150 / 7150 Intro to Web Development / HTML Programming XP INFS 2150 / 7150 Intro to Web Development / HTML Programming Working with Graphics in a Web Page 1 Objectives Learn about different image formats Control the placement and appearance of images on a

More information

In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics.

In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics. Additional Controls, Scope, Random Numbers, and Graphics CS109 In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics. Combo

More information

NAME gdtclft render images in various bitmap formats (GD, GD2, GIF, JPEG, PNG, WBMP, XBM)

NAME gdtclft render images in various bitmap formats (GD, GD2, GIF, JPEG, PNG, WBMP, XBM) NAME gdtclft render images in various bitmap formats (GD, GD2, GIF, JPEG, PNG, WBMP, XBM) DESCRIPTION TCL GD EXTENSION Thomas Boutell s Gdpackage provides a convenient way to generate bitmap images with

More information

CS 2110 Fall Instructions. 1 Installing the code. Homework 4 Paint Program. 0.1 Grading, Partners, Academic Integrity, Help

CS 2110 Fall Instructions. 1 Installing the code. Homework 4 Paint Program. 0.1 Grading, Partners, Academic Integrity, Help CS 2110 Fall 2012 Homework 4 Paint Program Due: Wednesday, 12 November, 11:59PM In this assignment, you will write parts of a simple paint program. Some of the functionality you will implement is: 1. Freehand

More information

Graphics: Legacy Library

Graphics: Legacy Library Graphics: Legacy Library Version 5.1 February 14, 2011 (require graphics/graphics) The viewport graphics library is a relatively simple toolbox of graphics commands. The library is not very powerful; it

More information

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42)

(Refer Slide Time: 01:41) (Refer Slide Time: 01:42) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #14 HTML -Part II We continue with our discussion on html.

More information

Scalable Vector Graphics (SVG) vector image World Wide Web Consortium (W3C) defined with XML searched indexed scripted compressed Mozilla Firefox

Scalable Vector Graphics (SVG) vector image World Wide Web Consortium (W3C) defined with XML searched indexed scripted compressed Mozilla Firefox SVG SVG Scalable Vector Graphics (SVG) is an XML-based vector image format for twodimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed

More information

DEFCON XV Las Vegas Nevada The Executable Image Exploit. What you ll learn

DEFCON XV Las Vegas Nevada The Executable Image Exploit. What you ll learn What you ll learn The origins of this exploit. The differences between Dynamic and Static images? How to create images with PHP & GD How to fool servers into executing images (instead of serving them to

More information

Setting Up the Fotosizer Software

Setting Up the Fotosizer Software Setting Up the Fotosizer Software N.B. Fotosizer does not change your original files it just makes copies of them that have been resized and renamed. It is these copies you need to use on your website.

More information

Creating Web Pages Using Netscape Composer AGENDA FOR THIS WORKSHOP. 1. How does it all work? 2. What do I need to get started at Fairfield?

Creating Web Pages Using Netscape Composer AGENDA FOR THIS WORKSHOP. 1. How does it all work? 2. What do I need to get started at Fairfield? Creating Web Pages Using Netscape Composer AGENDA FOR THIS WORKSHOP 1. How does it all work? 2. What do I need to get started at Fairfield? 3. What is HTML coding? 4. The 10 HTML Tags that you should know.

More information

255, 255, 0 0, 255, 255 XHTML:

255, 255, 0 0, 255, 255 XHTML: Colour Concepts How Colours are Displayed FIG-5.1 Have you looked closely at your television screen recently? It's in full colour, showing every colour and shade that your eye is capable of seeing. And

More information

CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

More information

Default Parameters and Shapes. Lecture 18

Default Parameters and Shapes. Lecture 18 Default Parameters and Shapes Lecture 18 Announcements PS04 - Deadline extended to October 31st at 6pm MT1 Date is now Tuesday 11/14 Warm-up Question #0: If there are 15 people and you need to form teams

More information

CS 101 Media (Images, Video, etc) Lecture 20

CS 101 Media (Images, Video, etc) Lecture 20 CS 101 Media (Images, Video, etc) Lecture 20 1 Images Though we ve displayed many shapes and colors to the screen, we have yet to display an actual image! Processing has a special type called PImage, for

More information

Midterm Review. October 17

Midterm Review. October 17 Midterm Review October 17 Midterm Layout Some multiple choice, matching, true/false Not much though Will mostly be short answer You will have to write/edit/sketch some HTML You will have to write/edit/sketch

More information

Title and Modify Page Properties

Title and Modify Page Properties Dreamweaver After cropping out all of the pieces from Photoshop we are ready to begin putting the pieces back together in Dreamweaver. If we were to layout all of the pieces on a table we would have graphics

More information

Lecture 3: Web Servers / PHP and Apache. CS 383 Web Development II Monday, January 29, 2018

Lecture 3: Web Servers / PHP and Apache. CS 383 Web Development II Monday, January 29, 2018 Lecture 3: Web Servers / PHP and Apache CS 383 Web Development II Monday, January 29, 2018 Server Configuration One of the most common configurations of servers meant for web development is called a LAMP

More information

ORB Education Quality Teaching Resources

ORB Education Quality Teaching Resources These basic resources aim to keep things simple and avoid HTML and CSS completely, whilst helping familiarise students with what can be a daunting interface. The final websites will not demonstrate best

More information

(0,0) (600, 400) CS109. PictureBox and Timer Controls

(0,0) (600, 400) CS109. PictureBox and Timer Controls CS109 PictureBox and Timer Controls Let s take a little diversion and discuss how to draw some simple graphics. Graphics are not covered in the book, so you ll have to use these notes (or the built-in

More information

Making Backgrounds With Paint Shop Pro

Making Backgrounds With Paint Shop Pro Making Backgrounds With Paint Shop Pro A good Web site deserves a good background. Whether you decide on a single color, a faded repeated logo, a textured tile, or a border, the background of your Web

More information

Tools of Design Select Mode vs. Text Mode Select Mode allows you to alter the position and size of both text and clipart Text Mode allows you change text size, font and characters but you CANNOT

More information

Fonts, text, and colour on the web. Sourcing, resizing, and inserting web site images MGMT 230 LAB

Fonts, text, and colour on the web. Sourcing, resizing, and inserting web site images MGMT 230 LAB Fonts, text, and colour on the web Sourcing, resizing, and inserting web site images MGMT 230 LAB Fonts and font families Font families are used in web development rather than just the name of one font

More information

What do we mean by layouts?

What do we mean by layouts? What do we mean by layouts? A layout is how you position the elements of your page You can have columns Move paragraphs and sections around And you can do this all without changing the content of your

More information

Adobe Illustrator. Quick Start Guide

Adobe Illustrator. Quick Start Guide Adobe Illustrator Quick Start Guide 1 In this guide we will cover the basics of setting up an Illustrator file for use with the laser cutter in the InnovationStudio. We will also cover the creation of

More information

CISC 1600 Lecture 3.1 Introduction to Processing

CISC 1600 Lecture 3.1 Introduction to Processing CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists

More information

How to lay out a web page with CSS

How to lay out a web page with CSS How to lay out a web page with CSS You can use table design features in Adobe Dreamweaver CS3 to create a simple page layout. However, a more powerful technique is to use Cascading Style Sheets (CSS).

More information

CMPSCI 120 Extra Credit #1 Professor William T. Verts

CMPSCI 120 Extra Credit #1 Professor William T. Verts CMPSCI 120 Extra Credit #1 Professor William T. Verts Setting Up In this assignment you are to create a Web page that contains a client-side image map. This assignment does not build on any earlier assignment.

More information

This is the vector graphics "drawing" technology with its technical and creative beauty. SVG Inkscape vectors

This is the vector graphics drawing technology with its technical and creative beauty. SVG Inkscape vectors 1 SVG This is the vector graphics "drawing" technology with its technical and creative beauty SVG Inkscape vectors SVG 2 SVG = Scalable Vector Graphics is an integrated standard for drawing Along with

More information

PLT Miscellaneous Libraries: Reference Manual

PLT Miscellaneous Libraries: Reference Manual PLT Miscellaneous Libraries: Reference Manual PLT (scheme@plt-scheme.org) Version 200 June 2002 Copyright notice Copyright c 1996-2002 PLT Permission to make digital/hard copies and/or distribute this

More information

Lecture 6: More Arrays & HTML Forms. CS 383 Web Development II Monday, February 12, 2018

Lecture 6: More Arrays & HTML Forms. CS 383 Web Development II Monday, February 12, 2018 Lecture 6: More Arrays & HTML Forms CS 383 Web Development II Monday, February 12, 2018 Lambdas You may have encountered a lambda (sometimes called anonymous functions) in other programming languages The

More information

CS 100 Spring Lecture Notes 3/8/05 Review for Exam 2

CS 100 Spring Lecture Notes 3/8/05 Review for Exam 2 CS 100 Spring 2005 Lecture Notes 3/8/05 Review for Exam 2 The second exam is Thursday, March 10. It will cover topics from Homework 2 through Homework 4, including anything pertaining to binary representation.

More information

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for

More information

Adobe Fireworks CS Essential Techniques

Adobe Fireworks CS Essential Techniques Adobe Fireworks CS4 HOW-TOs 100 Essential Techniques Jim Babbage 170 Adding Structure to # 79 Your Documents Creating a Master Page You can only have one Master Page per file, and you can easily set any

More information

COMSC-031 Web Site Development- Part 2

COMSC-031 Web Site Development- Part 2 COMSC-031 Web Site Development- Part 2 Part-Time Instructor: Joenil Mistal December 5, 2013 Chapter 13 13 Designing a Web Site with CSS In addition to creating styles for text, you can use CSS to create

More information

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next.

GoLive will first ask you if your new site will be for one individual or a work group; select for a Single User, and click Next. Getting Started From the Start menu, located the Adobe folder which should contain the Adobe GoLive 6.0 folder. Inside this folder, click Adobe GoLive 6.0. GoLive will open to its initial project selection

More information

Links Menu (Blogroll) Contents: Links Widget

Links Menu (Blogroll) Contents: Links Widget 45 Links Menu (Blogroll) Contents: Links Widget As bloggers we link to our friends, interesting stories, and popular web sites. Links make the Internet what it is. Without them it would be very hard to

More information

Creating Web Pages with SeaMonkey Composer

Creating Web Pages with SeaMonkey Composer 1 of 26 6/13/2011 11:26 PM Creating Web Pages with SeaMonkey Composer SeaMonkey Composer lets you create your own web pages and publish them on the web. You don't have to know HTML to use Composer; it

More information

How to use the ruler, grid, guides, and the Align panel

How to use the ruler, grid, guides, and the Align panel How to use the ruler, grid, guides, and the Align panel Much of your job as a page designer is to place text and graphics on the page in a pleasing, organized way. Although you can do much of this placing

More information

HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites

HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites HTML Exercise 20 Linking Pictures To Other Documents Or Web Sites Turning pictures into hyperlinks is nearly the same as what you learned in Exercises 4 and 5. If a picture is essential to a Web page,

More information

Topic Notes: Java and Objectdraw Basics

Topic Notes: Java and Objectdraw Basics Computer Science 120 Introduction to Programming Siena College Spring 2011 Topic Notes: Java and Objectdraw Basics Event-Driven Programming in Java A program expresses an algorithm in a form understandable

More information

CS474 MULTIMEDIA TECHNOLOGY

CS474 MULTIMEDIA TECHNOLOGY CS474 MULTIMEDIA TECHNOLOGY Pr. G. Tziritas, Spring 2018 SVG Animation Tutorial G. Simantiris (TA) OVERVIEW Introduction Definitions SVG Creating SVGs SVG basics Examples Animation using software Examples

More information

ADOBE DREAMWEAVER CS4 BASICS

ADOBE DREAMWEAVER CS4 BASICS ADOBE DREAMWEAVER CS4 BASICS Dreamweaver CS4 2 This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

More information

To specify the dimensions of the drawing canvas use the size statement: ! size( 300, 400 );

To specify the dimensions of the drawing canvas use the size statement: ! size( 300, 400 ); Study Guide We have examined three main topics: drawing static pictures, drawing simple moving pictures, and manipulating images. The Final Exam will be concerned with each of these three topics. Each

More information

ITP 101 Project 2 - Photoshop

ITP 101 Project 2 - Photoshop ITP 101 Project 2 - Photoshop Project Objectives Learn how to use an image editing application to create digital images. We will use Adobe Photoshop for this project. Project Details To continue the development

More information

HTML Exercise 15 Creating An Engraved Metal Heading For The Text Wrap Page

HTML Exercise 15 Creating An Engraved Metal Heading For The Text Wrap Page HTML Exercise 15 Creating An Engraved Metal Heading For The Text Wrap Page 1. Click Start, point to Programs, point to the Jasc Software folder, and select Paint Shop Pro 7. 2. Maximize the Paint Shop

More information

Manual Bitmap Fixture v

Manual Bitmap Fixture v Manual Bitmap Fixture v3.2.2.3 Paderborn, 25/05/2016 Contact: tech.support@malighting.com 1 Bitmap Fixture The MA Lighting Bitmap fixture replaces the previous bitmap effects. The bitmap fixture is a virtual

More information

Lab #3: Web Design with Graphics

Lab #3: Web Design with Graphics English 413: Electronic Documents and Publications Dr. Jablonski Spring 2004 What You Need to Complete this Lab Lab #3: Web Design with Graphics 1. HTML editing software, preferably Dreamweaver MX 2. UNLV

More information

CpSc 101, Fall 2015 Lab7: Image File Creation

CpSc 101, Fall 2015 Lab7: Image File Creation CpSc 101, Fall 2015 Lab7: Image File Creation Goals Construct a C language program that will produce images of the flags of Poland, Netherland, and Italy. Image files Images (e.g. digital photos) consist

More information

Day 1: Introduction to MATLAB and Colorizing Images CURIE Academy 2015: Computational Photography Sign-Off Sheet

Day 1: Introduction to MATLAB and Colorizing Images CURIE Academy 2015: Computational Photography Sign-Off Sheet Day 1: Introduction to MATLAB and Colorizing Images CURIE Academy 2015: Computational Photography Sign-Off Sheet NAME: NAME: Part 1.1 Part 1.2 Part 1.3 Part 2.1 Part 2.2 Part 3.1 Part 3.2 Sign-Off Milestone

More information

My First Cocoa Program

My First Cocoa Program My First Cocoa Program 1. Tutorial Overview In this tutorial, you re going to create a very simple Cocoa application for the Mac. Unlike a line-command program, a Cocoa program uses a graphical window

More information

How to lay out a web page with CSS

How to lay out a web page with CSS How to lay out a web page with CSS A CSS page layout uses the Cascading Style Sheets format, rather than traditional HTML tables or frames, to organize the content on a web page. The basic building block

More information

Getting Started with Digital File Pro 2

Getting Started with Digital File Pro 2 Getting Started with Digital File Pro 2 With Digital File Pro, you can add download or upload functionality to your site. This can be useful when selling digital goods, providing customers with the ability

More information

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Sorry about these half rectangle shapes a Smartboard issue today. To

More information

Welcome to Introduction to Microsoft Excel 2010

Welcome to Introduction to Microsoft Excel 2010 Welcome to Introduction to Microsoft Excel 2010 2 Introduction to Excel 2010 What is Microsoft Office Excel 2010? Microsoft Office Excel is a powerful and easy-to-use spreadsheet application. If you are

More information

MTA EXAM HTML5 Application Development Fundamentals

MTA EXAM HTML5 Application Development Fundamentals MTA EXAM 98-375 HTML5 Application Development Fundamentals 98-375: OBJECTIVE 3 Format the User Interface by Using CSS LESSON 3.4 Manage the graphical interface by using CSS OVERVIEW Lesson 3.4 In this

More information

EXPORTING ASSETS. Lesson overview

EXPORTING ASSETS. Lesson overview 15 EXPORTING ASSETS Lesson overview In this lesson, you ll learn how to do the following: Create pixel-perfect drawings. Use the Export For Screens command. Work with the Asset Export panel. Generate,

More information

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows:

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: CSS Tutorial Part 2: Lists: The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: ul { list-style-type: circle; or

More information

Where to get Images.

Where to get Images. Where to get Images Images are under copywrite from the author, we need to either use free images or purchase the right to use them. Places to Get Images: www.istockphoto.com www.gettyimages.com www.veer.com

More information

UV Mapping to avoid texture flaws and enable proper shading

UV Mapping to avoid texture flaws and enable proper shading UV Mapping to avoid texture flaws and enable proper shading Foreword: Throughout this tutorial I am going to be using Maya s built in UV Mapping utility, which I am going to base my projections on individual

More information

Adobe Fireworks CS Essential Techniques

Adobe Fireworks CS Essential Techniques Adobe Fireworks CS4 HOW-TOs 100 Essential Techniques Jim Babbage 140 64 Creating Graphic Symbols Resizing Symbols When you resize any bitmap to a smaller size, pixel information is discarded. This is normally

More information

HTML Exercise 21 Making Simple Rectangular Buttons

HTML Exercise 21 Making Simple Rectangular Buttons HTML Exercise 21 Making Simple Rectangular Buttons Buttons are extremely popular and found on virtually all Web sites with multiple pages. Buttons are graphical elements that help visitors move through

More information

1 Getting started with Processing

1 Getting started with Processing cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

More information

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013

DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 DOING MORE WITH EXCEL: MICROSOFT OFFICE 2013 GETTING STARTED PAGE 02 Prerequisites What You Will Learn MORE TASKS IN MICROSOFT EXCEL PAGE 03 Cutting, Copying, and Pasting Data Basic Formulas Filling Data

More information

Data Representation From 0s and 1s to images CPSC 101

Data Representation From 0s and 1s to images CPSC 101 Data Representation From 0s and 1s to images CPSC 101 Learning Goals After the Data Representation: Images unit, you will be able to: Recognize and translate between binary and decimal numbers Define bit,

More information

Fireworks Basics. The Fireworks Interface

Fireworks Basics. The Fireworks Interface Fireworks Basics Scenario Firework is a graphics application that allows you to create and manipulate Web (and other) graphics. It combines both bitmap and vector editing tools, and integrates well with

More information

CS Homework 2 p. 1. CS Homework 2

CS Homework 2 p. 1. CS Homework 2 CS 111 - Homework 2 p. 1 Deadline 11:59 pm on Friday, February 2, 2018 Purpose CS 111 - Homework 2 To practice defining and using named constants and check-expect expressions, and to practice using the

More information

Online Pedigree Drawing Tool. Progeny Anywhere User Guide - Version 3

Online Pedigree Drawing Tool. Progeny Anywhere User Guide - Version 3 Online Pedigree Drawing Tool Progeny Anywhere User Guide - Version 3 Table of Contents Creating Pedigrees...3 One-Click Add... 3 Unattached Individuals... 4 Attaching Individuals... 4 Deleting Relationships...

More information

Data Visualization (DSC 530/CIS )

Data Visualization (DSC 530/CIS ) Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we

More information

Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15

Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15 Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15 A Special Language for the Web In the early 1990 s web pages were mostly described using a special purpose language, called Hyper-Text

More information

Web Design and HTML. Web Page vs Web Site. Navigation. Links. A web page is a single page viewable using web browser. A web site is a set of web pages

Web Design and HTML. Web Page vs Web Site. Navigation. Links. A web page is a single page viewable using web browser. A web site is a set of web pages Web Page vs Web Site Web Design and HTML Lecture 14 COMPSCI111/111G SS 2018 A web page is a single page viewable using web browser Should be visually appealing, informative A web site is a set of web pages

More information

HTML and CSS a further introduction

HTML and CSS a further introduction HTML and CSS a further introduction By now you should be familiar with HTML and CSS and what they are, HTML dictates the structure of a page, CSS dictates how it looks. This tutorial will teach you a few

More information

Enlargeit! Version 1.1 Operation Manual

Enlargeit! Version 1.1 Operation Manual Enlargeit! Version 1.1 Operation Manual Contents Page 1 What is EnlargeIt! 2 2 What does EnlargeIt! need 2 3 Displaying pictures 2 3.1 Easy integration 2 3.2 Failsafe integration 3 4 Displaying flash (*.swf)

More information

epromo Guidelines DUE DATES NOT ALLOWED PLAIN TEXT VERSION

epromo Guidelines DUE DATES NOT ALLOWED PLAIN TEXT VERSION epromo Guidelines HTML Maximum width 700px (length = N/A) Image resolution should be 72dpi Maximum total file size, including all images = 200KB Only use inline CSS, no stylesheets Use tables, rather than

More information

Cropping an Image for the Web

Cropping an Image for the Web Cropping an Image for the Web This guide covers how to use the Paint software included with Microsoft Windows to crop images for use on a web page. Opening Microsoft Paint (In Windows Accessories) On your

More information

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links Using Dreamweaver CC 4 Creating a Template Now that the main page of our website is complete, we need to create the rest of the pages. Each of them will have a layout that follows the plan shown below.

More information

Macromedia - Fireworks TechNotes: How to create transparent Pop-up Menus

Macromedia - Fireworks TechNotes: How to create transparent Pop-up Menus Page 1 of 6 Home > Products > Fireworks > Support > TechNote Index How to create transparent Pop-up Menus Pop-up Menus can be structured to have transparent or translucent backgrounds. Modifying the Pop-up

More information

An Introduction to Processing

An Introduction to Processing An Introduction to Processing Creating static drawings Produced by: Mairead Meagher Dr. Siobhán Drohan Department of Computing and Mathematics http://www.wit.ie/ Topics list Coordinate System in Computing.

More information

CoderDojo Activity Cards: The Cards (Animation2.html): How to use: Student comes to mentor, and together they choose a card to do next.

CoderDojo Activity Cards: The Cards (Animation2.html): How to use: Student comes to mentor, and together they choose a card to do next. CoderDojo Activity Cards: How to use: Student comes to mentor, and together they choose a card to do next. The idea is always to choose a card that is interesting, and at the right level for the moment,

More information

CS 315 Software Design Homework 1 First Sip of Java Due: Sept. 10, 11:30 PM

CS 315 Software Design Homework 1 First Sip of Java Due: Sept. 10, 11:30 PM CS 315 Software Design Homework 1 First Sip of Java Due: Sept. 10, 11:30 PM Objectives The objectives of this assignment are: to get your first experience with Java to become familiar with Eclipse Java

More information

About Freeway. Freeway s Tools and Palettes

About Freeway. Freeway s Tools and Palettes About Freeway The most important thing to appreciate before you start a site in Freeway is how the process works, especially if you have tried other Web publishing software before. Freeway is not an HTML

More information

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB!

CS Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! CS 1033 Multimedia and Communications REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Lab 06: Introduction to KompoZer (Website Design - Part 3 of 3) Lab 6 Tutorial 1 In this lab we are going to learn

More information

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3) CS 1033 Multimedia and Communications Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3) REMEMBER TO BRING YOUR MEMORY STICK TO EVERY LAB! Table Properties Reference Guide The Property

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

Programming Project 1

Programming Project 1 Programming Project 1 Handout 6 CSCI 134: Fall, 2016 Guidelines A programming project is a laboratory that you complete on your own, without the help of others. It is a form of take-home exam. You may

More information

CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

More information

Create and edit text. Create the title text First you ll create the title text for the car rental ad.

Create and edit text. Create the title text First you ll create the title text for the car rental ad. 8 Choose the Pointer tool and click the mask thumbnail in the Layers panel. The Property inspector shows that the mask was applied using its grayscale appearance. The darker pixels in the mask knock out

More information

Rich Text Editor Quick Reference

Rich Text Editor Quick Reference Rich Text Editor Quick Reference Introduction Using the rich text editor is similar to using a word processing application such as Microsoft Word. After data is typed into the editing area it can be formatted

More information

HTML Exercise 12 Making A Transparent 3-D Heading For The Hyperlinks 3 Page

HTML Exercise 12 Making A Transparent 3-D Heading For The Hyperlinks 3 Page HTML Exercise 12 Making A Transparent 3-D Heading For The Hyperlinks 3 Page This exercise will give you practice downloading and installing your own SuperBladePro presets, creating a transparent heading

More information

HTML5 - SVG. SVG is mostly useful for vector type diagrams like Pie charts, Two-dimensional graphs in an X,Y coordinate system etc.

HTML5 - SVG. SVG is mostly useful for vector type diagrams like Pie charts, Two-dimensional graphs in an X,Y coordinate system etc. http://www.tutorialspoint.com/html5/html5_svg.htm HTML5 - SVG Copyright tutorialspoint.com SVG stands for Scalable Vector Graphics and it is a language for describing 2D-graphics and graphical applications

More information

ABB PowerPoint template User s Guide

ABB PowerPoint template User s Guide Corporate Communications February 2006 ABB PowerPoint template User s Guide ABB Group -1- ABB PowerPoint template User s Guide Table of Contents pg 3 The ABB PowerPoint template pg 7 Minimizing overall

More information

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options):

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options): CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look

More information

CS61C Machine Structures. Lecture 4 C Pointers and Arrays. 1/25/2006 John Wawrzynek. www-inst.eecs.berkeley.edu/~cs61c/

CS61C Machine Structures. Lecture 4 C Pointers and Arrays. 1/25/2006 John Wawrzynek. www-inst.eecs.berkeley.edu/~cs61c/ CS61C Machine Structures Lecture 4 C Pointers and Arrays 1/25/2006 John Wawrzynek (www.cs.berkeley.edu/~johnw) www-inst.eecs.berkeley.edu/~cs61c/ CS 61C L04 C Pointers (1) Common C Error There is a difference

More information

HTML/XML. XHTML Authoring

HTML/XML. XHTML Authoring HTML/XML XHTML Authoring Adding Images The most commonly used graphics file formats found on the Web are GIF, JPEG and PNG. JPEG (Joint Photographic Experts Group) format is primarily used for realistic,

More information

1. More jquery Methods 2. JavaScript + SVG: Raphaël 3. About SVG 4. Working with SVG 5. Animating SVG

1. More jquery Methods 2. JavaScript + SVG: Raphaël 3. About SVG 4. Working with SVG 5. Animating SVG CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB By Hassan S. Shavarani UNIT6: JAVASCRIPT AND GRAPHICS 1 TOPICS 1. More jquery Methods 2. JavaScript + SVG: Raphaël 3. About SVG 4. Working with

More information

Adobe Dreamweaver CS5/6: Learning the Tools

Adobe Dreamweaver CS5/6: Learning the Tools Adobe Dreamweaver CS5/6: Learning the Tools Dreamweaver is an HTML (Hypertext Markup Language) editor, authoring tool, and Web site management tool. Dreamweaver is a WYSIWYG (what you see is what you get)

More information

(Refer Slide Time: 06:01)

(Refer Slide Time: 06:01) Data Structures and Algorithms Dr. Naveen Garg Department of Computer Science and Engineering Indian Institute of Technology, Delhi Lecture 28 Applications of DFS Today we are going to be talking about

More information

Problem 1: Textbook Questions [4 marks]

Problem 1: Textbook Questions [4 marks] Problem 1: Textbook Questions [4 marks] Answer the following questions from Fluency with Information Technology. Chapter 3, Short Answer #8: A company that supplies connections to the Internet is called

More information

Civil Engineering Computation

Civil Engineering Computation Civil Engineering Computation First Steps in VBA Homework Evaluation 2 1 Homework Evaluation 3 Based on this rubric, you may resubmit Homework 1 and Homework 2 (along with today s homework) by next Monday

More information