SVG files in TPC
PET TAC data can be plotted in SVG format in several tools available for data analysis in Turku PET Centre.
Scalable Vector Graphics files can be viewed or printed with any up-to-date web browser, including Internet Explorer version 9. LibreOffice can be used to create and edit SVG. Google Drawings can be saved as SVG. Also image/graphics editor programs, such as the free Inkscape, can be used to open (and edit) SVG files.
Alternatively, SVG files can be converted to other graphics formats, for example using on-line tools, such as Go2Convert. Software for viewing GIF, JPG, and PNG formats are available in every computer, and these formats can be added to MS Word and PowerPoint documents.
If more than one or two SVG files need to be converted, it is recommended to use command-line tools. If you are using Windows, and have Inkscape installed (not from Microsoft Store), you can use batch file svg2png.bat.
In Turku PET Centre you can convert SVG files to PDF or PNG formats with commands
To further process PNG, JPG or GIF images, install a photo editing software. A free command-line utility ImageMagick will be handy for automated processing of lots of graphics files. As an example, four PNG images can be joined together with command
montage +frame +shadow +label -tile 2x2 -geometry 100%x100%+0+0 img1.png img2.png img3.png img4.png joined.png
With ImageMagick you can even make a movie of png (or other format) images, for example:
convert -background white -alpha background -delay 100 -size 400x400 xc:white -dispose previous *.png movie.mpeg
Description of the options can be found in http://www.imagemagick.org/script/command-line-options.php.
- Plotting TACs
- Regional TAC data
- Analysis models for regional TACs
- Fitting input TACs
- Fitting plasma parent fractions
- Inkscape: about SVG
Cagle K, Bellamy-Royds A, Storey D: Using SVG with CSS3 and HTML5 - Vector Graphics for Web Design. O’Reilly Media, 2017.
Eisenberg J. Bellamy-Royds A: SVG Essentials - Producing Scalable Vector Graphics with XML, 2nd ed., O’Reilly Media, 2014.
Hiitola B: Inkscape Beginner’s Guide. Packt Publishing, 2012. ISBN 978-1-84951-720-1.
Updated at: 2018-04-16
Created at: 2011-10-19
Written by: Vesa Oikonen