From: Sam Moore Date: Tue, 29 Apr 2014 05:16:10 +0000 (+0800) Subject: Add example of Vector vs Raster Graphics X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=d4698605773e2b11d5a1c7f50c8821d224ad82cb;p=ipdf%2Fsam.git Add example of Vector vs Raster Graphics On the first day, the skeleton encountered a fox "That fox will make a good example of Vector vs Raster Graphics" thought the skeleton Suddenly, Captain Obvious appeared to challenge the skeleton to a battle! "THAT FOX IS SUPERFLOUS" shouted Captain Obvious. "But pretty pictures!" cried the Skeleton. Captain Obvious hesitated, clearly torn. After a long pause, he sighed. "I guess you've got me there" he said. (NB: I will probably remove this example when I have something of value to put in its place) --- diff --git a/chapters/Background.tex b/chapters/Background.tex index 605b4a2..751dbe9 100644 --- a/chapters/Background.tex +++ b/chapters/Background.tex @@ -14,16 +14,29 @@ A paper by paper summary of the literature is also available at: \\ \url{http:// \section{Document Formats} -\subsection{History} - Since mankind climbed down from the trees... \rephrase{plagiarism alert!} \subsection{Vector Graphics vs Raster Graphics} -Raster Graphics: Stores the exact pixels as they would appear on a device. Causes obvious issues with scaling. -Vector Graphics: Stores relative position of primitives - scales better. BUT still can't scale forever. +Raster Graphics: Stores the exact pixels as they would appear on a device. Causes obvious issues with scaling. Lowest level representation of a document. + + +Vector Graphics: Stores relative position of primitives - scales better. BUT still can't scale forever. Vector Graphics must be rasterised before being drawn on most display devices. + +Vector Graphics formats may contain more information than is shown on the display device; Raster Graphics always contain as much or less pixel information than is shown. + +\rephrase{Captain Obvious strikes again!} \\ +Figure \ref{fox} shows an example of scaling. The top image is a vector graphics drawing which has been scaled. The bottom image was a raster image of the original drawing which has then been scaled by the same amount. Scaling in = interpolation/antialiasing/just scale the pixels depending on the viewer and scale; scaling out = blurring of pixels by averaging of neighbours. If you are viewing this document in a PDF viewer you can try it yourself! Otherwise, welcome to the 21st century. + + +\begin{figure}[H] + \centering + \includegraphics[width=0.5\textwidth]{figures/fox.pdf} + \includegraphics[width=0.5\textwidth]{figures/fox.png} + \caption{Scaling of Vector and Raster Graphics}\label{fox} +\end{figure} +\rephrase{I am torn as to whether to use a Fox or Rabbit or Rox here}. -\rephrase{Figures: Raster and Vector graphics at different scales} \subsection{Document Format Categories} diff --git a/figures/fox.pdf b/figures/fox.pdf new file mode 100644 index 0000000..934489d Binary files /dev/null and b/figures/fox.pdf differ diff --git a/figures/fox.png b/figures/fox.png new file mode 100644 index 0000000..014869d Binary files /dev/null and b/figures/fox.png differ diff --git a/figures/fox.svg b/figures/fox.svg new file mode 100644 index 0000000..9211a9b --- /dev/null +++ b/figures/fox.svg @@ -0,0 +1,165 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/thesis.pdf b/thesis.pdf index 16174a2..36e3f61 100644 Binary files a/thesis.pdf and b/thesis.pdf differ