HOWTO: Multimedia

Puppy has an excellent range of multimedia editing, conversion and viewing tools. The links are to "help" pages on each program.

Note that the links will only exist if the appropriate package is installed. Puppy is now highly customisable, with the introduction of Puppy Unleashed, and a live-CD can easily be built with packages of your choice. The main Help page is automatically edited by the Puppy Unleashed build script to only have links to help files that actually exist, but not so these HOWTO pages. I have greyed-out the packages that may not be in the 'standard' release (non-customised) of Puppy -- but, they are all installable using the PETget package manager.

Graphics

Puppy has a very useful collection of applications and utilities for manipulating graphic images, both bitmap and vector. Note that there has been a trend away from the GIF format due to a patent on the LZW compression algorithm, however that patent has expired in all countries of the world, so this is not an issue any more (but, GIF is only useful for animation, as PNG is far superior in all other respects).
The following table is a summary:


Xpaint Xpaint is a bitmap (raster) picture editor and viewer. Formats that can be opened and saved are gif, ico, jpeg, png, ppm, ps, pdf, tiff, xbm, xpm and xwd
mtPaint This is another bitmap image editor, and specialises in pixel-level editing of images, especially icons. I have found mtPaint to be an excellent general-purpose paint program.
In fact, my opinion of mtPaint keeps going up, as the author is developing it rapidly. The 0.45 version supports scaling of images, which is a serious shortcoming of Xpaint. V0.50 supports rotation by an arbitrary angle. Even cropping, that is supported in Xpaint, is much more sophisticated in mtPaint.
Figurine Figurine is a vector image editor and the native format is fig. Only fig files can be opened, however Figurine can use fig2dev to export to a variety of vector and bitmap formats.
Note that Figurine does not show the option to export to svg although fig2dev supports it. I intend to modify the source code of Figurine to fix this, however for now conversion from fig to svg can be achieved by using fig2dev directly on the commandline.
DIA A very nice vector graphics editor with libraries of shapes. Can import/export bitmap, xfig and svg formats. One disadvantage is that text and shapes cannot be arbitrarily rotated, however it will be possible to perform arbitrary rotations in Figurine and import into DIA. Libraries of custom shapes can be created.
The documentation is online: http://www.gnome.org/projects/dia/docs.html.
Sodipodi A very sophisticated SVG vector editor. SVG means "Scalable Vector Graphics" and is the open source equivalent of Flash. That is, vector diagrams, animation, user interaction on web pages. SVG plugins are available for all major web browsers, the most popular is from Adobe (a free download). However, even if you are not interested in SVG as-such, Sodipodi is a great creation tool for drawings that can be exported to PNG raster or Postscript (and indirectly to PDF and other vector formats via GSview) formats.
Documentation is to be found at www.sodipodi.com and a tutorial is at hawthorn.csse.monash.edu.au/~njh/programming/draw-packages/sodipodi/
InkLite
This is a fork of an early version of Inkscape, and is basically the same as Sodipodi, with a few tweaks and a conventional user interface. The Sodipodi documentation applies to InkLite.
Inkscape
This is the big brother of InkLite. Originally it was a fork of Sodipodi, then got converted from C to C++ then later required the GTKmm and Glibmm libraries. It also has many more features. Consequently it is very big. Also, many of its plugins require Python to be installed. Inkscape may not be in the 'standard' Puppy but is available as a PETget package.
Online documentation: http://www.inkscape.org/doc/index.php?css=css/base.css
Impress This is a very interesting Tcl/Tk GUI application for creating slide presentations. Not up to "Powerpoint" standard though.
Impress can rotate objects by any arbitrary angle, and is supposed to also be able to rotate text. It does this by using the pstoedit program to vectorise text, which can then be rotated. However, text rotation is a "work in progress" as it currently does not work and I have sent an email to the author, awaiting a reply.
One more thing -- the author reports that PowerPoint can export in Postscript format, which Impress can import quite well. See the Impress documentation.
Imposter This is a player for presentations created with Open Office Impress. You cannot actually create these presentations in Puppy, just play them. If Impress can import PowerPoint presentations, that would be a route to be able to play them on Puppy.
Imposter is a GTK2 application, so has antialiased fonts.
Home page: http://imposter.sourceforge.net/
GTKSee GTKSee is an image viewer, manager and slideshow. It displays thumbnails, like Rox, but has a lot more functionality optimised for managing images, such as showing the dimensions of images when there is mouse-over a thumbnail. The slideshow feature is very nice.
Fotox
This is the default image viewer in Puppy 4.xx. It also has some editing features.
Gimageview
This is a sophisticated image viewer. It even plays video files.
Gpicview
A basic image viewer.
Gqview
Yet another image viewer.
fig2dev Converts a fig vector image to a variety of vector and bitmap formats. This version for Puppy has been compiled to support the following vector formats: cgm, pic, ps, emf, eps, pdf, and svg. Also the following bitmap formats: gif, jpeg, pcx, png, ppm, sld, tiff, xbm, xpm.
Note that both Figurine and ABS use fig2dev for exporting.
pstoedit The Postscript and PDF viewer GSview uses pstoedit to export Postscript and PDF files to various vector formats. Supported formats are ps, ai (Adobe Illustrator), idraw, fig, xfig, tgif, tk, hpgl, pic, mma, mpost, sk (Sketch), kil (Kontour), pdf, java1, java2, dxf, rpl, rib, lwo, dxf.
gifsicle gifsicle is a console program for constructing animated gifs. There is also a viewer -- note also, Firefox or Opera can play animated gifs. Most importantly, gifsicle can analyse frames and create an animated gif in which subsequent frames only have the changes from the previous frame, greatly reducing size.
scalerx scalerx is a superb console program. If you have a small bitmap image and you want to make it bigger, it will have jagged edges, however scalerx analyses the image and smooths the edges. Only works with png images.
xli This is a console application to display an image in a window or to load it onto the root window (the desktop background). Supported image types are fbm, Sun Rasterfile, CMU WM Raster, pbm, Faces Project, png, gif, jfif, jpeg, Utah RLE, Windows OS/2 RLE, Photograph on CD, X Window Dump, Targa, McIDAS, G3 FAX, PC Paintbrush, GEM, MacPaint, X Pixmap (xpm), X Bitmap (xbm).
qiv
This does the same as xli and is smaller and faster. qiv replaces xli in Puppy version 2.10 onward.
Gview
Basic application to display an image in a window, used in Puppy 4.xx.
grabc This is in the menu as "RGB screen color picker", and is a simple application that displays a crosshair that is placed as desired then a left-click samples the underlying color and displays its red-green-blue components.
Gcolor2
This is the color chooser and screen color picker used in Puppy 4.xx.
netpbm This is a package of graphic file format conversion and manipulation utilities. Puppy has a subset of the full package. Included with Puppy are: anytopnm (just a shell script that determines file type and calls one of the other conversion programs), giftopnm, jpegtopnm, pgmtopbm, pbmtext, pbmtoxbm, pngtopnm, pnmalias, pnmconvol, pnmcut, pnmnlfilt, pnmrotate, pnmscale, pnmsmooth, pnmtops, pnmtotiff, pnmtojpeg, pnmtopng, ppmdither, ppmlabel, ppmrainbow, ppmtogif, ppmtopgm, ppmtoxpm, ppmtobmp, ppmquant, pstopnm, tifftopnm, xbmtopbm, xpmtoppm, xwdtopnm.

