Cargando…

Python Multimedia.

A practical guide, this book provides step-by-step instructions for developing multimedia applications, showcasing real world examples throughout. This book is for Python developers who want to dip their toes into working with images, animations, audio and video processing using Python.

Detalles Bibliográficos
Clasificación:Libro Electrónico
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Packt Pub. 2010.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • Table of Contents
  • Preface
  • Chapter 1: Python and Multimedia
  • Multimedia
  • Multimedia processing
  • Image processing
  • Audio and video processing
  • Animations
  • Built-in multimedia support
  • winsound
  • audioop
  • wave
  • External multimedia libraries and frameworks
  • Python Imaging Library
  • PyMedia
  • GStreamer
  • Pyglet
  • PyGame
  • Time for action 8211; a simple application using PyGame
  • QT Phonon
  • Other multimedia libraries
  • Summary
  • Chapter 2: Working with Images
  • Installation prerequisites
  • Python
  • Python Imaging Library (PIL)
  • PyQt4
  • Summary of installation prerequisites
  • Reading and writing images
  • Time for action 8211; image file converter
  • Creating an image from scratch
  • Time for action 8211; creating a new image containing some text
  • Reading images from archive
  • Time for action 8211; reading images from archives
  • Basic image manipulations
  • Resizing
  • Time for action 8211; resizing
  • Rotating
  • Time for action 8211; rotating
  • Flipping
  • Time for action 8211; flipping
  • Capturing screenshots
  • Time for action 8211; capture screenshots at intervals
  • Cropping
  • Time for action 8211; cropping an image
  • Pasting
  • Time for action 8211; pasting: mirror the smiley face!
  • Project: Thumbnail Maker
  • Time for action 8211; play with Thumbnail Maker application
  • Generating the UI code
  • Time for action 8211; generating the UI code
  • Connecting the widgets
  • Time for action 8211; connecting the widgets
  • Developing the image processing code
  • Time for action 8211; developing image processing code
  • Summary
  • Chapter 3: Enhancing Images
  • Installation and download prerequisites
  • Adjusting brightness and contrast
  • Time for action8212;adjusting brightness and contrast
  • Tweaking colors
  • Time for action 8211; swap colors within an image!
  • Changing individual image band
  • Time for action 8211; change the color of a flower
  • Gray scale images
  • Cook up negatives
  • Blending
  • Time for action 8211; blending two images
  • Creating transparent images
  • Time for action 8211; create transparency
  • Making composites with image mask
  • Time for action 8211; making composites with image mask
  • Project: Watermark Maker Tool
  • Time for action 8211; Watermark Maker Tool
  • Applying image filters
  • Smoothing
  • Time for action 8211; smoothing an image
  • Sharpening
  • Blurring
  • Edge detection and enhancements
  • Time for action 8211; detecting and enhancing edges
  • Embossing
  • Time for action 8211; embossing
  • Adding a border
  • Time for action 8211; enclosing a picture in a photoframe
  • Summary
  • Chapter 4: Fun with Animations
  • Installation prerequisites
  • Pyglet
  • Summary of installation prerequisites
  • Testing the installation
  • A primer on Pyglet
  • Important components
  • Displaying an image
  • Mouse and keyboard controls
  • Adding sound effects
  • Animations with Pyglet
  • Viewing an existing animation
  • Time for action 8211; viewing an existing animation
  • Animation using a sequence.