The USPTO Registered Logo Badge of the Medical Marijuana Initiative of North America - International Limited, an Arizona Benefit Corporation to the left of Mt Hood sunlit from the northwest in June followed by the proprietary MMINAIL octocopter delivery bot.

Convert Photos-To-SVG


Welcome! This is the Convert Photos-To-SVG page of the Carbon Free Footprint project.


How To Convert an Adobe (.psd) To a Scalable Vector Graphic (.svg) file via Adobe Illustrator (AI)


Adobe Illustrator CS6 has a "save as" feature whereby a fully loaded (.psd) can be translated directly into a compressed (.svgz) file.

However, I prefer to first load the (.xcf) or other loss-less ( or, lossy ) photo into GIMP and then change the size of the image to suit a desktop screen rendering.

Next, I export the file from GIMP as as an Adobe Photoshop (.psd) file.

From there, I can now open the (.psd) in Adobe Illustrator (AI) by flattening the layers ( rather than converting to objects ) ... And, then invoking the Adobe Illustrator CS6 'View-Show' Transparency grid to ensure no background noise has been rendered during the import.

Once I am happy with the appearace and cleanliness of the pre-export (.psd) ... I then click 'File Info' to add a littel bit of Meta-data to the file in order to appease the search-bots.

Simply ensure the tag 'XMP' is invoked prior to exporting the file as an (.svg) and fill in the first page of the 'XMP' screen.

Finally, after selecting "save as" (.svg), a browser-viewable image-text-xml file renders with an (.svg) suffix that I can now point to regular way whenever a standard image is called for that requires a responsive rendering.

For example, the following result is a rendition of the Medical Marijuana Initiative of North America - International Limited USPTO Registered Logo Badge tested for responsiveness on a virtual Galaxy S5 smartphone emulator via Google's Chrome Developer Tools.


The Rendering


Medical Marijuana Initiative of North America - International Limited USPTO Registered Logo Badge

The code to render the above drawn subtitle and SVG image is, as follows:

Establishing the canvas ...
<canvas id="CanvasMminail" class="canvas-text"
	width="320" height="50"></canvas>
Creating the css for the canvas ...
.canvas-text {
    position: relative;
    /* font-size: x-large; */
    /* color: darkblue; */
    /* text-align: center; */
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    border: 5px red groove;
}
Creating the css for a standard image ...
img {
    border: 1px solid red;
    max-width: 100%;
    height: auto;
}
Creating the css for a responsive image ...
.img-responsive {
    width: calc(100% - 20px);
    max-width: 210px;
}
Creating the css for a circle image ( from Bootstrap ) ...
.img-circle {
  border-radius: 50%;
}
Drawing on the fly w Javascript ...
<script>
(function() {
var canvas = document.getElementById('CanvasMminail');
if (canvas.getContext){
var ctx = canvas.getContext('2d');
ctx.font ="16px Eurostyle";
ctx.fillStyle ="darkblue";
ctx.fillText("Medical Marijuana Initiative of North America",5,15);
ctx.fillText("- International Limited",5,30);
ctx.fillText("- USPTO Registered Logo Badge",5,45);
}
})();
</script>
Calling the SVG image ...
<picture>
<img class="img-responsive img-circle"
src="../assets/img/svg/MMINAIL-Logo-Badge-Original-Registered-Transparent-320-x-320.svg"
alt="Medical Marijuana Initiative of North America
- International Limited USPTO Registered Logo Badge" />
</picture>
Adding an Embedded Hyperlink ...
<picture>
	<a href='https://mminail.github.io' title='Click To Review the Home page of the Medical Marijuana Initiative of North America - International Limited' target='_blank'>
	<img class="img-responsive img-circle" src="../assets/img/svg/MMINAIL-Logo-Badge-Original-Registered-Transparent-320-x-320.svg" alt="Medical Marijuana Initiative of North America - International Limited USPTO Registered Logo Badge" /></a>
</picture>
Finito! ... 

Rendering the Result


To render the above program, download Bootstrap Studio and paste the new css code blocks into your main (.css) file.

Next, add the canvas html and drawing script to a standard (.htm) file and open up a browser window.

The browser will automatically engage the Javascript code and render the subtitle within the parameters of the canvas.

For the image, alternatively, you may simply copy and paste the URL for the SVG image into your browser window to display the image, as follows: SVG Image.


Source #1: Adobe Illustrator. See: CS6


Source #2: Jumpstart Html 5.
See: eBook by Tiffany B. Brown, Kerry Butters, and Sandeep Panda.


.

Supporting Content


Welcome! This is the Supporting Content section for the MMINAIL Central Live Repository.


E Books


With today's explosion of modern devices, some consumers like to read their articles on their Kindles or iPads.

Therefore, a method to convert any page of this website into an 'eBook' is auto-built into the top of the navigation stack as well as in the footer of every page.

Simply click the small dot epub button eBook icon to render the current page as an Overdrive (.epub) or a Kindle (.mobi) for external reading.

