Create all graphics using the right tool and the right format. For example:
The proper choice of graphics formats during processing and publishing has a critical impact on the quality and usability of the result. The two principal issues are:
The most important distinction is between vector (resolution independent) and raster (pixel) data. From this follows Rule Number One: Never convert vector data to raster data.
Then, file formats require attention because of the technological restrictions imposed by the publishing medium.
<object>tag, for example), see below.
There are open-source tools for essentially all conversions that arise in practice. To convert PDF to SVG I recommend Inkscape.