pbm is a monochrome format, pgm is greyscale, ppm is color, and pnm format covers all three. Many applications in Puppy use these utilities and they are mighty useful in scripts also as input and outputs can be piped. Online documentation is to be found at netpbm.sourceforge.net.

Gtkam
Acquire photos from a digital camera. This is standard in Puppy 4.xx.
Xsane
A GUI for acquiring images from a scanner. This is in Puppy 4.xx.

Video

From version 0.9.6, Puppy is using Xine-libs, which handles a very wide range of audio and video formats.


Xine-libs Xine-libs is the backend libraries providing support for a wide range of audio and video formats. Documentation is to be found online: xine.sourceforge.net
Gxine Gxine is a GUI frontend to Xine-libs, and can play video DVDs, various video files including Quicktime, MPG and AVI.

Playing DVDs works real nice, provided that Puppy has correctly identified your DVD drive -- you should find the link /dev/dvd pointing to the actual drive, for example /dev/hdc (or whatever).

Mplayer
Another multimedia (video and audio) player. Available as a PET package.
Pupdvdtool
DVD video ripper. Puppy enthusiast 'plinej' has developed this.

Gxine/Xine can have "codec" files added onto it to extend its capabilites -- see note in Audio section below.

Audio

Xine-libs and Gxine provide a generic media player, including support for a wide range of audio file formats.


