{"id":66680,"date":"2025-01-27T01:01:00","date_gmt":"2025-01-26T15:01:00","guid":{"rendered":"https:\/\/www.rjmprogramming.com.au\/ITblog\/?p=66680"},"modified":"2025-01-27T20:57:07","modified_gmt":"2025-01-27T10:57:07","slug":"inkscape-almalinux-command-line-pdf-to-svg-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-almalinux-command-line-pdf-to-svg-primer-tutorial\/","title":{"rendered":"Inkscape AlmaLinux Command Line PDF to SVG Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/www.rjmprogramming.com.au\/inkscape_command_line_pdf_to_svg.gif\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Inkscape AlmaLinux Command Line PDF to SVG Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/inkscape_command_line_pdf_to_svg.gif\" title=\"Inkscape AlmaLinux Command Line PDF to SVG Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Inkscape AlmaLinux Command Line PDF to SVG Primer Tutorial<\/p><\/div>\n<p>SVG is all about vector image data.  <a target=\"_blank\" title=\"Inkscapre\" href='https:\/\/inkscape.org\/' rel=\"noopener\">Inkscape<\/a> is a great Open Source vector image editor (as you might surmise from <a title='Inkscape Vector Image Editor Watermark Tutorial' href='#iviewt'>Inkscape Vector Image Editor Watermark Tutorial<\/a>), and distinct from a pixel (or raster) image based image editor like Gimp, for instance.<\/p>\n<p>Up to now, we&#8217;ve considered Inkscape, as representing for us &#8230;<\/p>\n<table>\n<tr>\n<th>Inkscape<\/th>\n<th>Up to today, exclusively &#8230;<\/th>\n<th> &#8230; but what if &#8230;<\/th>\n<th> &#8230; It could be this, as well?<\/th>\n<\/tr>\n<tr>\n<td>Operating System<\/td>\n<td>macOS<\/td>\n<td rowspan=2><\/td>\n<td>Linux<\/td>\n<\/tr>\n<tr>\n<td>Role<\/td>\n<td>GUI Vector Image Editor<\/td>\n<td>Command line AlmaLinux web server based convertor of data to vector image data output?<\/td>\n<\/tr>\n<\/table>\n<p>That could open the door to conversions like PDF to SVG as two powerhouse formats of modern online webpage media data.<\/p>\n<p>We went &#8230;<\/p>\n<table style=width:100%;>\n<tr>\n<th>dnf install inkscape<\/th>\n<th>  # install command line Inkscape on AlmaLinux <br \/>&#8230; then worked with projector.pdf below<\/th>\n<\/tr>\n<tr>\n<th colspan=2><iframe style=width:100%;height:600px; src=\/projector.pdf><\/iframe><\/th>\n<\/tr>\n<tr>\n<th>inkscape projector.pdf projector.svg<\/th>\n<th>  # this created projector.svg first page<br \/>\n<img src=\/projector.svg><\/img><\/th>\n<\/tr>\n<tr>\n<th>inkscape &#8211;pdf-page=2 projector.pdf -o projector2.svg<\/th>\n<th>  # this created projector2.svg second page<br \/>\n<img src=\/projector2.svg><\/img><\/th>\n<\/tr>\n<\/table>\n<p> &#8230; as you can see us doing with today&#8217;s <a target=\"_blank\" href=\"https:\/\/www.rjmprogramming.com.au\/inkscape_command_line_pdf_to_svg.gif\" rel=\"noopener\">animated GIF presentation<\/a>, with thanks to <a target=\"_blank\" title='Excellent advice' href='https:\/\/stackoverflow.com\/questions\/10288065\/convert-pdf-to-clean-svg' rel=\"noopener\">this excellent webpage<\/a> regarding the advice.<\/p>\n<p>But, along the way, alas, it doesn&#8217;t fix the DISPLAY environment variable means by which some products like Tcl\/Tk GUI can not yet be launched up at the AlmaLinux RJM Programming domain.  But we&#8217;re not giving up yet?!<\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=\"_blank\" href='\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-almalinux-command-line-pdf-to-svg-primer-tutorial\/' rel=\"noopener\">Inkscape AlmaLinux Command Line PDF to SVG Primer Tutorial<\/a>.<\/p-->\n<hr>\n<p id='iviewt'>Previous relevant <a target=\"_blank\" title='Inkscape Vector Image Editor Watermark Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-vector-image-editor-watermark-tutorial\/' rel=\"noopener\">Inkscape Vector Image Editor Watermark Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/www.rjmprogramming.com.au\/Mac\/bannerwatermark.jpg\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Inkscape Vector Image Editor Watermark Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/bannerwatermark.jpg\" title=\"Inkscape Vector Image Editor Watermark Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Inkscape Vector Image Editor Watermark Tutorial<\/p><\/div>\n<p>It\u2019s probably a dual edge sword an uploader\u2019s attitude to watermarks.   For some it may be annoying that an image is not freeware when pretty non-specific and uncontroversial.  For others they may like watermarks for a couple of reasons &#8230; <\/p>\n<ul>\n<li>They, too, find they want to protect their content in some way &#8230; and, as is often the case with me &#8230;<\/li>\n<li>They like the aesthetics of watermarks<\/li>\n<\/ul>\n<p>And this is where we rejoin the recent <a target=\"_blank\" title='Inkscape' href='https:\/\/inkscape.org' rel=\"noopener\">Inkscape<\/a> (desktop application vector image editor) discussions of recent times you can read about at <a title='Inkscape Vector Image Editor Logo Tutorial' href='#ivielt'>Inkscape Vector Image Editor Logo Tutorial<\/a> and start considering Inkscape&#8217;s talents with layers, a similar talent to that of <a target=\"_blank\" title='Gimp' href='http:\/\/gimp.org' rel=\"noopener\">Gimp<\/a>.<\/p>\n<p>To research this we came upon <a target=\"_blank\" title='Excellent link' href='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913' rel=\"noopener\">this excellent &#8220;Add a Watermark in Inkscape&#8221; link<\/a>, thanks.  It got us using Inkscape&#8217;s &#8230;<\/p>\n<ul>\n<li>Layer -&gt; AddLayer&#8230;<\/li>\n<li>Object -&gt; Fill and Stroke&#8230;<\/li>\n<\/ul>\n<p> &#8230; as we present ideas helped by <a target=\"_blank\" title='Excellent link' href='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913' rel=\"noopener\">&#8220;Add a Watermark in Inkscape&#8221;<\/a> to help with this creation of &#8230;<\/p>\n<table>\n<tr>\n<th>(Export to) PNG result (two layers get exported to one)<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/www.rjmprogramming.com.au\/Mac\/bannerwatermark.png\"><\/img><\/td>\n<tr>\n<tr>\n<th>(Export to) SVG result (retains the two layers)<\/th>\n<\/tr>\n<tr>\n<td><img decoding=\"async\" src=\"https:\/\/www.rjmprogramming.com.au\/Mac\/bannerwatermark.svg\"><\/img><\/td>\n<tr>\n<\/table>\n<ol>\n<li>Be in Inkscape (via XQuartz)<\/li>\n<li>File -&gt; Import (the Banner PNG)<\/li>\n<li>\n<blockquote cite='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913'><p>\nSelect Layer &gt; Add Layer. Placing the watermark on a separate layer makes it easier for you to move or alter later.\n<\/p><\/blockquote>\n<\/li>\n<li>\n<blockquote cite='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913'><p>\nSelect Add to create the new layer.\n<\/p><\/blockquote>\n<\/li>\n<li>Add some text that you have prepared ahead of time (that being website, email, phone number etcetera) via Text -&gt; Text and Font&#8230; window for Font Family and 8px size<\/li>\n<li>Select that text<\/li>\n<li>\n<blockquote cite='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913'><p>\nGo to Object &gt; Fill and Stroke.\n<\/p><\/blockquote>\n<\/li>\n<li>\n<blockquote cite='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913'><p>\nSelect the Fill tab (if it isn&#8217;t already selected), then drag the Opacity slider to the left to make the text semi-transparent.\n<\/p><\/blockquote>\n<\/li>\n<li>\n<blockquote cite='https:\/\/www.lifewire.com\/add-a-watermark-in-inkscape-1701913'><p>\nOnce satisfied, you can save the file and export the image in various formats including PNG.\n<\/p><\/blockquote>\n<p> &#8230; and we would add, to retain layers save as &#8220;Inkscape SVG&#8221;<\/li>\n<\/ol>\n<hr>\n<p id='ivielt'>Previous relevant <a target=\"_blank\" title='Inkscape Vector Image Editor Logo Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-vector-image-editor-logo-tutorial\/' rel=\"noopener\">Inkscape Vector Image Editor Logo Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/www.rjmprogramming.com.au\/Mac\/logo_inkscape.jpg\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Inkscape Vector Image Editor Logo Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/logo_inkscape.jpg\" title=\"Inkscape Vector Image Editor Logo Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Inkscape Vector Image Editor Logo Tutorial<\/p><\/div>\n<p>A lot of users like <i>consistency<\/i> with business related matters, such as your company&#8217;s banner, letterhead, email signature and today&#8217;s logo ideas we&#8217;re adding onto the recent <a title='Inkscape Vector Image Editor Business Card Tutorial' href='#iviebct'>Inkscape Vector Image Editor Business Card Tutorial<\/a>.<\/p>\n<p>The sad bit of the logo changeover from old &#8230;<\/p>\n<table>\n<tr>\n<th>Old<\/th>\n<th>New<\/th>\n<\/tr>\n<tr>\n<td><img alt='Old logo' title='Old logo' src='https:\/\/www.rjmprogramming.com.au\/MyBusinessUnidad\/Welcome_files\/logo_old_spider.jpg'><\/img><\/td>\n<td><img alt='Old logo' title='Old logo' src='https:\/\/www.rjmprogramming.com.au\/MyBusinessUnidad\/Welcome_files\/logo.jpg?c=r'><\/img><\/td>\n<\/tr>\n<tr>\n<td><img alt='Old logo' title='Old logo' src='https:\/\/www.rjmprogramming.com.au\/MyBusinessUnidad\/Welcome_files\/rjmhomewhite_was_okay.png'><\/img><\/td>\n<td><img alt='Old logo' title='Old logo' src='https:\/\/www.rjmprogramming.com.au\/MyBusinessUnidad\/Welcome_files\/rjmhomewhite.png?c=e'><\/img><\/td>\n<\/tr>\n<\/table>\n<p> &#8230; to new is to lose the &#8220;quirky&#8221; aspects to the &#8220;spider&#8221; and &#8220;web&#8221; connection, but a relief that now we have a much more easily recreateable logo based on shapes and linework and calligraphy that the <a target=\"_blank\" title='Inkscape' href='https:\/\/inkscape.org' rel=\"noopener\">Inkscape<\/a> desktop application is so good at.<\/p>\n<p>Again, to aid with <i>consistency<\/i>, we base the logo on the previously created &#8220;banner&#8221;, <a title='Inkscape Vector Image Editor Business Card Tutorial' href='#iviebct'>much like we worked it<\/a> with the &#8220;business card&#8221;, as per &#8230;<\/p>\n<ol>\n<li>Be in Inkscape (via XQuartz)<\/li>\n<li>File -&gt; New from Template&#8230;<br \/>\n     <strike>Business Card A8 (74mm x 52mm)<\/strike> Generic canvas&#8230; set Custom Width: 102px, Custom Height: 77px &#8230; click &#8220;Create from Template&#8221; button<\/li>\n<li>File -&gt; Import (the Banner PNG)<\/li>\n<li>Fit into a <strike>Business Card<\/strike> Canvas size<\/li>\n<li>Add some <strike>text that you have<br \/>\n     prepared ahead of time (as above) &#8230;<br \/>\n     and we hope to get result<br \/>\n     like or better than at left<\/strike> &#8220;Draw Bezier curves and straight lines&#8221; work being the four black lines of an &#8220;m&#8221; that breaks the yellow ribbon calligraphy into (an imagined) &#8220;r&#8221; and &#8220;j&#8221; for the letters RJM within the company name &#8220;RJM Programming&#8221;, and use the &#8220;Rectangle&#8221; functionality to overlay a white rectangle on top of the text (we had for the &#8220;Banner&#8221;)<\/li>\n<li><b>Save As&#8230; PNG to MAMP document root<\/b><\/li>\n<li>Show Safari web browser sanity<br \/>\n     check<\/li>\n<li>Back at Inkscape (via XQuartz)<br \/>\n     use File -&gt; Print to<br \/>\n     additionally sanity check<\/li>\n<\/ol>\n<p> &#8230; and in turn, that created logo can &#8220;fit into&#8221; that second row logo, with the white background, above, in a similar fashion.<\/p>\n<p>Along the way, implementing this to the domain landing pages and blog, we noted, again, as we did at the recent <a target=\"_blank\" title='Wikipedia Flipcard Quiz Emoji Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/wikipedia-flipcard-quiz-emoji-tutorial\/' rel=\"noopener\">Wikipedia Flipcard Quiz Emoji Tutorial<\/a> &#8230;<\/p>\n<ul>\n<li>Sometimes when you involve HTML iframe elements and you have an issue with scroll bars that you do not want the CSS styling (with the iframe HTML) of &#8230;<br \/>\n<code><br \/>\n&lt;style&gt;<br \/>\n * { overflow: hidden !important; }<br \/>\n&lt;\/style&gt;<br \/>\n<\/code><br \/>\n &#8230; can resolve issues &#8230; and &#8230;\n<\/li>\n<li>\n<p><b><i>Did you know?<\/i><\/b><\/p>\n<p>When implementing many HTML img element change type of modifications, you make a change and nothing appears to happen, you (barring idiocy) may have run into an issue where the web browser you are on prefers to keep showing that image (img element) from the cache.  So might other users (who have visited your website in the past) out there.  But to force the cache to rethink itself both the &#8230;<\/p>\n<ol>\n<li>HTML iframe src= URL &#8230; and &#8230;<\/li>\n<li>HTML img src= (image) URL within that iframe&#8217;s HTML<\/li>\n<\/ol>\n<p> &#8230; could benefit, and most likely not be in any way adversely affected, by modifying the ? and\/or &amp; arguments of the URL (yes, even for image URLs)<\/p>\n<\/li>\n<\/ul>\n<p> &#8230; as we show you with today&#8217;s <a target=\"_blank\" href=\"https:\/\/www.rjmprogramming.com.au\/Mac\/logo_inkscape.jpg\" title=\"Click picture\" rel=\"noopener\">tutorial picture<\/a>.<\/p>\n<hr>\n<p id='iviebct'>Previous relevant <a target=\"_blank\" title='Inkscape Vector Image Editor Business Card Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-vector-image-editor-business-card-tutorial\/' rel=\"noopener\">Inkscape Vector Image Editor Business Card Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/www.youtube.com\/watch?v=rq58C6peG_M\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Inkscape Vector Image Editor Business Card Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/Inkscape_Business_Card.jpg\" title=\"Inkscape Vector Image Editor Business Card Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Inkscape Vector Image Editor Business Card Tutorial<\/p><\/div>\n<p>Yesterday&#8217;s <a title='Inkscape Vector Image Editor Banner Tutorial' href='#iviebt'>Inkscape Vector Image Editor Banner Tutorial<\/a> set us to thinking that we&#8217;d like to base an A8 business card &#8230; spoiler alert &#8230;<\/p>\n<table style=\"width:100%;\">\n<tr>\n<td style='vertical-align:top;'><img decoding=\"async\" title=\"Inkscape Vector Image Editor Business Card Tutorial\" alt=\"Inkscape Vector Image Editor Business Card Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/business_card.png\"><\/img><br \/>&#8230; on the vector graphics and even that text of the banner &#8230;<\/td>\n<td style='vertical-align:top;'><img decoding=\"async\" title=\"Inkscape Vector Image Editor Banner Tutorial\" alt=\"Inkscape Vector Image Editor Banner Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/drawing.png\"><\/img><\/td>\n<\/tr>\n<\/table>\n<p> &#8230; created via the steps shown in the <a target=\"_blank\" title='YouTube' href='https:\/\/youtube.com' rel=\"noopener\">YouTube<\/a> video below &#8230;<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/rq58C6peG_M\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>And below is that YouTube video&#8217;s transcript (<b>plus the Save As<\/b> (step) we forgot (on the actual video&#8217;s transcript)) &#8230;<\/p>\n<blockquote><p>\nWebsite: https:\/\/www.rjmprogramming.com.au<br \/>\nEmail: rmetcalfe@rjmprogramming.com.au<br \/>\nTelephone: 61 2 95163479<br \/>\nABN: 83 204 975 606<br \/>\n<br \/>\nDear Viewer,<br \/>\n<br \/>\nWelcome to macOS Inkscape (via XQuartz)<br \/>\nBusiness Card (via Banner 300x350px)<br \/>\ncreation tutorial.  We will:<br \/>\n<\/p>\n<ol>\n<li>Be in Inkscape (via XQuartz)<\/li>\n<li>File -&gt; New from Template&#8230;<br \/>\n     Business Card A8 (74mm x 52mm)<\/li>\n<li>File -&gt; Import (the Banner PNG)<\/li>\n<li>Fit into a Business Card size<\/li>\n<li>Add some text that you have<br \/>\n     prepared ahead of time (as above) &#8230;<br \/>\n     and we hope to get result<br \/>\n     like or better than at left<\/li>\n<li><b>Save As&#8230; PNG to MAMP document root<\/b><\/li>\n<li>Show Safari web browser sanity<br \/>\n     check<\/li>\n<li>Back at Inkscape (via XQuartz)<br \/>\n     use File -&gt; Print to<br \/>\n     additionally sanity check<\/li>\n<\/ol>\n<p> <br \/>\nThanks for watching.<br \/>\n<br \/>\nRJM Programming\n<\/p><\/blockquote>\n<hr>\n<p id='iviebt'>Previous relevant <a target=\"_blank\" title='Inkscape Vector Image Editor Banner Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-vector-image-editor-banner-tutorial\/' rel=\"noopener\">Inkscape Vector Image Editor Banner Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/banner_inkscape.gif\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Inkscape Vector Image Editor Banner Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/banner_inkscape.jpg\" title=\"Inkscape Vector Image Editor Banner Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Inkscape Vector Image Editor Banner Tutorial<\/p><\/div>\n<p>We got a job recently to create a banner for RJM Programming.  No worries, for our MacBook Pro runnning macOS Mojave 10.14.5.  Think <a target=\"_blank\" title='Apple Pages app' href='https:\/\/www.apple.com\/au\/pages\/' rel=\"noopener\">Pages<\/a> or <a target=\"_blank\" title='Gimp' href='http:\/\/gimp.org' rel=\"noopener\">Gimp<\/a> just for starters (or read <a target=\"_blank\" title='Useful link' href='https:\/\/www.vyond.com\/resources\/6-best-free-banner-maker-tools\/' rel=\"noopener\">this useful link<\/a>).   But our specification involved a requirement for 300&#215;350 pixels, which is not a popular banner size.  Of course, you can &#8220;work&#8221; desktop graphical editors to output data in a variety of formats and sizes, but we think it might be best to decide on a method that comes from a <a target=\"_blank\" title=\"300x350 banner Google search, thanks\" href='https:\/\/www.google.com\/search?rlz=1C5CHFA_enAU832AU832&#038;biw=886&#038;bih=755&#038;ei=JMRbXb_pJenYz7sPuLOumAI&#038;q=300x350+banner&#038;oq=300x350+banner&#038;gs_l=psy-ab.3...25462.28317..29103...0.2..0.155.295.0j2......0....1..gws-wiz.......0i71j35i304i39.08By4JXpn_s&#038;ved=0ahUKEwi_i5_tl5HkAhVp7HMBHbiZCyMQ4dUDCAo&#038;uact=5' rel=\"noopener\">&#8220;300&#215;350 banner&#8221;<\/a> online search.  And examining the resultant links got us to revisit the &#8220;vector graphics champion&#8221; freeware (and open source) <a target=\"_blank\" title='Inkscape' href='https:\/\/inkscape.org' rel=\"noopener\">Inkscape<\/a> desktop application (added to our <a target=\"_blank\" title='The Best Things In Life Are Free ...' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/the-best-things-in-life-are-free' rel=\"noopener\">The Best Things In Life Are Free &#8230;<\/a> list) we last talked about at <a title='Inkscape Vector Image Editor Primer Tutorial' href='#iviept'>Inkscape Vector Image Editor Primer Tutorial<\/a>.<\/p>\n<p>And so, with the great Inkscape, how did we create our 300&#215;350 pixel banner below?<\/p>\n<p><img style='width:300px;height:350px;' src='http:\/\/www.rjmprogramming.com.au\/Mac\/drawing.png' title='RJM Programming Banner 300x350 pixels via Inkscape'><\/img><\/p>\n<p>In broad brush terms &#8230;<\/p>\n<ol>\n<li>Click the Inkscape icon (which, after install, we arranged to reside in the Dock down the bottom of the screen)<\/li>\n<li>File -&gt; New &#8230; for blank vector graphics document &#8230; but we direct your attention to the &#8220;New from Template&#8230;&#8221; which could be really useful for you to avoid having to do the step below &#8230;<\/li>\n<li>File -&gt; Document Properties &#8230; Custom Size: Units &#8211; pixels, Width &#8211; 300, Height &#8211; 350 &#8230; Viewbox: Width &#8211; 300, Height &#8211; 350 &#8230; Close the Document Properties window via red close icon at top left<\/li>\n<li>Did the vector graphics artwork, involving, for us, Create 3d boxes,  Create and edit text objects, Draw calligraphic or brush strokes<\/li>\n<li>File -&gt; Save As&#8230; this is where we learn that Inkscape may be a vector graphics editor, but that doesn&#8217;t mean you can&#8217;t Save As another image type, and so with the Type dropdown, we choose Cairo PNG (*.png) <font size=1>(from the default Inkscape SVG (*.svg) format)<\/font> and after arranging a good path to save to, we entered Name: drawing.png &#8230; and clicked Save button<\/li>\n<li>Separately, to check the 300&#215;350 pixel requirement, we open our <a target=\"_blank\" title='MAMP for Apache\/PHP\/MySql on Mac OS X local web server' href='http:\/\/www.mamp.info' rel=\"noopener\">MAMP<\/a> directory \/Applications\/MAMP\/htdocs\/drawing.png as http:\/\/localhost:8888\/drawing.png (in a Safari web browser window), open Develop -&gt; Show Web Inspector and click the Inspect button to highlight our Inkscape created PNG image to confirm its size as 300&#215;350 pixels<\/li>\n<\/ol>\n<p> &#8230; and rest assured it is possible via Inkscape&#8217;s File -&gt; Open&#8230; to open this (non-vector) PNG image that gets Imported back into the vector graphics that is Inkscape&#8217;s <strike>thang<\/strike>thing.<\/p>\n<p><img style='width:100%;' src='http:\/\/www.rjmprogramming.com.au\/Mac\/banner_inkscape.gif' title='RJM Programming Banner (300x350 pixels) creation steps via Inkscape'><\/img><\/p>\n<p><b><i>Did you know?<\/i><\/b><\/p>\n<p>We&#8217;re runnning macOS Mojave 10.14.5 here on this MacBook Pro in August, 2019.  Inkscape needs an <a target=\"_blank\" title='X112.7.5 \u2013 XQuartz' href='http:\/\/xquartz.macosforge.org\/trac\/wiki\/X112.7.5' rel=\"noopener\">X11<\/a> terminal application to interface to, that being (called) XQuartz in this day and age.  But installing the 2.7.11 most recent XQuartz version, at the time of writing, caused issues with the <a target=\"_blank\" title='Inkscape' href='https:\/\/inkscape.org' rel=\"noopener\">Inkscape<\/a> 0.92.2 installation.  You&#8217;d click the Inkscape icon and in the dock it would jump up and down then effectively die.  Even in Finder, Ctrl clicking to reveal Package Contents and get to the Unix executable in the Contents and then macOS folders, to click, same problem.  But, thanks to the advice at <a target=\"_blank\" title='Great link' href='http:\/\/www.inkscapeforum.com\/viewtopic.php?t=19119' rel=\"noopener\">this great link<\/a>, we found that going back through the <a target=\"_blank\" title='XQuartz version releases' href='https:\/\/www.xquartz.org\/releases\/index.html' rel=\"noopener\">XQuartz version releases<\/a> to its <a target=\"_blank\" title='X11 XQuartz version 2.7.9 version' href='https:\/\/www.xquartz.org\/releases\/XQuartz-2.7.9.html' rel=\"noopener\">2.7.9<\/a> version cleared up all these issues.<\/p>\n<hr>\n<p id='iviept'>Previous relevant <a target=\"_blank\" title='Inkscape Vector Image Editor Primer Tutorial' href='\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-vector-image-editor-primer-tutorial\/' rel=\"noopener\">Inkscape Vector Image Editor Primer Tutorial<\/a> is shown below.<\/p>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/Mac\/inkscape.pdf\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Inkscape Vector Image Editor Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Mac\/inkscape-15of.jpg\" title=\"Inkscape Vector Image Editor Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">Inkscape Vector Image Editor Primer Tutorial<\/p><\/div>\n<p>As far as image editing goes at RJM Programming, we turn to &#8230;<\/p>\n<ul>\n<li><a target=\"_blank\" title='Paintbrush for Mac' href='http:\/\/paintbrush.sourceforge.net\/' rel=\"noopener\">PaintBrush<\/a> (the Mac OS X one) for more than 90% of the simpler work &#8230; and then use &#8230;<\/li>\n<li><a target=\"_blank\" title='PreView (on a Mac) information from Apple' href='https:\/\/support.apple.com\/en-us\/HT201740' rel=\"noopener\">Preview<\/a> (Mac OS X) occasionally to do with resizing tasks &#8230; but, more often, for the rest of the work we use &#8230;<\/li>\n<li><a target=\"_blank\" href='http:\/\/www.gimp.org' title='Gimp, or GIMP' rel=\"noopener\">Gimp<\/a> (Mac OS X desk application as XQuartz or X11) for jobs requiring special effects or filters or opacity or colourization or hue control<\/li>\n<\/ul>\n<p>But what if you want to &#8220;Export As&#8230;&#8221; <a target=\"_blank\" title='HTML svg information from w3schools' href='https:\/\/www.w3schools.com\/html\/html5_svg.asp' rel=\"noopener\">SVG<\/a>?  None of the applications above, &#8220;out of the box&#8221; &#8220;Export As&#8230;&#8221; SVG.  First off, let&#8217;s get a reason for this from <a target=\"_blank\" title='Useful link, thanks' href='https:\/\/askubuntu.com\/questions\/301540\/export-image-as-svg-in-gimp' rel=\"noopener\">this very useful link<\/a>, thanks &#8230;<\/p>\n<blockquote cite='https:\/\/askubuntu.com\/questions\/301540\/export-image-as-svg-in-gimp'><p>\nGIMP is a raster graphics editor application. SVG is a form of vector graphics. If you want to edit SVG files, you should install the inkscape package and use Inkscape instead.\n<\/p><\/blockquote>\n<p>Yes, the SVG image format is a vector graphics image format, and that is the difference.  So we went along with the advice and used, for our Mac OS X system the DMG method of (free, open source) install at the <a target=\"_blank\" title='Inkscape' href='https:\/\/inkscape.org' rel=\"noopener\">Inkscape<\/a> website to get things rolling along.<\/p>\n<p>Today&#8217;s PDF slideshow takes it up from that point, showing us Creating a 3D Box and dragging our way to creating a 3D Box shape that we &#8220;Save As&#8230;&#8221; (because now we are well and truly in the &#8220;vector&#8221; woooorrrrrrlllllld) \/Applications\/MAMP\/htdocs\/drawing.svg &#8230; why?  Well, it&#8217;s our way to remind you, as we so often do, that the <a target=\"_blank\" title='MAMP local Apache\/PHP\/MySql web server' href='http:\/\/mamp.info' rel=\"noopener\">MAMP<\/a> local Apache\/PHP\/MySql web server document root, by default, points at \/Applications\/MAMP\/htdocs\/ and in a web browser, with MAMP activated, points at (the URL prefix) HTTP:\/\/localhost:8888\/ and so us lobbing onto &#8230;<\/p>\n<p><code><br \/>\nHTTP:\/\/localhost:8888\/<a target=\"_blank\" title='drawing.svg' href='http:\/\/www.rjmprogramming.com.au\/Mac\/drawing.svg' rel=\"noopener\">drawing.svg<\/a><br \/>\n<\/code> <\/p>\n<p> &#8230; has you seeing what we saw on MAMP (and then we uploaded this to the RJM Programming website place you are accessing with the link above).  What you need to do this is a (s)ftp desktop application like <a target=\"_blank\" title='FileZilla landing page from SourceForge ... thanks' href='https:\/\/filezilla-project.org\/' rel=\"noopener\">FileZilla<\/a>.  Web server maintenance 101.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d36946' onclick='var dv=document.getElementById(\"d36946\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/image\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d36946' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d46106' onclick='var dv=document.getElementById(\"d46106\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/banner\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d46106' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d46132' onclick='var dv=document.getElementById(\"d46132\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/business-card\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d46132' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d46148' onclick='var dv=document.getElementById(\"d46148\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/logo\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d46148' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d46204' onclick='var dv=document.getElementById(\"d46204\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/watermark\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d46204' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n<hr>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d66680' onclick='var dv=document.getElementById(\"d66680\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/svg\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d66680' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SVG is all about vector image data. Inkscape is a great Open Source vector image editor (as you might surmise from Inkscape Vector Image Editor Watermark Tutorial), and distinct from a pixel (or raster) image based image editor like Gimp, &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/inkscape-almalinux-command-line-pdf-to-svg-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,19,29],"tags":[4855,233,234,263,549,590,2686,611,613,707,5084,3069,2181,913,1226,1319,1366],"class_list":["post-66680","post","type-post","status-publish","format-standard","hentry","category-elearning","category-installers","category-operating-system","tag-almalinux","tag-command","tag-command-line","tag-conversion","tag-gui","tag-image","tag-inkscape","tag-install","tag-installer","tag-linux","tag-operating-stsren","tag-package","tag-package-manager","tag-pdf","tag-svg","tag-tutorial","tag-vector"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/66680"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=66680"}],"version-history":[{"count":9,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/66680\/revisions"}],"predecessor-version":[{"id":66691,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/66680\/revisions\/66691"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=66680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=66680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=66680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}