.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================== SWFTOOLS for Linux ================== :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Dirk Wildt :Changed: 2013-02-05T12:32:43 :Classification: swftools4linux :Description: SWFTOOLS for Linux: Install SWFTOOLS on a LINUX server. You must be root. :Keywords: forDevelopers, forIntegrators, swftools, swf, tools, flash, linux :Author: Dirk Wildt, Die Netzmacher :Email: http://wildt.at.die-netzmacher.de :Website: http://die-netzmacher.de :Language: en |img-1| |img-2| extKey: swftools4linux |img-3| .. _SWFTOOLS-for-Linux: SWFTOOLS for Linux ================== SWFTOOLS for Linux: Install SWFTOOLS on a LINUX server. You must be root. |img-4| Version: 0.0.3, 2013-02-05 Extension Key: swftools4linux Language: en Keywords: forDevelopers, forIntegrators, swftools, swf, tools, flash, linux Copyright 2012-2013, Dirk Wildt, Die Netzmacher, This document is published under the Open Content License available from `http://www.opencontent.org/opl.shtml `_ The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from `www.typo3.org `_ .. _Table-of-Contents: Table of Contents ----------------- `SWFTOOLS for Linux 1 <#__RefHeading__12229_1904948122>`_ `Introduction 3 <#__RefHeading__839_1945474054>`_ `What does SWFTOOLS for Linux do? 3 <#__RefHeading__12241_1904948122>`_ `Why SWFTOOLS? 3 <#__RefHeading__6700_2019763361>`_ `What do you need? 3 <#__RefHeading__1087_888364954>`_ `Copyright 4 <#__RefHeading__1089_888364954>`_ `Authors 4 <#__RefHeading__6026_2019763361>`_ `License 4 <#__RefHeading__6028_2019763361>`_ `Sources 4 <#__RefHeading__6030_2019763361>`_ `Quick Installation 5 <#__RefHeading__1143_1949602909>`_ `Installation 6 <#__RefHeading__1091_888364954>`_ `Check, if SWFTOOLS are installed 6 <#__RefHeading__6032_2019763361>`_ `Install swfttools4linux 6 <#__RefHeading__6038_2019763361>`_ `Unpack the Archive 6 <#__RefHeading__6040_2019763361>`_ `Configure the Package 6 <#__RefHeading__6042_2019763361>`_ `Workflow 6 <#__RefHeading__6044_2019763361>`_ `Deinstallation 8 <#__RefHeading__1000_1949602909>`_ `Requirements 8 <#__RefHeading__6706_2019763361>`_ `Workflow 8 <#__RefHeading__6708_2019763361>`_ `Properties 9 <#__RefHeading__667_203744830>`_ `jpeg2swf 9 <#__RefHeading__1016_1605460984>`_ `pdf2swf 9 <#__RefHeading__1018_1605460984>`_ `png2swf 11 <#__RefHeading__1020_1605460984>`_ `FAQ 12 <#__RefHeading__12148_1399488297>`_ `This is a fixed version. What's fixed? 12 <#__RefHeading__6050_2019763361>`_ `Known Bugs 13 <#__RefHeading__2670_493732561>`_ `To-Do List 14 <#__RefHeading__12315_1904948122>`_ `Further Information 15 <#__RefHeading__26128_2019763361>`_ `Other extensions published by Die Netzmacher 15 <#__RefHeading__11111_182679940>`_ `Change Log 16 <#__RefHeading__12317_1904948122>`_ .. _Introduction: Introduction ------------ .. _What-does-SWFTOOLS-for-Linux-do: What does SWFTOOLS for Linux do? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - SWFTOOLS for Linux delivers the source code for the installation of SWFTTOOLS on a Linux server.If you are using a Windows server, please refer to SWFTOOLS for Windows. - The manual explains step by step, how to install SWFTOOLS on a Linux server. - It describes too, how to uninstall SWFTOOLS. .. _Why-SWFTOOLS: Why SWFTOOLS? ^^^^^^^^^^^^^ - SWFTOOLS can convert JPEG, PDF, PNG and WAV files to SWF / Flash filies. - You need SWFTOOLS, if you are using the extension Flip it! and you want, that Flip it! converts PDF filesto SWF / Flash files automatically. .. _What-do-you-need: What do you need? ^^^^^^^^^^^^^^^^^ - You must be root, if you want to install SWFTOOLS on your server. - You don't need special know how about Linux. .. _Copyright: Copyright --------- SFWTOOLS is open-source-software. .. _Authors: Authors ^^^^^^^ Matthias Kramm Maintainer, librfxswf(-python), pdf2swf, avi2swf, png2swf, swfcombine, swfextract, swfdump, swfc Rainer Böhme librfxswf, jpeg2swf, swfstrings De Clarke swifty, help with swfc, swfc documentation See the file AUTHORS .. _License: License ^^^^^^^ GNU GENERAL PUBLIC LICENSE, Version 2, June 1991 See the file COPYING .. _Sources: Sources ^^^^^^^ Homepage: `http://www.swftools.org `_ Mailinglist: `http://mail.nongnu.org/mailman/listinfo/swftools-common `_ .. _Quick-Installation: Quick Installation ------------------ Install SWFTOOLS. .. _Installation: Installation ------------ .. _Check-if-SWFTOOLS-are-installed: Check, if SWFTOOLS are installed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If SWFTOOLS are installed, please don't install it again. Please don't work as root. wwwrun@server:~> pdf2swf --version pdf2swf - part of swftools 0.9.2www@server: ../swftools4linux/lib> cd swftools-0.9.2\_fixed/ If the command returns a result like in the code snippet above, SWFTOOLS are installed. Than there is noting to do – please don't install SWFTOOLS again. .. _Install-swfttools4linux: Install swfttools4linux ^^^^^^^^^^^^^^^^^^^^^^^ Install this extension. .. _Unpack-the-Archive: Unpack the Archive ^^^^^^^^^^^^^^^^^^ Please don't work as root. Move to the directory with the installer archive, unpack the archive and move to the installer directory. www@server: .. > cd /typo3conf/ext/swftools4linux/lib/ www@server: ../swftools4linux/lib> tar -xzf swftools-0.9.2\_fixed.tar.gz www@server: ../swftools4linux/lib> cd swftools-0.9.2\_fixed/ .. _Configure-the-Package: Configure the Package ^^^^^^^^^^^^^^^^^^^^^ .. _Individual-Needs: Individual Needs """""""""""""""" If there are needs for an individual configuration please refer to the file swftools-0.9.2\_fixed/INSTALL .. _Workflow: Workflow ^^^^^^^^ .. _Check-Requirements: Check Requirements """""""""""""""""" Check if the configure file is executable. If not, change the mode (chmod) to executable. www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed> ls -al configure -rwxr-xr-x 1 wwwrun www 5598 12. Nov 2010 configure Prepare the software for installation: www@server: ../swftools4linux/lib/swftools-0.9.2 > ./configure ... a lot of prompts ... ... www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed> make ... a lot of prompts ... ... .. _Installation: Installation """""""""""" Login as root. Install it! server: ../swftools4linux/lib/swftools-0.9.2\_fixed> su Password: \*\*\*\*\*\*\*\* www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed # make install ... a lot of prompts ... ... .. _Success: Success? """""""" Please don't work as root. Check the version of one tool: www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed # pdf2swf --version pdf2swf - part of swftools 0.9.2 Prompt the list with the installed tools: www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed # ls -1 /usr/local/bin/ as3compile font2swf jpeg2swf pdf2swf png2swf swfbbox swfc swfcombine swfdump swfextract swfrender swfstrings wav2swf .. _Remove-Source-Code: Remove Source-Code """""""""""""""""" If you remove the source-code, you can't deinstall the installed software without a new installation. If you like to deinstall the software before removing the source-code, please refer to "Deinstallation" on page 8 below. server: ../swftools4linux/lib # su www www@server: ../swftools4linux/lib# rm -Rf swftools-0.9.2\_fixed .. _Deinstallation: Deinstallation -------------- .. _Requirements: Requirements ^^^^^^^^^^^^ You can deinstall the software only - if you have installed the software successfully and - if the configuration files are existent. .. _What-to-do-in-case-of-missing-configuration-files: What to do in case of missing configuration files? """""""""""""""""""""""""""""""""""""""""""""""""" If the configuration files are missing, you can deinstall the software if you have reinstalled before. If you like to reinstall the software please refer to "Installation" on page 6 above. .. _Workflow: Workflow ^^^^^^^^ You must be root. server: ../swftools4linux/lib/swftools-0.9.2\_fixed # make uninstall server: ../swftools4linux/lib/swftools-0.9.2\_fixed # su www www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed> make clean ... a lot of prompts ... www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed> make distclean ... a lot of prompts ... .. _Success: Success? """""""" Please don't work as root. Check the version of one tool: www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed # pdf2swf --version pdf2swf - part of swftools 0.9.2 Prompt the list with the installed tools: www@server: ../swftools4linux/lib/swftools-0.9.2\_fixed # ls -1 /usr/local/bin/ as3compile font2swf jpeg2swf pdf2swf png2swf swfbbox swfc swfcombine swfdump swfextract swfrender swfstrings wav2swf .. _Remove-the-source-files: Remove the source files """"""""""""""""""""""" Please don't work as root. Check the version of one tool: www@server: ../swftools4linux/lib # rm -Rf swftools-0.9.2\_fixed .. _Remove-this-extension: Remove this extension """"""""""""""""""""" Disable and delete this extension with the extension manager. .. _Properties: Properties ---------- Please refer to `http://www.swftools.org/pdf2swf\_usage.html `_ .. _jpeg2swf: jpeg2swf ^^^^^^^^ wwwrun@server:/usr/local/bin> jpeg2swf --help Usage: jpeg2swf [-options [value]] imagefiles[.jpg]\|[.jpeg] [...] -o , --output Explicitly specify output file. (otherwise, output.swf will be used) -q , --quality Set compression quality (1-100, 1=worst, 100=best) -r , --rate Set movie framerate (frames per second) -z , --zlib Enable Flash 6 (MX) Zlib Compression -M , --mx Use Flash MX H.263 compression (use for correlated images) -x , --xoffset horizontally offset images by -y , --yoffset vertically offset images by -X , --width Force movie width to (default: autodetect) -Y , --height Force movie height to (default: autodetect) -T , --flashversion Set flash file version to -v , --verbose Set verbose level to (0=quiet, 1=default, 2=debug) -V , --version Print version information and exit -f , --fit-to-movie Fit images to movie size -e , --export Make importable as asset with .. _pdf2swf: pdf2swf ^^^^^^^ wwwrun@server:/usr/local/bin> pdf2swf --help Usage: pdf2swf [-options] file.pdf -o file.swf -h , --help Print short help message and exit -V , --version Print version info and exit -o , --output file.swf Direct output to file.swf. If file.swf contains '%' (file%.swf),then each page goes to a separate file. -p , --pages range Convert only pages in range with range e.g. 1-20 or 1,4,6,9-11 or -P , --password password Use password for deciphering the pdf. -v , --verbose Be verbose. Use more than one -v for greater effect. -z , --zlib Use Flash 6 (MX) zlib compression. -i , --ignore Allows pdf2swf to change the draw order of the pdf.This may make the generated -j , --jpegquality quality Set quality of embedded jpeg pictures to quality. 0 is worst(small), 100 is best (big). (default:85) -s , --set param=value Set a SWF encoder specific parameter. See pdf2swf -s help for more information. -w , --samewindow When converting pdf hyperlinks, don't make the links opena new window. -t , --stop Insert a stop() command in each page. -T , --flashversion num Set Flash Version in the SWF header to num. -F , --fontdir directory Add directory to the font search path. -b , --defaultviewer Link a standard viewer to the swf file. -l , --defaultloader Link a standard preloader to the swf file which will be displayedwhile the main swf is loading. -B , --viewer filename Link viewer filename to the swf file. -L , --preloader filename Link preloader filename to the swf file. -q , --quiet Suppress normal messages. Use -qq to suppress warnings, also. -S , --shapes Don't use SWF Fonts, but store everything as shape. -f , --fonts Store full fonts in SWF. (Don't reduce to used characters). -G , --flatten Remove as many clip layers from file as possible. -I , --info Don't do actual conversion, just display a list of all pagesin the PDF. -Q , --maxtime n Abort conversion after n seconds. Only available on Unix. .. _param: param """"" wwwrun@server:/usr/local/bin> pdf2swf -s help PDF Parameters: PDF device global parameters: fontdir= a directory with additional fonts font= an additional font filename pages= the range of pages to convert (example: pages=1-100,210-) zoom= the resultion (default: 72) languagedir= Add an xpdf language directory multiply= Render everything at the resolution poly2bitmap Convert graphics to bitmaps bitmap Convert everything to bitmaps SWF Parameters: SWF layer options: jpegsubpixels= resolution adjustment for jpeg images (same as jpegdpi, but in pixels) ppmsubpixels= shortcut for setting both jpegsubpixels and ppmsubpixels drawonlyshapes convert everything to shapes (currently broken) ignoredraworder allow to perform a few optimizations for creating smaller SWFs linksopennewwindow make links open a new browser window linktarget target window name of new links linkcolor==6) bboxvars store the bounding box of the SWF file in actionscript variables dots Take care to handle dots correctly reordertags=0/1 (default: 1) perform some tag optimizations internallinkfunction= when the user clicks a internal link (to a different page) in the converted file, this actionscript function is called externallinkfunction= when the user clicks an external link (e.g. http://www.foo.bar/) on the converted file, this actionscript function is called disable\_polygon\_conversion never convert strokes to polygons (will remove capstyles and joint styles) caplinewidth= the minimum thichness a line needs to have so that capstyles become visible (and are converted) insertstop put an ActionScript "STOP" tag in every frame protect add a "protect" tag to the file, to prevent loading in the Flash editor flashversion= the SWF fileversion (6) framerate= SWF framerate minlinewidth= convert horizontal/vertical boxes smaller than this width to lines (0.05) simpleviewer Add next/previous buttons to the SWF animate insert a showframe tag after each placeobject (animate draw order of PDF files) jpegquality= set compression quality of jpeg images splinequality= Set the quality of spline convertion to value (0-100, default: 100). disablelinks Disable links. .. _png2swf: png2swf ^^^^^^^ wwwrun@server:/usr/local/bin> png2swf --help Usage: png2swf [-X width] [-Y height] [-o file.swf] [-r rate] file1.png [file2.png...] -r , --rate Set movie framerate (frames per second) -o , --output Set name for SWF output file. -j , --jpeg Generate a lossy jpeg bitmap inside the SWF,with a given quality (1-100) -z , --zlib Enable Flash 6 (MX) Zlib Compression -T , --flashversion Set the flash version to generate -X , --pixel Force movie width to (default: autodetect) -Y , --pixel Force movie height to (default: autodetect) -v , --verbose Set verbose level (0=quiet, 1=default, 2=debug) -q , --quiet Omit normal log messages, only log errors -C , --cgi For use as CGI- prepend http header, write to stdout -V , --version Print version information and exit -s , --scale Scale image to .. _FAQ: FAQ --- .. _This-is-a-fixed-version-What-s-fixed: This is a fixed version. What's fixed? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The installer tries to install the files - swfs/default\_viewer.swf - swfs/default\_loader.swf but the files aren't part of the current SWFTOOLS version. This failure is fexied. If you like to know more about the fix, please refer to the file BUGFIX. .. _Known-Bugs: Known Bugs ---------- There isn't any known bug. .. _To-Do-List: To-Do List ---------- Nothing to do. .. _Further-Information: Further Information ------------------- .. _Other-extensions-published-by-Die-Netzmacher: Other extensions published by Die Netzmacher ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - |img-5| autositemap: A smart site-map optimised for the footer. It groups menus in columns. Great menus will get two columns. Configuration is based on TypoScript HMENU. `http://typo3.org/extensions/repository/view/autositemap/ `_ - |img-6| Browser – TYPO3 without PHP. Develop your TYPO3 extension 8 times faster! You need 1 line TypoScript for a result list with a search form, a record browser and an index browser. Images are wrapped self-acting. SEO, Search Engine Optimization, is integrated. `http://typo3.org/extensions/repository/view/browser/ `_ - |img-7| Flip it! Flip it! enables you to run over pages in PDF documents and magazines. Flip it! offers lovely and smooth page flip transitions. The visitor of your website does not need any PDF plugin but a Flash plugin. `http://typo3.org/extensions/repository/view/flipit/ `_ - |img-8| Green Cars (Grüne Autos) - Database optimized for ecological cars. It is a case study and demonstrates, how to get a complex database with the Browser in three hours only. `http://gruene- autos.org/ `_ - |img-9| Jobmarket is a catalogue with job offers. Views, the a-z-browser, the page-browser, the search, social bookmarks and a lot of other stuff can configured by the Browser plugin with the mouse. Job Market hasn't any PHP code, it should be easy to adapt it to your needs. `http://typo3-job-market.de/ `_ |img-10| Majordomo: For subcribing to and unsubscribing from a majordomo mailing list. `http://typo3.org/extensions/repository/view/majordomo/ `_ - |img-11| Organiser provides a lot of features for handle news, events, staff, headquarters, locations, repertoire, workshops and a calendar. Sell your online tickets! Available from April of 2011 `http://typo3-organiser.de/ `_ - |img-12| Quick Shop (extkey: quick\_shop): The fastest shop in the history of TYPO3. Install it with one mouse click only! Quick Shop is based on the Browser and powermail. `http://typo3-quick-shop.de/ `_ - |img-13| PDF Controller: Easy to install. Add to your HTML page the PDF-controller-button. Link from the button to the controller. Adjust the controller by mouseclicks. The PDF Controller supports CSS 3. `http://typo3-pdfcontroller.de/ `_ - |img-14| seo\_dynamic\_tag: Search Engine Optimisation. You can generate values dynamically with this extension especially for the -tag, for the <meta>-tag description and the <meta>-tag keywords. `http://typo3.org/extensions/repository/view/seo\_dynamic\_tag <http://typo3.org/extensions/repository/view/seo_dynamic_tag/>`_ / - |img-15| TSconfig Pages and Users by extManager (extkey: tsconf): Configure the the eight most commonly used TSconfig porperties with the mouse - like page tree uids, activated extended view, activated clipboard, ... `http://typo3.org/extensions/repository/view/tsconf/ <http://typo3.org/extensions/repository/view/tsconf/>`_ - |img-16| tt\_news select configuration (extkey: ttnews\_selectconf) enables to select tt\_news by any SQL clause. The extension adds an andWhere clause to the SQL query of the tt\_news plugin. I. e. it is possible to display tt\_news items in dependence on the ownership of a fe\_user. `http://typo3.org/extensions/repository/view/ttnews\_selectconf/ <http://typo3.org/extensions/repository/view/ttnews_selectconf/>`_ - |img-17| Wine Catalogue provides a data base for wine with regions, wineries, styles, variety and ageing among others. It is localized. English, German and Spanish ist of the box. Wine based on the extension Browser. `http://typo3-wine.de/ <http://typo3-wine.de/>`_ .. _Change-Log: Change Log ---------- 0.0.3 **Update Manual** 0.0.2 **Development** 0.0.1 **Initial release** 16 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.jpeg .. :border: 0 .. :height: 20 .. :id: graphics3 .. :name: graphics3 .. :width: 69 .. |img-3| image:: img-3.png .. :border: 0 .. :height: 16 .. :id: graphics1 .. :name: graphics1 .. :width: 18 .. |img-4| image:: img-4.png .. :align: bottom .. :border: 0 .. :height: 268 .. :id: graphics4 .. :name: graphics4 .. :width: 302 .. |img-5| image:: img-5.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics80 .. :name: graphics80 .. :width: 18 .. |img-6| image:: img-6.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: Grafik3 .. :name: Grafik3 .. :width: 18 .. |img-7| image:: img-7.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics7 .. :name: graphics7 .. :width: 18 .. |img-8| image:: img-8.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics5 .. :name: graphics5 .. :width: 18 .. |img-9| image:: img-9.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics26 .. :name: graphics26 .. :width: 18 .. |img-10| image:: img-10.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics18 .. :name: graphics18 .. :width: 18 .. |img-11| image:: img-11.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: Grafik1 .. :name: Grafik1 .. :width: 18 .. |img-12| image:: img-12.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics37 .. :name: graphics37 .. :width: 18 .. |img-13| image:: img-13.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics55 .. :name: graphics55 .. :width: 18 .. |img-14| image:: img-14.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics2 .. :name: graphics2 .. :width: 18 .. |img-15| image:: img-15.png .. :border: 0 .. :height: 16 .. :id: Grafik5 .. :name: Grafik5 .. :width: 18 .. |img-16| image:: img-16.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics50 .. :name: graphics50 .. :width: 18 .. |img-17| image:: img-17.png .. :align: bottom .. :border: 0 .. :height: 16 .. :id: graphics70 .. :name: graphics70 .. :width: 18