Wavplay This is a console application that plays and records wav audio files.

Note, I have kept this application in Puppy although it is redundent with the advent of Gxine (see below).

Gxine Gxine is a media player that will handle a wide range of audio file formats. Gxine can also play audio streamed from the Internet.
Will play audio CDs without requiring an internal cable connecting audio-out on CD-drive to sound card -- other CD players listed below require the cable.
ripperX Rips songs off audio CDs and saves them as wav or mp3.

You could use ripperX as just a CD player. One great thing is the support for cddb -- if connected to the Internet, just click the "cddb" button and all the CD song titles will get downloaded.

Asunder
Rips songs off audio CDs.
RipOff
Rips songs off audio CDs. Default in Puppy 4.xx.
Pcdripper
Rips songs off audio CDs. Also in Puppy 4.xx.
GplayCD Plays audio CDs. Gxine and ripperX can also play audio CDs.
XfreeCD
Plays audio CDs and supports cddb.
Note, hangs if a CD not inserted before starting this app.
Project home page: http://xfreecd.sourceforge.net/
cdplay Console application to play audio CDs.
Gcombust Can be used to create audio CDs from wav or mp3 files.
WishCD
Can be used to create audio CDs from wav files.
Graveman
Can be used to create audio CDs
setvol This is a small console utility to set or get the volume.
xtmix,
GUI sound mixer.
Sgmixer
GUI sound mixer used in Puppy 4.xx.
Snack audio player This is an alternative to Gxine for playing audio files. Uses the Snack library. Needs Tcl/Tk.
XS audio recorder and editor XS uses the Snack library, so handles a wide range of file formats. Apart from recording, or editing existing sound files, XS is useful to convert sound files from one format to another. Needs Tcl/Tk.
Sweep
Sound recorder and editor. Many features.
Online docs: http://www.metadecks.org/software/sweep/tutorials/
mhWaveEdit
Sound recorder and editor. Can also be used to convert between different audio file formats. Default in Puppy 4.xx.
madplay
Console mp3 player.
Online docs: http://www.linuxmanpages.com/man1/madplay.1.php
Pmetatagger
View and edit text tags in audio files.


Gxine/Xine can play streamed audio and video off the Internet, so for example, you can listen to Internet radio stations. However, mainly for legal reasons the most up-to-date RealAudio and MicrosoftMedia "codec" files are not included in Puppy, which means that some radio stations may not work. However, you can download and install them -- see the "Streaming audio and video Gxine plugin" section at the bottom of this page.

Scanning

Puppy has the SANE scanner backend (with all the drivers), and XSane GUI frontend. This is all built-in to Puppy 4.xx, nothing else to install.

Printing

Printing in Puppy is based around Ghostscript and CUPS, and the main applications such as Abiword, Amaya, Xpaint and Firefox, generate files in Postscript format for printing. The gs program is able to convert Postscript files to a format suited to a particular printer.

The Ghostscript package has its own set of printer drivers, however that is very limited, and Puppy uses the Gutenprint drivers, that work with Ghostscript. This adds support for over 200 printers, and over 600 either fully or partially compatible printers.

To be able to print, you must first run the CUPS Printer Wizard. This enables you to choose the correct driver and configure it to work in Puppy. You will find this Wizard in "Start/Setup".

CUPS, Ghostscript, fonts, and the full set of Gutenprint drivers are built-in to Puppy, so nothing else to install for printing. However, if you have a Hewlett Packard printer that is not in the Gutenprint driver-suite, there is an extra 'hp-ijs' PET package available.


Streaming audio and video (Gxine) plugin

Gxine is setup as a plugin for Firefox/Seamonkey, so you can, for example, listen to Internet radio stations. Many will work, however in same cases you need to get later "codec" files for RealAudio and WindowsMedia, the two formats most commonly used for streaming audio. You do not need to install the RealPlayer or any other player, as codec files can be added to Gxine.

The collection of "extra codecs" available from the Mplayer site are available as a PET package.
Just run the PETget package manager (see Menu -> Setup -> Puppy package manager, or just click on the 'install' icon on the desktop) and install the package named "mplayer_codecs_full".



(c) Copyright 2004,2005,2006,2008 Barry Kauler