2D Drawing Basics 1.

Slides:



Advertisements
Similar presentations
Raster Graphics 2.01 Investigate graphic image design.
Advertisements

Graphics on the Web. Common Image File Types As you may know, the most widely supported web image graphic formats are GIF and JPEG. So the question is.
Raster graphics. Colour depth 01 1 bit pr pixel = 2 combinations (2 1 ): 2 bits pr pixel = 4 combinations (2 2 ): bits pr pixel = 16 combinations(2.
Tech Technicalities I Mills SOC128 Fall 2013 Dan Ryan.
ISYS 3074 Graphics File Formats File formats have developed with applications. At least 50 currently in use. Examples include: GIF, JPEG, TIFF, BMP, DIB,
Images.
Graphics in the web Digital Media: Communication and Design
Graphics and Images September 28, Unit 3.
File Formats By Jack Turner. Raster (Bitmap) Raster or bitmap is a dot matrix data structure, containing columns of dots and rows, of a graphics image.
Data starts with width and height of image Then an array of pixel values (colors) The number of elements in this array is width times height Colors can.
Comparison of image compression algorithms ECE-533 Paula Aguilera.
GRAPHICS/IMAGES INFSCI Source: Learning Web Design by Jennifer Niederst RobbinsJennifer Niederst Robbins Creating Images:  Scanning  Be aware.
Color Names All standards-compliant browsers should handle these color names These color names can be used with the CSS properties of color and background-color.
Task 01 – Explain how different types of graphical images relate to file formats, file conversions, formats and compression. Emily Riley.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
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.
SOFTWARE TYPES Word processing Page layout Paint Draw.
THE THEORY & CONCEPTS Lesson 1 – Part 1. What is Graphic Design It’s a CREATIVE PROCESS Undertaken in order to convey a specific message/s I can’t teach.
Understanding Images on the Computer How do images work and why?
Web Image Basics Comp 140 December 2. Vector Graphics Can be repositioned or resized – Will not diminish output quality Typically stored in AI, EPS, PICT.
Digital File Formats ACCT-IGD-10: Students will generate and manipulate various graphic imaging processes. ACCT-IGD-15: Students will identify and produce.
Information Processes and Technology Multimedia: Graphics.
Raster Graphics. An image is considered to be made up of small picture elements (pixels). Constructing a raster image requires setting the color of each.
Computer Images Can store color info about each pixel, but makes file BIG Compression for Web 15.
Graphics workshop Library and Information Services University of St Andrews.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
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.
(59003)
Graphic Format Factors
 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.
Things to Remember When working with digital images.
Using the Sony DSC-P52 Camera Sunday, December 06, 2015.
Images. Digital Images Rectangular arrays of pixel data Pixel - picture element, smallest addressable part of the frame buffer. Color depth - the depth.
Raster Graphics 2.01 Investigate graphic image design.
Data compression. lossless – looking for unicolor areas or repeating patterns –Run length encoding –Dictionary compressions Lossy – reduction of colors.
Graphics Concepts Presentation
21 st Century Technology. Painting Uses Pixels Quality of image Changes Drawing Uses Vectors or Lines Quality of Image Does NOT Change.
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Digital Graphics for Computer Games Pixels Types of Digital Graphics (Raster and Vector) Compression.
Lesson 2: Introduction to Digital Imaging Digital Photography MITSAA IAP 2003 Rob Zehner.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
HTTP transaction with Graphics HTML file + two graphics files.
Image File Formats Harrow Computer Club – Wed, 1 Dec 2010 Bob Watson MA CMath MIMA MBCS.
2D drawing basics For CSE 3902 By: Matt Boggus. Overview 2D coordinate systems Raster images Sprite drawing in XNA.
Computer Graphics Lesson 2 July 12, 2005 Image Formats What are some formats you are familiar with? There are 4 basic image format types: Uncompressed.
Red Green Blue (RGB) Colour conversions Y and RGB Link In the images, the lighter the colour intensity (Red, Green, Blue), the more the contribution.
8th Lecture – Intro to Bitmap or Raster Images
Common Bitmap Image File Types
Image and Audio File Formats
Sampling, Quantization, Color Models & Indexed Color
2D drawing basics For CSE 3902 By: Matt Boggus.
Introduction to raster graphics
1.01 Investigate graphic types and file formats.
Web Development A Visual-Spatial Approach
2.01 Investigate graphic image design.
Raster Images CPSC 1030.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
Image File Size and File Compression
1.01 Investigate graphic types and file formats.
Notes on the color table and indexed color concept
MED 2001 Advanced Media Production
2.01 Investigate graphic image design.
Graphic File Format Skill Area
COMS 161 Introduction to Computing
timo. fi (59003) www. biocenter
2.01 Investigate graphic image design.
"Digital Media Primer" Yue-Ling Wong, Copyright (c)2013 by Pearson Education, Inc. All rights reserved.
2.01 Investigate graphic image design.
Presentation transcript:

2D Drawing Basics 1

Overview 2D coordinate systems Images Sprite drawing in XNA

Coordinate System A coordinate system is a system which uses one or more numbers, or coordinates, to uniquely identify the position of a point For a 2D coordinate system, we need Origin 2-Tuple of a position relative to the origin

2D coordinate system examples Cartesian Coordinates (http://en.wikipedia.org/wiki/File:Cartesian-coordinate-system.svg) Polar Coordinates (http://en.wikipedia.org/wiki/File:CircularCoordinates.svg)

XNA’s coordinate system

Images http://en.wikipedia.org/wiki/File:Rgb-raster-image.svg

Image Formats (extensions) PPM Uncompressed, human readable GIF 8 bits per pixel (bpp) per channel (RGB) 256 different colors Lossless data compression (LZW “patented”) JPEG Lossy data compression PNG – Portable Network Graphics Created as an improved, non-patented replacement for GIF supports palette-based images (with palettes of 24-bit RGB or 32-bit RGBA colors), grayscale images (with or without alpha channel), and full-color non-palette-based RGB[A] images Lossless data compression

Sprite drawing in XNA SpriteBatch object Begin – called once to start specifying the “batch” of Sprites to draw Draw – called for each Sprite needing to be drawn End – called once to finish specifying the “batch” of Sprites to draw

?

References