Intelligent and Interactive Systems

User Tools

Site Tools


misc:graphics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
misc:graphics [2011/04/08 09:08]
c7031007 created
misc:graphics [2018/09/03 19:35] (current)
Line 1: Line 1:
 ====== Proper Choice of Graphics Formats ====== ====== Proper Choice of Graphics Formats ======
 +
 +===== Creating your graphics =====
 +
 +Create all graphics using the right tool and the right format. For example:
 +  - From SciPy, Octave, Matlab, etc., **export plots in vector format**.
 +  - Create line graphics with **Inkscape**. For LaTeX documents, TikZ may sometimes be a good choice.
 +  - Process photographs with the GIMP - unless you overlay line graphics, in which case use vector tools like Inkscape or LaTeX graphics.
  
 ===== Never throw away essential information. ===== ===== Never throw away essential information. =====
Line 18: Line 25:
  
   - Never convert them to raster format.   - Never convert them to raster format.
-  - For **print** publishing: For PDFLaTeX, convert your graphics to (vector-format) PDF. For legacy, DVI/​PostScript-based LaTeX processing chains, convert your graphics to (vector-format) EPS. Many XML formatters, including [[http://​xmlgraphics.apache.org/​fop/​|FOP]],​ support SVG. ((OpenOffice.org can import PDF, SVG and other vector graphics formats. I’m sure some of its proprietary look-alikes can also be convinced to grok vector graphics.))+  - For **print** publishing: For PDFLaTeX, convert your graphics to (vector-format) PDF.((OpenOffice.org can import PDF, SVG and other vector graphics formats. I’m sure some of its proprietary look-alikes can also be convinced to grok vector graphics.))
   - For **Web** publishing: Use SVG. For legacy browers that do not yet support SVG, for maximum portability you may want to offer an alternative raster image (inside an ''<​object>''​ tag, for example), see below.   - For **Web** publishing: Use SVG. For legacy browers that do not yet support SVG, for maximum portability you may want to offer an alternative raster image (inside an ''<​object>''​ tag, for example), see below.
  
Line 32: Line 39:
 ^ Format ^^ Vector ^ Raster ^^ ^ Format ^^ Vector ^ Raster ^^
 ^  ^^  ^ lossless ^ lossy ^ ^  ^^  ^ lossless ^ lossy ^
-^ [[http://​www.adobe.com/​devnet/​pdf/​|Portable Document Format]] | PDF | • | • | • | +^ [[http://​www.adobe.com/​devnet/​pdf/​|Portable Document Format]] | PDF |  •   •   •  
-^ [[http://​www.w3.org/​Graphics/​SVG/​|Scalable Vector Graphics]] | SVG | • | • | • | +^ [[http://​www.w3.org/​Graphics/​SVG/​|Scalable Vector Graphics]] | SVG |  •   •    ​•  
-^ [[http://​www.libpng.org/​pub/​png/​|Portable Network Graphics]] | PNG |  | • |  | +^ [[http://​www.libpng.org/​pub/​png/​|Portable Network Graphics]] | PNG |  |  •  |  | 
-^ [[http://​www.jpeg.org/​jpeg/​|JPEG File Interchange Format]] | JPG, JPEG, JFIF |  |  | • |+^ [[http://​www.jpeg.org/​jpeg/​|JPEG File Interchange Format]] | JPG, JPEG, JFIF |  |  |  •  |
  
 ===== Conversion ===== ===== Conversion =====
misc/graphics.1302246481.txt.gz · Last modified: 2018/09/03 14:57 (external edit)