Note. The Apple iBooks platform also reads and displays the (.epub) format.


The A's Have It!


In today's complicated world of coding, even the use of the standard hyperlink has come into question.

Therefore, to make it easy for the end-user, this User Interface, or UI will show safe internal links in the bootstrap default color of light dodger blue.

On the other hand, external links, when designated https secure ... Will be shown in the color of forest green.

All other external links designated with standard http will be shown in the color of indian red.


Acronyms


For an acronym to be visually effective when reading a line of text, the acronym must first be declared.

In addition, the acronym must stand out from the body of information.

To accomplish both of these objectives, the authors have selected Ashley Gold, a primary color within the registered logo badge of the Benefit corporation for which to highlight acronyms.

Whenever the end user spies a designated acronym of Ashley Gold color, simply hover over the acronym to reveal the underlying meaning of the acronym letters.


Screen Responsiveness


This page has been tested for mobile responsiveness on a virtual Galaxy S5 smartphone emulator.

The authors have determined the accuracies of the page renderings at both a portrait width of 360px and a landscape width of 640px.

In addition, pages are also tested against an Amazon Kindle Fire HDX 7, 3rd Generation tablet.

On the Kindle tablet, both portrait and landscape renderings appear accurate, as well.

And, on the Amazon Fire phone, using automatic screen rotation, both portrait and landscape renderings appear accurate.


How To Navigate This Website


  • The Navigation to your right is set up to return to this Home page by clicking on the Home icon   south of the divider.

  • To select any of the other topics or subtopics, simply click on the corresponding glyphicon to open up the referenced file.

  • If you get stuck, simply click on the Home icon   below the divider to be hyperlinked back to this Home page.

Got An Idea?


If you have an idea that will spruce this site up even better than it already is, then you know the drill.

Simply go ahead and fork this repo, make your changes, and send me a pull request.


Site Monitoring


Note. The Http Headers of this repo are being monitored by Internet Supervision dot com


25 Mile Rule


The MMINAIL is dedicated to the preservation of the hard-earned rights of Medical patients to grow up to (12) state-legal Medicinal plants.

In a connective cartography of ideas and hyperlinks spanning the entire connectome of the modern Medical Marijuana Initiative ...

The open source authors of this project hope to enlighten the world to the plight of the common medical patient.

Due to a labyrinth of government regulations and costs, today's common medical patient is virtually devoid of healing phyto-cannabinoids and other beneficial terpenes globally for no other reason than his or her current residential address.


Unconstitutional


"When residing 25 miles extant of a state legalized dispensary"

Doesn't that sound a bit strange to you?

Restricting access to medicine ...

Almost Un-constitutional, isn't it?

And, with patients in Arizona paying anywhere from $75 to $90 USD for a (1/8) ounce of medicine ...

Don't you think it is time that we allow ALL patients the right to grow, stash, and cure their own medicines?


Make Contact


We do at the MMINAIL.

If you agree, why don't you donate a little spare cash?

Or, a little of your coding time?

Or, simply contact your favorite Arizona State Senators and Congressional Representatives today!


No Warranty


Disclaimer. The author of this website has made every effort to ensure the accuracy of the information herein.

However, the information contained in this website, and in its pages, is offered to the public without any warranty expressed or implied.

Therefore, the author of this website, and by extension its pages and content cannot be held liable for any damages that may be caused indirectly or directly by the software instructions or tutorials contained in the pages of this website.

For further review, please see the License page of this website and/or the Privacy Policy page of this website to clarify.


Reproduction In Part


Most authors will allow the reproduction of their works in part when the case of brief quotations embodied in critical articles or reviews is addressed.

Therefore, please remember to provide a Link-back to the original author, or to the publisher of the original publication when citing.

Thank you for your consideration.


Fork It


If you are an expert in your field of specialty, then I suggest you fork the working repo of this Website and create a Sub-menu topic of your choosing that may be beneficial to our readers.


Send us a Pull Request.


Our team of coders will review your contribution and get back to you with a "thumbs up" ( or, "thumbs down" ).


Can You Contribute?


As we can now decipher the time spent by our functions at the code block level ...

How much of your coding time are you willing to invest in this project?

As we rely heavily upon contributions from the coding community, your contribution of either cash or code will be greatly appreciated.


Thank you for your contribution.


The Management

The USPTO Registered Logo Badge of the Medical Marijuana Initiative of North America - International Limited, an Arizona Benefit Corporation

Copyright © 2000 - 2017

The Medical Marijuana Initiative of North America Small Registered MMINAIL™ Logo Badge Small Registered MMINAIL™ Logo Badge
- International Limited Small R-Reggae™ Trademark Symbol Logo Badge Small R-Reggae™ Trademark Symbol Logo Badge


To create an iBook/Overdrive (.epub)

or

a Kindle (.mobi) of this page ...

Click the small dot epub button button


This Open Source project is being hosted with Jekyll via GitHub Pages.

All rights reserved. Except where explicity granted.